Package edu.gsu.cs.dmlab.imageproc.imageparam.interfaces
-
Interface Summary Interface Description IMeasures This interface provides the pre-defined patch-sizes used for processing images patch by patch, and the pre-defined byte-shifts necessary for converting matrices to BufferedImage objects, and vice-versa.IParamCalculator -
Enum Summary Enum Description IMeasures.Channel The color channel
+--------+--------+--------+--------+ bits
|AAAAAAAA|RRRRRRRR|GGGGGGGG|BBBBBBBB|
To get the green channel from 'color' (hex);
int green = (color & 0xff00) << 8
To convert an intensity to a color (hex):int value = (0xFF000000 & color) << 24 | (0x000000FF & color) << 16 | (0x000000FF & color) << 8 | (0x000000FF & color)
IMeasures.PatchSize This contains all possible sizes of a patch that parameters are going to be computed for.