Documentation of 'boofcv.alg.tracker.meanshift.LikelihoodHistCoupled_PL_U8' Java class
LikelihoodHistCoupled_PL_U8
boofcv.alg.tracker.meanshift

Class LikelihoodHistCoupled_PL_U8

  • All Implemented Interfaces:
    PixelLikelihood<Planar<GrayU8>>, SparseImageOperator<Planar<GrayU8>>, SparseImageSample_F32<Planar<GrayU8>>


    public class LikelihoodHistCoupled_PL_U8
    extends java.lang.Object
    implements PixelLikelihood<Planar<GrayU8>>

    Creates a histogram in a color image and is used to identify the likelihood of an color being a member of the original distribution. The histogram is computed in N-dimensional space, where N is the number of bands in the color image. The number of bins for each band is specified in the constructor. There is a total of N*numBins elements in the histogram.

    Design Note:
    The reason operations in GHistogramFeatureOps is not used internally is because those are for histograms stored in double arrays, while this has to use floats/

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float compute(int x, int y) 
      void createModel(RectangleLength2D_I32 target)
      Specifies where the initial location of the target is in the image and computes the model using pixels inside the rectangle
      boolean isInBounds(int x, int y)
      Checks to see if the entire sample region is contained inside the image or not.
      void setImage(Planar<GrayU8> image)
      Sets the input image
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.