returns an indexcolormodel for the image specified by this fileinfo . concode_field_sep FileInfo fi concode_elem_sep boolean showProgress concode_elem_sep ImageReader reader concode_elem_sep long skip concode_elem_sep InputStream is concode_elem_sep ColorModel cm concode_elem_sep int currentIndex concode_field_sep void init concode_elem_sep void initStack concode_elem_sep void setShowProgress concode_elem_sep int getCurrentProjectionNumber concode_elem_sep ProjectionSource[] getProjectionSources concode_elem_sep void error concode_elem_sep InputStream createInputStream concode_elem_sep long convertToUnsignedInt concode_elem_sep int convertToUnsignedShort concode_elem_sep ProjectionSource openProjectionStream concode_elem_sep void getNextProjection concode_elem_sep Grid2D getNextProjection concode_elem_sep Object readPixels concode_elem_sep void close concode_elem_sep boolean isShowProgress concode_elem_sep boolean validateFileInfo
ColorModel function ( FileInfo arg0 ) { if ( arg0 . fileType == FileInfo . COLOR8 && arg0 . lutSize > 0 ) return new IndexColorModel ( 8 , arg0 . lutSize , arg0 . reds , arg0 . greens , arg0 . blues ) ; else return LookUpTable . createGrayscaleColorModel ( arg0 . whiteIsZero ) ; }