Releases: agfianf/color-correction
Releases · agfianf/color-correction
v0.0.1-rc6
Merge pull request #15 from agfianf/claude/code-quality-review-011CUR…
v0.0.1-rc5
Update Docs
v0.0.1-rc4
Release Candidate with MCCardDetector and Segmentation Support
This release introduces the MCCardDetector for improved color checker card detection, adds segmentation support, and includes minor fixes and dependency updates.
Added
- Implemented
MCCardDetectorclass incolor_correction/core/card_detection/mcc_det.pyfor detecting color checker cards and patches using OpenCV'smccmodule. - Added segmentation support to handle quadrilateral regions via
SegmentPointtype and updatedDetectionResultschema to includesegmentfield. - Introduced
crop_segment_straightenutility inimage_processing.pyto straighten and crop quadrilateral regions using perspective transformation. - Extended
DetectionProcessorto process both bounding box and segmentation-based detection results. - Added
draw_segmentationfunction inyolo_utils.pyto visualize segmentation polygons on images. - Updated
ColorCorrectionservice to support bothYOLOv8CardDetectorandMCCardDetectorbased on model name (yolov8ormcc).
Changed
- Bumped version to
0.0.1-rc4in__init__.pyandpyproject.toml. - Updated
DetectionProcessor.extract_color_patchesto handle segmentation results alongside bounding boxes. - Modified
ColorCorrectionAnalyzerto useset_reference_patchesinstead ofset_reference_imagefor consistency. - Adjusted dependency versions in
pyproject.tomlfor compatibility:pydantic>=2.10.6pydantic-settings>=2.8.1shapely>=2.0.7matplotlib>=3.10.1onnx==1.17.0onnxruntime==1.20.1pandas==2.2.3opencv-contrib-python>=4.11.0.86- Dev dependencies:
pytest==8.3.5,ruff==0.11.2,pre-commit==4.2.0,ultralytics==8.3.96
- Changed
ruffline-length to 120 inpyproject.tomlfor better code formatting flexibility.
Fixed
- Ensured
DetectionResultschema compatibility with both bounding box and segmentation outputs by makingboxesandsegmentoptional. - Added debug logging in
ColorCorrectionto track grid image shapes during color difference calculations.
What's Changed
Full Changelog: v0.0.1-rc3...v0.0.1-rc4
v0.0.1-rc3
What's Changed
Full Changelog: v0.0.1-rc2...v0.0.1-rc3
v0.0.1-rc2
v0.0.1-rc1
Release Candidate with Full Feature Set and Documentation
- Add docs page build with mkdocs-material. Read more https://agfianf.github.io/color-correction/
- Complete docstrings for all classes and methods
What's Changed
Full Changelog: v0.0.1b3...v0.0.1-rc1
v0.0.1b3
Add Analyzer Report and Bug Fixes
🚀 Features
- Added comprehensive reporting functionality for color correction results
- New
ColorCorrectionAnalyzerclass for benchmarking different correction methods - HTML report generation with interactive sorting and PDF export
- Visual comparison of before/after color patches
- Detailed ΔE metrics for patches and full images
- New
- Enhanced image processing utilities
- Added base64 image conversion support
- Improved color difference calculation with rounded metrics
- Added HTML report generation templates and styling
- Responsive design with Plus Jakarta Sans font
- Interactive table sorting
- PDF export functionality
- Detailed column descriptions
📝 Documentation
- Added new Analyzer section in README
- Example usage code for ColorCorrectionAnalyzer
- Sample benchmark output visualization
- Updated version to 0.0.1b3
🔧 Technical Changes
- Renamed benchmark class to report for better clarity
- Added new utility modules:
- formater.py for value formatting
- report_generator.py for HTML generation
- Added new constants and method definitions
Fix Naming Package
Merge pull request #6 from agfianf/fix/naming-package Fix/naming package
v0.0.1b1
Enhanced Color Correction with Improved Documentation and Evaluation
✨ Features
- Enhanced color correction with improved patch comparison and metrics
- Added polynomial correction model with configurable degrees
- Implemented comprehensive color difference evaluation
📚 Documentation
- Added "How it works" section with visual explanation
- Updated README with polynomial correction details
- Improved section headers for better clarity
- Added sample debug output visualization
- Enhanced usage examples with evaluation results
🔧 Technical
- Added
calc_color_diff_patches()method for quality evaluation - Implemented CIE 2000 color difference calculation
- Enhanced debug visualization capabilities
- Added support for multiple correction models
v0.0.1b0
Enhance Color Correction with Multiple Models and Improved Visualization
🔧 Improvements
- Color Correction Core
- Added new correction models: polynomial, linear regression, and affine regression
- Improved patch detection and processing pipeline
- Added support for debug visualization outputs
- Enhanced color patch extraction with better error handling
🎨 Features
- Reference Colors
- Added RGB format reference colors alongside BGR
- Improved color patch visualization and comparison tools
- Added support for custom reference images
📝 Documentation
- README Updates
- Simplified usage documentation with clearer examples
- Added visual explanation of color correction workflow
- Updated installation and usage instructions
🛠️ Development
- Project Structure
- Reorganized core modules for better maintainability
- Added new utility modules for image processing
- Updated VSCode settings for better development experience
🔨 Build
- Dependencies
- Added scikit-learn for advanced correction models
- Updated ruff to v0.9.4
- Added pre-commit hooks configuration
🧪 Testing
- Test Coverage
- Added new test cases for image processing utilities
- Improved test organization and structure