91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做CSCI3280、Python設計編程代寫

時間:2024-02-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CSCI**80 – Introduction to Multimedia Systems, Spring 2024
Assignment 1 – Photomosaic
Deadline: Feb. 15th 23:59, submission via Blackboard
Late submission penalty: 10% point deduction per day (maximum 30%)
Plagiarism penalty: course grade F
Introduction
Photomosaic is a form of digital art in which a picture is divided into a grid of equal-sized cells,
with each cell substituted by a photo of similar colors (similar gray tones in this assignment).
It is a popular way of presenting a large number of photos on posters or videos, so that it can
tell viewers the overall theme when looked far away, and reveal the content of each single
photo in the album when examined closely. In this assignment, you are required to build a
photomosaic generator, which creates a grayscale photomosaic of an image with a given set
of small images.
General Requirements
- The program should be written in Python3 syntax.
- You are not allowed to use third-party libraries (e.g., OpenCV, NumPy) in the final
version of your photomosaic.py and enhancements.py, except for math library for
basic math operations. (The pre-included libraries in main.py do not subject to this
restriction when they are used for image loading and saving operations). Nevertheless,
you are encouraged to use any library to test your program.
- You are required to make sure that the final version of your program is fully
operational, especially after you removed extra libraries and commented lines before
submission. Each execution failure results in a 10-point deduction.
Basics – Grayscale Photomosaic (80 points)
Your program should be able to process the RGB image into a grayscale photomosaic in a way
similar to the following steps:
1. Read the source image and the photo tiles.
2. Use bilinear interpolation to resample the input image to the desired output size and
resample the photo tiles to the given cell size.
3. Query for photo tiles with the nearest brightness values.
4. Compose the output image with photo tiles.
5. Save the grayscale output image.
Enhancements (20 points)
You are encouraged to implement some of the following enhancements or otherfeatures that
you find interesting on top of the standard requirements. Please put your implementations
of the enhanced features in a separate standalone source file and name it enhancements.py.
Some suggested features:
- Other interpolation methods (e.g., bicubic interpolation) or extrapolation on the
borders.
- Other metrics for measuring distances between source image regions and photo tiles,
which are perceptually more logical and accurate than mean brightness (e.g.,
structural similarity). We will accept your method as long as it is correctly
implemented and well explained in your report, no matter how its test-time
performance is.
- Dithering methods for approximating an image with large number of colors using a
small palette.
Program Structure
Contents in the pack:
- main.py: the main script for photomosaic generation.
- photomosaic.py: the skeleton script in which you are required to implement the core
photomosaic functions.
- images/: the folder containing the pictures to be photomosaic-ed.
- tiles/ & tiles_extended/: the folder containing the photo tile files.
Report
You are required to write a report containing the following items:
- Details of each feature.
- Necessary code explanations related to each feature.
- Test-time results.
- Techniques used (if applicable).
- References (if applicable).
Your report is important for our identification and understanding of your implemented
features during the grading.
Submission
Deadline: Feb. 15th 23:59.
Format: a .zip file named by your student ID containing:
- report.pdf with everything worth attention, especially about the enhancement part.
- photomosaic.py & main.py & (if applicable) enhancements.py.

如有需要,請加QQ:99515681 或WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫Business Case / Charter Development
  • 下一篇:代寫EMS5730、代做Python設計程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 幣安下載 AI生圖

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045