Initializes a new instance of the [ImageColorHistogramSearchCriteria](../../com.groupdocs.watermark.search/imagecolorhistogramsearchcriteria) class with a specified file path.
Initializes a new instance of the [ImageColorHistogramSearchCriteria](../../com.groupdocs.watermark.search/imagecolorhistogramsearchcriteria) class with a specified stream.
public ImageColorHistogramSearchCriteria(String filePath)
Initializes a new instance of the [ImageColorHistogramSearchCriteria](../../com.groupdocs.watermark.search/imagecolorhistogramsearchcriteria) class with a specified file path.
public ImageColorHistogramSearchCriteria(InputStream stream)
Initializes a new instance of the [ImageColorHistogramSearchCriteria](../../com.groupdocs.watermark.search/imagecolorhistogramsearchcriteria) class with a specified stream.
Parameters:
Parameter
Type
Description
stream
java.io.InputStream
The stream to load image from.
getBinsCount()
public final byte getBinsCount()
Gets a count of bins that will be used for building color histograms.
Returns:
byte - The default value is 10.
setBinsCount(byte value)
public final void setBinsCount(byte value)
Sets a count of bins that will be used for building color histograms.
Parameters:
Parameter
Type
Description
value
byte
The default value is 10.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.