Previous | Next --- Slide 48 of 59
Back to Lecture Thumbnails
oadrian96

In this case is the point (-1,-1) in the normalized device coordinates supposed to map to (0,H) or to (W, 0) in the image space?

Max

(0,H)

tarangs

A translation + negative scaling(reflection in y) would be needed. both can be done in 1 matrix itself using homogenous coordinates

tarangs

``` A = [

[W/2 ,0    ,W/2 ],

[0   ,-H/2 ,H/2 ],

[0   ,0    ,1   ]

]

and

P_image = A P_device ```