您的位置: 首页 > 资讯

代做CSCI3280、Python设计编程代写

2024-02-15 来源:互联网


CSCI3280 – 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

01-22 强手如林,世界冠军加盟!X GAMES CHINA 2023-2024滑雪巡回赛次站北大湖站圆满结束
强手如林,世界冠军加盟!X GAMES CHINA 2023-2024滑雪巡回赛次站北大湖站圆满结束
本次比赛是顶尖极限运动赛事IP“X GAMES世界极限运动会&r [详细]
10-09 Curia 在米兰的 CPHI WW 展会上推出其重塑品牌
Curia 在米兰的 CPHI WW 展会上推出其重塑品牌
精致的品牌形象彰显了 Curia 在小分子、仿制药活性药物成分和生 [详细]
10-15 WS创意点燃未来,业务不可限量:WhatsApp工具引领您进入营销的新纪元
WS创意点燃未来,业务不可限量:WhatsApp工具引领您进入营销的新纪元
WS在这个日新月异的时代,创意是推动业务发展的不竭动力。而如何将 [详细]
07-23 科赴中国携手各方提升全民健康素养,支持健康中国建设
科赴中国携手各方提升全民健康素养,支持健康中国建设
  2024年7月23日 – 在国际自我保健日前夕,由中国健康促进基金 [详细]