Info
此问题已关闭。 请重新打开它进行编辑或回答。
IS a classifier can be used to select a particular area from an image? How can i do it using KNN classifier?
1 次查看(过去 30 天)
显示 更早的评论
i have clustered an image. Now i want to select a particular region of the image.
0 个评论
此问题已关闭。
回答(1 个)
Image Analyst
2017-4-8
17 个评论
Image Analyst
2017-4-8
You have to have a set of reference points and a set of test points. Do you have that? I'm guessing not. So then you can't use knn yet.
sam CP
2017-4-8
i didn't have that reference point. What is that reference point and how can i get that reference point?
Image Analyst
2017-4-8
If you don't have a set of points that you define to be certain classes, then how can you determine if other points are close to them? I think you need to understand the concept of KNN first.
sam CP
2017-4-8
Actually i just want to select the ROI by using a classifier . KNN is not a mandatory one. Instead of KNN , how can i use SVM classifier for selecting the ROI?
Image Analyst
2017-4-8
You already did it one way with kmeans(). And like I said, I didn't think that was a good method.
For what it's worth, I'm attaching my KNN demo.
sam CP
2017-4-8
What is the training data can be used for selecting the ROI? Is that features extracted from the manually segemented tumor region?
Image Analyst
2017-4-8
You have to decide that. Maybe you say it's gray level but then everything that is the same brightness will be called a tumor simply if it's the same gray level range, regardless if it's a tumor or not.
sam CP
2017-4-8
but sometimes tumor is bright and in some cases it is dark , shape is also changed in several cases
Image Analyst
2017-4-9
There are always at least two classes. In your case they would be "tumor" and "non-tumor" (or "everything else").
sam CP
2017-4-9
Okay. You meant that i have to extract the features from manually segmented tumor region(ROI) and also from the non tumor region (background). Then this will be consider as the two classes and after that these classes are used for the training purpose. by using this two training classes , the KNN classifier will select the ROI and background from the test image. Can i proceed with this?
Walter Roberson
2017-4-10
Yes.
You mentioned that the tumor might be brighter or darker than the rest. Be sure train on both kinds and both kinds of background.
sam CP
2017-4-10
how can i extract the features of tumor section (bright or dark) and background alone , since i didn't have separated sections of both.
Image Analyst
2017-4-10
I suggest you talk with the radiologist who has hired you to do this or sponsored you to get all types of images you expect to encounter. He or she may have some images.
Walter Roberson
2017-4-10
You need some separated images to train with.
If you do not have that, then you need to use something like the Human Brain Atlas to do image registration against known normal images, so that you can recognize what part of the brain has been imaged and from what angle, so that you can do background subtraction, and then try to figure out whether the parts left over are significant.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)