How to perform grayscale reconstruction by erosion

On a gray scale image i want to perform reconstruction by erosion as well as reconstruction by dilation.

 採用された回答

Image Analyst
Image Analyst 2014 年 6 月 22 日

0 投票

There is an imreconstruct that does reconstruction. You give it a smaller "marker" image and your larger binary image and it returns an image with only the blobs that have marker(s) in them. See my attached demos.

4 件のコメント

rky
rky 2014 年 6 月 23 日
I know Imreconstruct is used for reconstruction purpose but my problem is as below
I have image f1
Then, I need to find regional minima RMIN of f1 as
f2 = RMIN(f1) = R* f1 (f1+1) - f1
where, R* f1 (f1 + h) is the grayscale reconstruction by erosion using f1 and (f1 + 1) as mask and marker images, respectively and R* is for reconstruction.
I want to learn all concepts of morphological image processing so please can you tell references for the same.
Thanks in advance
Image Analyst
Image Analyst 2014 年 6 月 23 日
I suggest you use a web search engine to locate online textbooks such as
rky
rky 2014 年 6 月 23 日
ok
but can you tell how to solve below problem
I know Imreconstruct is used for reconstruction purpose but my problem is as below
I have image f1
Then, I need to find regional minima RMIN of f1 as
f2 = RMIN(f1) = R* f1 (f1+1) - f1
where, R* f1 (f1 + h) is the grayscale reconstruction by erosion using f1 and (f1 + 1) as mask and marker images, respectively and R* is for reconstruction.
Image Analyst
Image Analyst 2014 年 6 月 23 日
Why not use imregionalmin()?

サインインしてコメントする。

その他の回答 (0 件)

質問済み:

rky
2014 年 6 月 22 日

コメント済み:

2014 年 6 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by