✨ A Complete Guide to the Dilate Tools
PhenoCapture’s Dilate tools utilize morphological image processing to expand, thicken, or “dilate” the boundaries of bright objects within your image. By analyzing the neighborhood of each pixel and replacing it with the brightest (maximum) value found within the selected filter size, this tool is perfect for closing small holes, connecting broken lines, or expanding the size of targeted objects.
💡 Key Features
- Full-Color RGB & Binary Compatibility: Just like the Erode tool, PhenoCapture’s Dilate algorithm is not restricted to black-and-white images. It works flawlessly on both binary images and full-color RGB images. The engine calculates the grayscale luminance of the neighborhood to locate the brightest pixel, and then applies that exact, original RGB color to the output!
- Multiple Filter Sizes: Choose the perfect dilation intensity for your specific needs:
- 3×3: Subtle dilation, great for closing tiny, single-pixel gaps or slightly thickening faint lines.
- 5×5 & 7×7: Medium dilation, ideal for bridging larger gaps and visibly expanding object boundaries.
- 9×9: Aggressive dilation for significant object expansion and merging closely spaced elements.
- High-Speed Parallel Processing: The Dilate algorithm is fully optimized for your CPU’s multi-core architecture. It splits the heavy maximum-pixel search across multiple threads, ensuring smooth and rapid processing even when applying massive 9×9 filters to high-resolution datasets.
- Smart Regional Masking: Need to dilate just a specific section of your image? Draw a selection boundary! The tool will strictly confine its morphological operations to your masked area, leaving the rest of your image completely untouched and perfectly preserved.
- Seamless Undo Integration: Connected directly to PhenoCapture’s built-in undo engine, allowing you to safely experiment with different filter sizes and instantly revert if the expansion is too aggressive.
🛠️ How to Use the Dilate Tools
Step 1: Prepare Your Workspace and Mask (Optional)
Load your image into the main workspace. If you only want to dilate a specific object or region, use the advanced selection tools to draw your mask boundary. If no mask is active, the tool will process the entire image.
Step 2: Choose Your Dilation Intensity
Navigate to the menu and select the filter size that matches your goal:
- Click Dilate 3×3 for minor line thickening and gap closing.
- Click Dilate 5×5 or Dilate 7×7 for standard object expansion.
- Click Dilate 9×9 for maximum object thickening.
Step 3: Let the Engine Work
Watch the progress bar as the parallel processing engine rapidly scans and expands the brighter regions of your image while shrinking the darker regions. Once complete, your newly dilated image will appear in the workspace. If you need a different intensity, simply use the standard Undo shortcut and try another filter size!