public class ImageColorHistogramSearchCriteria extends ImageSearchCriteria
Represents search criteria for finding images in a content.
Constructor and Description |
---|
ImageColorHistogramSearchCriteria(InputStream stream)
Initializes a new instance of the
class with a specified stream. |
ImageColorHistogramSearchCriteria(String filePath)
Initializes a new instance of the
class with a specified file path. |
Modifier and Type | Method and Description |
---|---|
byte |
getBinsCount()
Gets a count of bins that will be used for building color histograms.
|
void |
setBinsCount(byte value)
Sets a count of bins that will be used for building color histograms.
|
getMaxDifference, setMaxDifference
and, not, or
public ImageColorHistogramSearchCriteria(String filePath)
ImageColorHistogramSearchCriteria
class with a specified file path.filePath
- The file path to load image from.public ImageColorHistogramSearchCriteria(InputStream stream)
ImageColorHistogramSearchCriteria
class with a specified stream.stream
- The stream to load image from.public final byte getBinsCount()
Gets a count of bins that will be used for building color histograms.
public final void setBinsCount(byte value)
Sets a count of bins that will be used for building color histograms.
value
- The default value is 10.