How to remove the black background from region of interest (gray scale& RGB)

1 回表示 (過去 30 日間)
Subha
Subha 2013 年 2 月 14 日
Sir, i'm doing my project in image processing, i need to segment the nucleus from the histopathological image.. i've tried with colour cell segmentation code which is there in matlab help .. it works good... the thing i need is... i need to process only the gray scale value of the segmented region..
http://www.mathworks.in/help/images/examples/color-based-segmentation-using-k-means-clustering.html the image is as same as image in this help topic ans i've used the same code..
from the segmented region (ie segmented blue nuclei--last image)..i converted it into grayscale image and then i need to extract features such as texture (GLCM features),statistical features., and wavelet based features...
... i dont need the black background.. can u help me how to overcome this problem
  4 件のコメント
Subha
Subha 2013 年 2 月 15 日
Sorry Sir.. i didnt get you... i need to change something or... i dono wat i have to do... help me out sir..
Image Analyst
Image Analyst 2013 年 2 月 15 日
No, I'm not getting into that again. We never could get you to understand what "removing the background" means. Go back to that thread and take it up with Walter, if you want. So, did you do anything with my suggestion below?

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

回答 (1 件)

Image Analyst
Image Analyst 2013 年 2 月 15 日
You do know about entropyfilt(), var(), mean(), conv2(), and graycomatrix() don't you?
  7 件のコメント
Image Analyst
Image Analyst 2013 年 2 月 19 日
Yes, that might happen since as the window gets near the textured regions, the entropy starts to rise. It doesn't just rise when the central pixel is over the region.
Subha
Subha 2013 年 2 月 20 日
Now i understood clearly.. Thank you Sir..

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

Community Treasure Hunt

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

Start Hunting!

Translated by