Class DescribePointPixelRegionNCC<T extends ImageGray<T>>

Direct Known Subclasses:
ImplDescribePointPixelRegionNCC_F32, ImplDescribePointPixelRegionNCC_U8

public abstract class DescribePointPixelRegionNCC<T extends ImageGray<T>> extends DescribePointRawPixelsRectangle<T>
Describes a rectangular region using its raw pixel intensities which have been normalized for intensity. This allows the descriptor to be light invariant. The entire region must be inside the image for a descriptor to be computed because any outside values will change its intensity normalization.
See Also:
  • Constructor Details

    • DescribePointPixelRegionNCC

      protected DescribePointPixelRegionNCC(int regionWidth, int regionHeight)
  • Method Details

    • isInBounds

      public boolean isInBounds(int c_x, int c_y)
      The entire region must be inside the image because any outside pixels will change the statistics
    • process

      public abstract void process(int c_x, int c_y, NccFeature desc)
      Extracts the descriptor at the specified location.
      c_x - Center of the descriptor region.
      c_y - Center of the descriptor region.
      desc - Where the description is written to.