public static void scaleIntrinsic ( CameraPinhole param , double scale ) { param . width = ( int ) ( param . width * scale ) ; param . height = ( int ) ( param . height * scale ) ; param . cx *= scale ; param . cy *= scale ; param . fx *= scale ; param . fy *= scale ; param . skew *= scale ; }
Multiplies each element of the intrinsic parameters by the provided scale factor . Useful if the image has been rescaled .