ImageDctHashSearchCriteria class
ImageDctHashSearchCriteria class
Represents a search criteria for finding images in a document.
Inheritance: ImageDctHashSearchCriteria
→
ImageSearchCriteria
→
PageSearchCriteria
→
SearchCriteria
The ImageDctHashSearchCriteria type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the ImageDctHashSearchCriteria class with a specified file path. |
init | Initializes a new instance of the ImageDctHashSearchCriteria class with a specified stream. |
Properties
Property | Description |
---|---|
pages | Gets or sets the list of specific page numbers |
max_difference | Gets or sets maximum allowed difference between images. |
Methods
Method | Description |
---|---|
both | Combines this SearchCriteria with other criteria using logical AND operator. |
either | Combines this SearchCriteria with other criteria using logical OR operator. |
is_not | Negates this SearchCriteria . |
Remarks
This search criteria uses DCT based perceptual image hash for calculating image similarity. Learn more: | | |
Example
Search for images in the attached files (pdf).
See Also
- module
groupdocs.watermark.search.searchcriteria
- class
ImageDctHashSearchCriteria
- class
ImageSearchCriteria
- class
PageSearchCriteria
- class
SearchCriteria