Commit Graph
23 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andregiellis 438a4af1b3 Add input validation to handle legacy workflow compatibility
Co-authored-by: regiellis <1148310+regiellis@users.noreply.github.com>
2026-01-19 14:08:04 +00:00
copilot-swe-agent[bot] 46d75b3bdd Initial plan 2026-01-19 14:03:33 +00:00
Regi Ellis c600fe7e3e Add VAE Color Corrector and enhance color correction stability 2025-06-30 12:50:04 -04:00
Regi Ellis 5b11514ea5 Update README with VAE Color Corrector documentation
Documentation Updates:
• Add comprehensive VAE Color Corrector section with features and usage
• Document four correction methods: luminance_zones, histogram_matching, statistical_matching, advanced_3d_lut
• Explain VAE-aware analysis and automatic bias detection capabilities
• Add workflow diagram showing original → processed → corrected flow
• Update installation dependencies for deep learning features

Feature Documentation:
• Document smart preservation (auto-detect vs mask-based)
• Explain performance features (lock input, smart caching, safe clamping)
• Add usage instructions and recommended settings
• Update basic workflow section with VAE Color Corrector steps

Enhanced Content:
• Add new nodes overview including Film Emulation and Color Palette Extractor
• Update installation dependencies with HuggingFace Hub and related packages
• Add FAQ entries for VAE Color Corrector usage and black squares fix
• Expand feature descriptions for better user understanding

Technical Details:
• Document quantization artifact fixes
• Explain upstream processing control benefits
• Add professional workflow integration guidance
• Include correction method recommendations and best practices
v1.2.5
2025-06-30 12:37:02 -04:00
Regi Ellis b9f7211e9f Add VAE Color Corrector and enhance color correction stability
Major Features:
• New VAEColorCorrector node for fixing VAE-induced color shifts in inpainting/img2img workflows
• Four correction methods: luminance_zones, histogram_matching, statistical_matching, advanced_3d_lut
• VAE-aware analysis with automatic bias detection and compensation
• Upstream processing control (lock_input_image) to prevent unnecessary reprocessing
• Enhanced DDColor integration for deep learning colorization with fallback support

Color Correction Improvements:
• Fix quantization artifacts (black squares) with safe color clamping using gradient-preserving sigmoid curves
• Implement maximum shift limiting to prevent extreme color corrections
• Add comprehensive diagnostic warnings for extreme color values
• Balance correction strength across different methods for consistent results
• Enhanced mask-based preservation with edge feathering

Technical Enhancements:
• Semantic selective color adjustments for skin tones, sky, and foliage
• Advanced 3D LUT color mapping with k-means clustering
• Improved face detection parameters for better AI-generated content handling
• VAE bias analysis across luminance zones (shadows/midtones/highlights)
• Smart caching system for expensive computations when input is locked

Node Architecture:
• Modular structure with organized utils and nodes directories
• Enhanced Film Emulation capabilities
• Expanded gitignore for model downloads and cache files
• Updated dependencies for deep learning features

