How to do feature extraction from an image?
Show older comments
Hi I want to do feature extraction from an image. I read a paper and did this steps: I did image segmentation. Then I want to do feature extraction. In this paper:
Segmented lungs were divided into 3*3 windows in which all nine pixels were located in the lung mask. Window size selection is a compromise between higher resolution (in the classification process) and faster algorithm. Smaller windows (i.e. 1*1 or 2*2) have the problem of more time complexity for training and increaseing the number of FP. Larger windows (i.e. 5* 5 or larger) cause lower resolution of reconstructed image after classification and miss some tiny nodules. Thus, for better resolution and faster algorithm, simultaneously, we used a 3*3 window. In the training process, these windows were labeled as nodule (þ1) and non-nodule (1).
My question is this: Is there any standard criteria to lable the 3*3 window as a noudle? ( I mean if how many of these pixcles are 1, we should lable the window as a noudle?)</pre>
12 Comments
Rik
on 2 Aug 2020
Questions like this are very specific to a field. To my knowledge (and judging from your description) there isn't a standard. Often people experiment to find what works best. I suspect the authors of the paper you're citing (but not naming, bad habit to get into) simply tried a few window sizes and found that 3x3 worked well enough without requiring too much computational power.
sara
on 3 Aug 2020
sara
on 3 Aug 2020
sara
on 3 Aug 2020
Rik
on 3 Aug 2020
If each block is independent of the others, you could use blockproc to do the processing. Then you only need to decide how to reduce each block to a single value.
sara
on 3 Aug 2020
Rik
on 3 Aug 2020
That is a domain-specific question. I don't know what makes sense in your situation. Some usual methods are max, min, and mean (with or without a threshold).
sara
on 3 Aug 2020
Image Analyst
on 3 Aug 2020
What did they do to segment the image before the filtering?
And after they filtered the segmented image with a 3x3 window, or any size with any values, what did they do with the filtered, segmented image? What values were in the filter kernel window?
sara
on 4 Aug 2020
Image Analyst
on 4 Aug 2020
I don't think they segmented the image. I think they did that on the original gray scale image. I don't think it would make any sense to do a covariance of 9 pixels if the 9 pixels were segmented, which means they are already binary/logical.
sara
on 31 Aug 2020
Answers (0)
Categories
Find more on Image Category Classification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
%20(1).jpg)