Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Assignment - 0 • Image Manipulation Merging Scaling Intensity Centralization Merging Merge two images horizontally to create a new image

Computer Science Apr 01, 2022

Assignment - 0

Image Manipulation

  1. Merging
  2. Scaling
  3. Intensity Centralization

Merging

  • Merge two images horizontally to create a new image.
  • Input:
  • Image left
  • Image right
  • Column at which to merge the images

Column =  155

 

 

 

Intensity Scaling

  • Scaling: multiply each pixel in the image using a constant value called as scaling factor. Scaling factor is a value between 0 and 1.
  • Input:
  • Image
  • Column at which left section ends and right section begins
  • Scaling factor for left section (alpha)
  • Scaling factor for right section (beta)

Intensity Centralization

  • The two images can have very different overall brightness values.
  • The goal is to make sure that the average intensities of the left section and the right section are equal and centralized (= ~128).
  • After centralizing pixels, the average of all the pixels in the left section and right section will be ~128
  • Input:
  • Image
  • Column at which left section ends and right section begins

 

           (??) Column = 155                                        pixels (??)

  1. Compute offset. (?? = 128 − ??)      2.  Compute offset. (?? = 128 −??)
  2. For each pixel ?(?, ?) in the left section   3. For each pixel ?(?, ?) in the right section

 

Assignment - 0

  1. Merging (10 Pts.)
  2. Intensity Scaling (10 Pts)
  3. Intensity  Centralizing (10 Pts)

Total: 30 Pts.

Submission Instructions

  • Must use the starter code available in Github
  • Submission allowed only through Github
  • You will receive an email with invitation to join Github classroom
  • Start by reading the readme.md file.
  • Instructions are available here
  • Github will automatically save the last commit as a submission before the deadline
Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment