Interface IMeasures


  • public interface 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.
    Author:
    Azim Ahmadzadeh, updated by Dustin Kempton, Data Mining Lab, Georgia State University
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  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)

      static class  IMeasures.PatchSize
      This contains all possible sizes of a patch that parameters are going to be computed for.