public class MaskingBlockHistogramModel extends BlockHistogramModel
histograms
ndims
Constructor and Description |
---|
MaskingBlockHistogramModel(FImage mask,
int blocks_x,
int blocks_y,
int... nbins)
Construct with the given parameters
|
Modifier and Type | Method and Description |
---|---|
protected void |
accum(MBFImage im,
int bx,
int by) |
clone, estimateModel, getFeatureVector, reset, toSingleHistogram, toString
estimateModel
public MaskingBlockHistogramModel(FImage mask, int blocks_x, int blocks_y, int... nbins)
mask
- the mask imageblocks_x
- the number of blocks in the x-directionblocks_y
- the number of blocks in the y-directionnbins
- the number of bins in each dimension for the histogramsprotected void accum(MBFImage im, int bx, int by)
accum
in class BlockHistogramModel