Quality & Stability:
• Graceful fallbacks when advanced libraries unavailable
• Comprehensive error handling and recovery mechanisms
• Performance optimizations for real-time parameter adjustments
• Enhanced debugging output and progress reporting
2025-06-30 12:32:51 -04:00
Regi Ellis 69f3af35ca Hotfix for OOM in Batch Node v1.2.4 2025-06-26 11:37:32 -04:00
Regi Ellis 70cb161873 Add ColorPaletteExtractor node for reference color palette generation
- New standalone node extracts color palettes from images
- Outputs palette data string, histogram visualization, and palette image
- Compatible with main EasyColorCorrection node reference input
- Configurable palette size (3-16 colors) with extract toggle
- Uses same color extraction algorithms as main node for consistency
- Proper error handling and fallback outputs for missing dependencies
2025-06-26 11:24:06 -04:00
Regi Ellis 7002e38f25 Version Bump, Correction: Hotfixes for 1.2.2 v1.2.3 2025-06-26 10:57:35 -04:00
Regi Ellis 6460b6b6b2 Fix critical issues in v1.2.1: GPU processing, reference color matching, white balance, and manual mode controls
- Enhanced GPU processing with proper tensor device assignment and debugging output
- Completely rewrote reference color matching to use LUT-style luminance zone processing (highlights/midtones/shadows)
- Unified white balance behavior to work consistently with/without AI analysis (-1 cool, +1 warm)
- Fixed lift/gamma/gain controls in Manual mode by adding missing HSV-to-RGB conversion
- Added highlight protection to prevent green artifacts when using skin tone adjustment with high enhancement strength
- Increased lift/gamma/gain strength values for more visible effects (0.3→0.8, 0.6→1.2)
- Removed incorrect enhancement_strength widget hiding in JavaScript frontend
- Added warning messages for enhancement_strength > 1.0 to prevent color artifacts
- Fixed reference_strength to work smoothly from 0.0 to 1.0
- Cleaned up duplicate JavaScript handlers that were causing UI conflicts
2025-06-26 10:48:51 -04:00
Regi Ellis 5a30544c82 Rename realtime_preview to lock_input_image and update branding
- Renamed confusing realtime_preview parameter to lock_input_image
- Updated tooltip to clarify it prevents upstream node reprocessing
- Changed default value from true to false
- Updated README documentation for new parameter
- Standardized naming from "Color Correction" to "Color Corrector"
- Updated JavaScript frontend and all UI references
2025-06-26 07:51:31 -04:00
Regi Ellis 06d61f763a Version bump 2025-06-25 21:38:26 -04:00
Regi Ellis bf4a4c82ab Fix ColorCorrectionViewer and batch processing errors
- Fix UnboundLocalError for 'subfolder' variable in ColorCorrectionViewer
- Add missing parameters (white_balance_strength, enhancement_strength, adjust_for_skin_tone) to batch processing
- Fix 'lighting' variable undefined error in batch GPU processing
- Refactor ColorCorrectionViewer to use VideoHelperSuite patterns for proper video display
- Replace console.log with ComfyUI toast notifications for batch size messages
- Add animated GIF creation for multi-frame sequences with proper metadata
- Implement proper ComfyUI OUTPUT_NODE format with gifs UI structure
- Add file location display and cleanup guidance functionality
- Fix JSON serialization errors by using ComfyUI's output directory structure
- Enhance notification system to respect user settings from settings panel
2025-06-25 21:38:26 -04:00
_its.just.regi_ 0570e759c9 Update README.md, #closes 2
Corrections to quick install with old naming of the node. The node should be ComfyUI-EasyColorCorrector. The "Correction" name is an old name from when I first started the project. Comfy Registry is making it a pain to update everywhere.
2025-06-25 18:34:33 -04:00
Regi Ellis c85e50a13d Version bump for Display Name Change 2025-06-25 18:14:41 -04:00
Regi Ellis cb9a2c38f0 Name change for Comfy Registry v1.2.1 2025-06-25 18:01:38 -04:00
Regi Ellis 0d140aa2b6 Backen code 2025-06-25 17:55:17 -04:00
Regi Ellis fb9862a730 feat: Major professional color grading improvements and bug fixes
## Core Improvements
- **Professional Manual Mode**: Added separate temperature and tint controls using LAB color space
- **Balanced Parameter Ranges**: Fixed slider ranges for realistic control (contrast: -0.5 to 0.5, brightness: -0.5 to 0.5)
- **Live Preset Updates**: Sliders now automatically update when presets change for full transparency
- **Smart UI Behavior**: AI analysis auto-disabled in Manual mode for pure manual control

## Technical Fixes
- **White Balance Redesign**: Proper -1.0 to 1.0 temperature range with LAB color space processing
- **Preset Mode**: Fixed broken functionality, presets now properly apply visual changes
- **Manual Mode**: Fixed parameter conflicts, lift/gamma/gain now work without AI dependency
- **Skin Tone Processing**: Eliminated green tint on light skin by removing excessive green reduction
- **Enhancement Strength**: Now hidden when AI analysis disabled to reduce UI confusion

## Professional Features
- **Temperature Control**: Real temperature adjustment (blue↔orange) in LAB space, not hue shift
- **Tint Control**: Separate green↔magenta control for professional 2-axis color grading
- **3-Way Color Correction**: Working lift/gamma/gain with balanced strength values
- **Improved Defaults**: More subtle enhancement_strength (0.2) and effect_strength (0.6)

## Updated Documentation
- **README**: Added v1.0.1 features section and updated all technical details
- **Examples**: Updated console output examples and configuration snippets
- **Pro Tips**: Added guidance for new temperature/tint controls and UI behavior
2025-06-25 17:55:17 -04:00
_its.just.regi_ 4ad7e4a0b9 Update issue templates 2025-06-25 06:26:12 -04:00
Regi Ellis 203908040d Name Update 2025-06-24 16:26:20 -04:00
Regi Ellis 238f795147 Name Update v1.0.1 2025-06-24 16:22:28 -04:00
Regi Ellis 629fb320f1 Fix skin tone processing and improve face detection feathering
- Enhanced skin tone detection ranges to better handle dark and light skin
  - Implemented heavy feathering system with multi-stage Gaussian blurring
  - Added distance-based falloff masks for seamless face enhancement blending
  - Fixed green cast issues on lighter skin tones with balanced adjustments
  - Removed detailed comments throughout codebase while preserving headers
  - Added screenshot to README and updated disclaimer formatting

  This commit message captures the main improvements:
  1. Skin tone processing fixes - Better detection ranges and green cast reduction
  2. Face feathering improvements - Heavy multi-stage blurring for seamless blending
  3. Code cleanup - Comment removal while keeping structure
2025-06-24 16:07:33 -04:00
Regi Ellis 1e5ba79755 ComfyUI Registry updates 2025-06-24 14:48:53 -04:00
Regi Ellis c5bcd7fde1 First working version v1.0.0 2025-06-24 14:41:36 -04:00