Dehaze

🌫️ A Complete Guide to the Dehaze Tool

PhenoCapture AI’s Dehaze tool is an advanced atmospheric restoration filter designed to cut through fog, mist, aerial haze, and optical chamber glare. Powered by a high-speed O(1) Dark Channel Prior algorithm, it estimates local light transmission across your image and removes the washed-out veil of scattered light—restoring deep contrast, crisp structural details, and vivid, true-to-life colors.

Whether you are rescuing hazy landscape photography or clarifying biological time-lapse images captured through humid acrylic or glass growth chambers, here is everything you need to know about using the Dehaze tool.


💡 Key Features

  • Intelligent Dark Channel Recovery: Automatically estimates global atmospheric light and local transmission maps to strip away milky haze and surface glare without clipping shadow details.
  • O(1) Constant-Time Performance: By leveraging a single-channel O(1) Stack Blur architecture for patch estimation, the Dehaze engine processes even large 150-pixel patch radii in milliseconds.
  • Built-In Color & Exposure Compensation: Because removing heavy haze naturally darkens an image and alters color intensity, dedicated Saturation Boost and Brightness Boost sliders let you perfect the tonal balance in a single pass.
  • Zoom-Aware Real-Time Preview: Drag the sliders and watch the fog lift instantly on your canvas, with automatic radius scaling that adapts to your current viewport zoom level.
  • Smart Regional Masking: Isolate distant hazy backgrounds or specific glazed regions using the selection tools to apply Dehaze selectively without affecting clear foreground subjects.
  • Seamless Reset & Undo Support: Fine-tune your clarity with confidence. Use the Default button to reset all sliders to optimal baseline values, or revert changes anytime via Undo.

🛠️ How to Use the Dehaze Tool

Restoring crystal-clear visibility to hazy or washed-out images is quick and intuitive:

Step 1: Select Your Target Area (Optional)

If you only want to clear up a specific region (such as a foggy horizon or a glare spot on a petri dish cover), highlight it using any selection tool. Otherwise, Dehaze will process the entire image.

Step 2: Enable the Live Preview

Open the Dehaze tool and make sure the Preview checkbox is enabled so you can evaluate the clarity restoration in real time.

Step 3: Adjust the Restoration Sliders

Use the four sliders to dial in the exact level of atmospheric cleanup:

  • Patch Radius (1 to 150): Sets the local neighborhood size used to detect haze density. A medium radius (20 to 40) works best for general scenes, while smaller radii tighten contrast around fine edges.
  • Dehaze Strength (0% to 100%): Controls how aggressively the atmospheric veil is removed. Higher percentages yield deeper blacks and sharper local contrast.
  • Saturation Boost (-100% to 100%): Fine-tunes color richness after haze removal. Gently boost this value to bring back natural warmth and vibrancy, or lower it if colors appear oversaturated.
  • Brightness Boost (-100 to 100): Compensates for overall luminance changes after the bright haze layer is subtracted, ensuring your midtones remain bright and balanced.

(Tip: If pushing Dehaze Strength near 100% makes the shadows look too dark, simply nudge the Brightness Boost slider up slightly, or click Default to return to the balanced 70% preset!)

Step 4: Apply and Review

Once the veil of haze is gone and your colors look crisp and natural, click OK. The parallel engine will immediately apply the restoration to your full-resolution image.


With the Dehaze tool, cutting through atmospheric fog and optical glare to reveal crystal-clear, vibrant images is completely effortless!