public void setCameraParameters ( float fx , float fy , float cx , float cy , int width , int height ) { this . fx = fx ; this . fy = fy ; this . cx = cx ; this . cy = cy ; derivX . reshape ( width , height ) ; derivY . reshape ( width , height ) ; // set these to the maximum possible size int N = width * height * imageType . getNumBands ( ) ; A . reshape ( N , 6 ) ; y . reshape ( N , 1 ) ; }
Specifies intrinsic camera parameters . Must be called .