Login  Register

Re: single pixel layer erosion

Posted by Michael Schmid on Sep 13, 2010; 2:37pm
URL: http://imagej.273.s1.nabble.com/single-pixel-layer-erosion-tp3686954p3686955.html

Hi Paul,

a surface blur (thresholded blur) filter applied several times can  
sharpen edges.
You can try
   http://imagejdocu.tudor.lu/doku.php?
id=plugin:filter:thresholded_blur:start
(the link should be one line)
with 'Strength' between 3 and 5 and the threshold smaller than the  
difference between the phases, but larger than half that difference.

Another option would be creating a binary mask, apply binary erode or  
dilate, convert it to a selection and (Edit>Selection>Create  
Selection) and then do some operation such as 'Clear',  
Process>Math>Set, 'Minimum' or 'Maximum' filters, etc, on that  
selection.

Michael
________________________________________________________________

On 13 Sep 2010, at 15:19, Paul Stutzman wrote:

> I am processing images of sectioned multi-phase particles in epoxy  
> by SEM/BE/EDS into indexed 8-bit color images where each phase is  
> uniquely identified (against a black background).  I have some edge  
> effects due to the transition from the grain edge to epoxy that  
> results  in a significant number of perimeter pixels being  
> misidentified.  Median filters are only moderately successful in  
> reducing these transition pixels.  I am looking for a means to  
> erode a single layer of pixels around the outside perimeter of  
> particles adjacent to the epoxy matrix (black) on the segmented  
> image to remove these errant pixels.  Existing erosion plugins  
> operate only on binary images, or produce a very coarse result.  
> The closest I have tried is the Greyscale dilate plugin from the  
> morphological operators plugins of G. Landini (the erosion  
> operation actually dilates bright particles on a black matrix) but  
> it also operates on the pixels within the particles, altering the  
> texture of the phase distribution.
>
> Any thoughts or recommendations on plugins or modification of some  
> existing plugin to be able to erode a layer of pixels adjacent to  
> the greylevel=0 epoxy?
> Apologies for any message duplication.
>
> Thank you,
>
> Paul Stutzman