ImageSearchCriteria
Inheritance: java.lang.Object, com.groupdocs.watermark.search.SearchCriteria
public abstract class ImageSearchCriteria extends SearchCriteria
Provides base class for image search criteria.
Methods
Method | Description |
---|---|
getMaxDifference() | Gets maximum allowed difference between images. |
setMaxDifference(double value) | Sets maximum allowed difference between images. |
getStream() | |
getTrueImages() | |
getFalseImages() | |
isSatisfiedBy(PossibleWatermark candidate) | |
accept(ICriteriaVisitor visitor) | |
resetCache() |
getMaxDifference()
public final double getMaxDifference()
Gets maximum allowed difference between images.
Returns: double - The value should be between 0 and 1. 0 means that only identical images will be found.
setMaxDifference(double value)
public final void setMaxDifference(double value)
Sets maximum allowed difference between images.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | The value should be between 0 and 1. 0 means that only identical images will be found. |
getStream()
public final StreamContainer getStream()
Returns: StreamContainer
getTrueImages()
public final System.Collections.Generic.List<WatermarkableImage> getTrueImages()
Returns: com.aspose.ms.System.Collections.Generic.List<com.groupdocs.watermark.contents.WatermarkableImage>
getFalseImages()
public final System.Collections.Generic.List<WatermarkableImage> getFalseImages()
Returns: com.aspose.ms.System.Collections.Generic.List<com.groupdocs.watermark.contents.WatermarkableImage>
isSatisfiedBy(PossibleWatermark candidate)
public boolean isSatisfiedBy(PossibleWatermark candidate)
Parameters:
Parameter | Type | Description |
---|---|---|
candidate | PossibleWatermark |
Returns: boolean
accept(ICriteriaVisitor visitor)
public void accept(ICriteriaVisitor visitor)
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | ICriteriaVisitor |
resetCache()
public final void resetCache()