Files
cedarconnor-comfyui-LatLong/modules
Claude 51ead939f9 Add 360° edge blender for seamless wraparound
Extracted and integrated the Equirect360EdgeBlender from ComfyUI-DiT360 to provide professional-grade edge blending for panoramic images.

New Node: Equirectangular Edge Blender
- Blends left/right edges for perfect 360° wraparound continuity
- Essential for eliminating visible seams in panorama viewers
- Three blending modes: cosine (smoothest), linear, smooth
- Automatic edge continuity validation
- Configurable blend width (0-200px, 10-20 recommended)
- Console reporting of seamless status

Implementation Details:
- Added blend_edges() method to EquirectangularProcessor
  - Supports linear, cosine, and smooth blending curves
  - Uses weighted interpolation between edges
  - Cosine mode provides smoothest S-curve transition

- Added check_edge_continuity() method
  - Validates seamlessness with configurable threshold
  - Measures mean absolute difference between edges
  - Default 5% tolerance for quality assurance

Node Features:
- Compatible with all image sizes (including 16K)
- Batch processing support
- Progress bar for multi-image workflows
- Optional continuity checking with detailed feedback
- Integrates seamlessly with existing LatLong workflow

Use Cases:
- Final polish after rotation/transformation
- Pre-processing for interactive 360° viewers
- Quality validation for panoramic content
- Professional VR and 360° photography workflows

Based on proven implementation from ComfyUI-DiT360, adapted for LatLong node pack with full ComfyUI integration and enhanced user feedback.
2025-11-08 04:39:59 +00:00
..