public void setCamera ( double skew , double cx , double cy , int width , int height ) { // Define normalization matrix // center points, remove skew, scale coordinates double d = Math . sqrt ( width * width + height * height ) ; V . zero ( ) ; V . set ( 0 , 0 , d / 2 ) ; V . set ( 0 , 1 , skew ) ; V . set ( 0 , 2 , cx ) ; V . set ( 1 , 1 , d / 2 ) ; V . set ( 1 , 2 , cy ) ; V . set ( 2 , 2 , 1 ) ; CommonOps_DDRM . invert ( V , Vinv ) ; }
Specifies known portions of camera intrinsic parameters