Re: 3-connectivity in binary image
- From: Randy Crawford <joe@xxxxxxxxxxxxxxx>
- Date: Sat, 28 Feb 2009 23:53:19 -0600
On Wed, 25 Feb 2009 17:46:38 -0800, ImageAnalyst wrote:
....
howard:
Yes, it's called convolution. Just convolve (a standard window scanning
technique) your binary image with a 3x3 kernel that is a cross shape (5
pixels on, and the corners off). The output image will be a gray scale
image, not a binary image. Then look at your output image and threshold
for intensities of 3 or 4 to find pixels that are 3 or 4 connected to
their neighbors. You can find convolution source code easily, I'm sure.
I never heard of 3-connectivity. What use does it have? What can it do
that the standard 4- and 8-connected don't do? Regards,
ImageAnalyst
I suppose it detects vertical or horizontal edges that are at least 2
pixels wide, while excluding 2x2 corners.
I have to wonder how valuable an edge detector it would be except on
images with *extremely* regular edges.
Randy
.
- Prev by Date: Re: Opening and saving images quickly in Matlab
- Next by Date: Re: Locating An Image At Arbitrary Scales, Translations, and Rotations
- Previous by thread: Re: Opening and saving images quickly in Matlab
- Next by thread: Re: Locating An Image At Arbitrary Scales, Translations, and Rotations
- Index(es):
Relevant Pages
|