int function ( final int arg0 ) { final int loc0 = ( arg0 - rowOffset ) / rowStep ; return loc0 < 0 ? 0 : ( loc0 < nRows ? loc0 : nRows - 1 ) ; }
warning : this always returns a valid matrix row clamping on 0 : nrows-1 , and rounding down eg : rowoffset = 4 , rowstep = 2 imagerowtomatrixrow 17 returns 6 , imagerowtomatrixrow 1 returns 0 concode_field_sep int rowOffset concode_elem_sep int nRows concode_elem_sep int rowStep concode_elem_sep int channels concode_elem_sep int[][] scanlines concode_elem_sep int bitDepth concode_elem_sep byte[][] scanlinesb concode_elem_sep SampleType sampleType concode_elem_sep ImageInfo imgInfo concode_elem_sep boolean samplesUnpacked concode_elem_sep int elementsPerRow concode_field_sep int imageRowToMatrixRowStrict concode_elem_sep ImageLine getImageLineAtMatrixRow concode_elem_sep int matrixRowToImageRow