[Insight-users] Morphological Operation

David Doria daviddoria at gmail.com
Sun Jun 19 13:30:19 EDT 2011


On Sun, Jun 19, 2011 at 1:19 PM, Neil Panjwani <paniwani at gmail.com> wrote:
> I know the the tophat filters find local minima and maxima, but I'm looking
> for an operation that finds a region that has dark on one side and light on
> the other. Is there anything like that?

Unless "side" is defined very strongly, like "the region of the image
to the left of a vertical line", I think you'll need to use a
collection of kernels rather than just a single one.  The values of
these kernels would be the same as a normal edge detection kernel
(Sobel, etc), but then you would rotate the kernel every few degrees,
and then take the maximal responses over the collection of
convolutions with all of the kernels.

What is the application? Will a standard edge detection not work?

David


More information about the Insight-users mailing list