float function ( Pix arg0 , float arg1 , float arg2 , int arg3 , int arg4 , float arg5 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; return nativeFindSkew ( arg0 . mNativePix , arg1 , arg2 , arg3 , arg4 , arg5 ) ; }
finds and returns the skew angle , doing first a sweep through a set of equal angles , and then doing a binary search until convergence . notes : in computing the differential line sum variance score , we sum the result over scanlines , but we always skip : at least one scanline not more than 10 % of the image height not more than 5 % of the image width concode_field_sep int SWEEP_REDUCTION concode_elem_sep float SWEEP_RANGE concode_elem_sep float SWEEP_DELTA concode_elem_sep int SEARCH_REDUCTION concode_elem_sep float SEARCH_MIN_DELTA concode_field_sep float nativeFindSkew