Picture Comparer v.0.6.2
Description
After a significant period of development and refinement, I have applied numerous code cleanups and optimizations to enhance the library's functionality and performance.
Changelog
FileOperator Rebuild
- Rebuilded FileOperator Class: The
FileOperatorclass has been completely rebuilt to improve efficiency and maintainability. - New Async Handling: Introduced a new method for handling asynchronous operations using
CompletableFuture, providing a more robust and modern approach to asynchronous file processing. - FileVisitor Class: Added a new
FileVisitorclass to facilitate traversing and processing files within directory trees more effectively. - FileOperation Interface: Created the
FileOperationinterface to define various file-related operations, enhancing modularity and flexibility. - FileValidator Class: Developed the
FileValidatorclass for validating files, which includes theFilePredicateinterface to ensure that only valid files are processed. - Package Reorganization: Reorganized the packages to improve code structure and readability.
Predicates Rebuild
- Rebuilded FilePredicate Interface: The
FilePredicateinterface has been revamped for better usability and functionality. - Rebuilded ImageFilePredicate Class: The
ImageFilePredicateclass has been updated to work seamlessly with the newFilePredicateinterface, enhancing its effectiveness in file validation.
DCT Algorithms Optimization and Rebuild
- Quantifier Class for DCT: Added a new
Quantifierclass to handle quantization in the DCT (Discrete Cosine Transform) algorithm, improving precision and performance. - Transformer Class for DCT: Introduced the
Transformerclass to facilitate DCT transformations, enhancing the algorithm's efficiency. - Rebuilded DCT Class: The
DCTclass has been refactored into a facade, streamlining its interface and improving ease of use.
Algorithms Rebuild and ImageRecord Rebuild
- Rebuilded ImageRecord: The
ImageRecordclass has been updated for better functionality and integration with the new algorithms. - Algorithm Interface: Added a new
Algorithminterface to standardize algorithm implementations and facilitate the addition of new algorithms. - PerceptualHash Class: Introduced the
PerceptualHashclass for perceptual image hashing, enabling more robust image similarity comparisons. - PixelByPixel Class: Added the
PixelByPixelclass for pixel-by-pixel image comparison, providing an additional method for image analysis. - Removed Obsolete Functions: Deleted outdated and unnecessary functions from the
ImageRecordclass to streamline its functionality.
RecordProcessor
- Created RecordProcessor Class: Developed the
RecordProcessorclass to handle the processing of records, including grouping by checksum and applying algorithms for duplicate extraction.
Documentation Updates
- README.md Update: Updated the
README.mdfile to reflect the latest changes and provide clearer instructions and information about the library. - LICENSE.txt Created: Added a
LICENSE.txtfile to define the terms under which the library is distributed.