How to remove Image background using freehand ROI.

1 回表示 (過去 30 日間)
Keerthi  D
Keerthi D 2020 年 6 月 29 日
コメント済み: Image Analyst 2020 年 6 月 30 日
The complex leaf image background is first removed to get a clear leaf sample before further processing. So l using here background elimination mathod. Algorithm is, step1)Manually select ROI in I and store it in R. Step2)generate binary mask. Step3)set J to I. Step4)for each pixel (m,n)in I . Step5) if pixel(m,n) is in R. Step6) set J(m,n) to 1. Step7) else Step8)Set J(m,n) to 0. Step9)compute complement J'. Step10)set I to I+J'. Step11)Crop I to eliminate unwanted image parts. Please send me it's Matlab code using given image. My email ID : keerthidev36@gmail.com
  6 件のコメント
Keerthi  D
Keerthi D 2020 年 6 月 30 日
Sir how to use color thresholder on the apps tab
Image Analyst
Image Analyst 2020 年 6 月 30 日
Click "load image from file" and select your image. Then choose HSV color space and move the sliders until you get what you want. Then click "Export to function" to get the code.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by