Question Get Answer

The windowing transformation involves selecting a rectangular region

of interest in an un-displayed picture and transplanting the view obtained onto the display in a specific position. Consider that a rectangular area is selected measuring ΔX by ΔY, with the lower left-hand corner having the coordinates (X, Y) in the un-displayed picture coordinate system. The points within this rectangle, (x, y), are transformed into a rectangle measuring ΔX' by ΔY' by the transformation
x' = (ΔX'/ΔX)(x-X) + X'
y' = (ΔY'/ΔY)(y-Y) + Y'
Scaling is involved if ΔX' is not equal to ΔX and ΔY' is not equal to ΔY. Performing the windowing transformation before other transformations, where possible, may reduce the amount of computation on the subsequent transformations. Write pseudocode to perform the windowing transformation.

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Computer Science tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes