From: tarek tarek on
hi, how can i use open-closing operation with a structuring element se= at² + b (parabola), how can i creat this SE?
thanks
From: ImageAnalyst on
On Jan 20, 1:08 pm, "tarek tarek" <tarekco...(a)gmail.com> wrote:
> hi, how can i use open-closing operation with a structuring element se= at² + b (parabola), how can i creat this SE?
> thanks
----------------------------------------------------------------------------------------------------------------------------------------------------
Sounds like maybe you're using the method of "alternating sequential
filters" - http://www.esiee.fr/~coupriem/Pdf/cb04.pdf
where you smooth a signal through repeated use of opening/closing
pairs.

If you have the image processing toolbox, you can use imerode(),
imdilate(), imclose(), and imopen(). These work with 1D vectors as
well as 2D planar images and nD hyperdimensional images. Just make up
your 1D signal that is a parabola for your structuring element and
pass it in.