com.groupdocs.watermark.search

Interfaces

Classes

com.groupdocs.watermark.search

Class ImageColorHistogramSearchCriteria



  • public class ImageColorHistogramSearchCriteria
    extends ImageSearchCriteria

    Represents search criteria for finding images in a content. This search criteria uses image color histograms for calculating image similarity.

    • Constructor Detail

      • ImageColorHistogramSearchCriteria

        public ImageColorHistogramSearchCriteria(String filePath)

        Initializes a new instance of the ImageColorHistogramSearchCriteria class.

        Parameters:
        filePath - The file path to load image from.
      • ImageColorHistogramSearchCriteria

        public ImageColorHistogramSearchCriteria(InputStream stream)

        Initializes a new instance of the ImageColorHistogramSearchCriteria class.

        Parameters:
        stream - The stream to load image from.
    • Method Detail

      • getBinsCount

        public final byte getBinsCount()

        Gets a count of bins that will be used for building color histograms.

        Returns:
        The default value is 10.
      • setBinsCount

        public final void setBinsCount(byte value)

        Sets a count of bins that will be used for building color histograms.

        Parameters:
        value - The default value is 10.