📷 A Complete Guide to AI Out-Focus
PhenoCapture AI’s AI Out-Focus tool brings studio-grade optical depth-of-field (bokeh) to any standard 2D photograph. This feature analyzes the three-dimensional spatial structure of your scene and selectively blurs out-of-focus foreground and background planes—just like a fast prime lens on a professional DSLR or mirrorless camera.
Whether you want to isolate a portrait subject against a creamy blurred background, emphasize a specific specimen in laboratory imagery, or create dramatic foreground-to-background rack-focus effects, this guide walks you through every control for effortless results.
⚡ Core Architecture: Local, Private & Real-Time Interactive AI
- 100% Local PC Execution (Zero Cloud Uploads): Every neural depth inference and optical blur calculation runs exclusively on your local PC. Your personal portraits and confidential research images never leave your computer.
- Smart One-Pass Depth Caching: As soon as you open the tool, the AI estimates a normalized relative depth map asynchronously in the background and caches it in memory. Adjusting focus distance, depth range, or blur strength updates instantaneously without re-running the neural network—and clicking OK reuses the cached depth map directly for rapid full-resolution rendering.
- Viewport-Aware Parallel Live Preview: Powered by a multi-threaded preview engine, the live overlay dynamically tracks workspace zooming and panning in real time, scaling the preview blur radius accurately so what you see in the viewport matches the final full-resolution output.
💡 Key Features
- True 3D Depth-Guided Bokeh: Unlike simple radial or vignette blurs, AI Out-Focus understands true relative distance across the entire scene—gradually increasing blur intensity the farther an object sits from your chosen focal plane.
- Continuous Near-to-Far Focal Plane Control: Place your sharp focal plane anywhere from 0.0% (Near Foreground) to 100.0% (Far Background) with fine 0.1% precision, and freely widen or narrow the crisp Depth-of-Field (DOF) zone just like adjusting a physical camera aperture.
- Edge Halo Guard (Color Bleed Suppression): Conventional depth-blur filters often suffer from foreground colors bleeding onto soft backgrounds. Built-in Edge Halo Protection isolates depth discontinuities so foreground edges stay crisp and clean.
- Smooth Silhouette Feathering: Optional boundary feathering gently blends inner and outer silhouette transitions (up to 100 px), preventing harsh “cardboard cutout” borders around hair, leaves, or delicate structures.
- Interactive Focus Mask Overlay: Toggle Show Focus Mask at any time to visualize your exact in-focus plane directly over the workspace before committing to the final blur.
- Regional Masking & Persistent Settings: Fully respects active workspace selections (ROI masks) if you wish to restrict the effect to a specific region, automatically remembers your preferred parameters across sessions, and integrates seamlessly with Undo/Redo and Script Programming.
🎛️ Parameter & Control Reference
Every slider in the AI Out-Focus dialog is paired with a synchronized numeric input box for both rapid visual exploration and exact repeatable values:
| Control / Parameter | Range / Options | Default | Optical Function & Effect |
|---|---|---|---|
| Focus Distance | 0.0% – 100.0% | 15.0% | Sets the target focal plane from 0.0% (Nearest Foreground) to 100.0% (Farthest Background). |
| Focus Range (DOF) | 0% – 100% | 15% | Controls the thickness of the sharp in-focus zone around the focal plane. Lower values yield ultra-shallow macro bokeh; higher values keep more of the scene sharp. |
| Blur Radius | 1 px – 80 px | 20 px | Defines the maximum bokeh blur radius (in full-resolution pixels) applied to areas farthest outside the focus range. |
| Feather Boundary | On/Off (1 – 100 px) | On (30 px) | Softens foreground silhouette transitions across inner and outer edges for natural optical roll-off. |
| Edge Halo Protection | On / Off | On | Prevents sharp foreground subject colors from bleeding onto adjacent blurred backgrounds. |
| Depth Resolution | Fast / Balanced / Fine / Ultra | Balanced (518 px) | Selects the internal AI depth-estimation resolution scale to balance inference speed vs. fine edge precision. |
| Show Focus Mask | On / Off | Off | Temporarily highlights the active focal zone on the live preview for pinpoint focus placement. |
🔍 Choosing the Right AI Depth Resolution Mode
- Fast (392 px): Fastest neural inference—ideal for rapid experimentation on older laptops or simple compositions with bold subjects.
- Balanced (518 px — Default): Recommended for everyday portraits and general photography, delivering crisp subject separation in milliseconds.
- Fine (700 px): Captures subtler mid-ground depth gradients and smaller overlapping objects.
- Ultra (994 px): Maximum spatial accuracy for high-resolution photos containing intricate foliage, thin structures, or complex multi-layered scenes.
🛠️ How to Use the AI Out-Focus Tool
Step 1: Prepare Your Image & Optional Selection
Load your target photo into the main workspace. By default, AI Out-Focus processes the entire canvas. If you only wish to apply depth-based blurring within a specific region, draw a selection or mask first—the preview and final output will automatically respect your selection boundary.
Step 2: Launch AI Out-Focus & Let Depth Estimation Complete
Open the AI Out-Focus dialog from the menu. Watch the status indicator as it updates from “Depth: Estimating…” to show the analyzed depth dimensions and inference time (for example, “Depth: 518×388 (45ms)”). Select a higher Depth Resolution (such as Fine or Ultra) if your scene has fine overlapping edges.
Step 3: Pinpoint Your Subject with Focus Distance & Focus Mask
Ensure Preview is checked. Optionally check Show Focus Mask while sliding Focus Distance (0.0% for near objects, higher values for distant subjects) and Focus Range until your target subject sits squarely inside the sharp focal zone. Uncheck Show Focus Mask once aligned to inspect the natural optical bokeh.
Step 4: Fine-Tune Bokeh Strength & Edge Quality
Adjust Blur Radius to achieve anything from subtle background separation (8–15 px) to dramatic portrait bokeh (25–50+ px). Keep Edge Halo Protection and Feather enabled for smooth, artifact-free transitions—or click Default at any time to restore the recommended factory baseline.
Step 5: Apply to Full Resolution
Click OK. Because the AI depth map is already cached from your preview session, PhenoCapture AI immediately renders the full-resolution optical out-focus effect onto your workspace. Use Undo and Redo to compare your before-and-after results instantly!