You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
I don't know which type of image is?
1 view (last 30 days)
Show older comments
I have few foot ulcer images in that I can't detect the ROI.And the output of entropy and variance is also zero.So can anyone tell me which type of image it is?
Accepted Answer
Image Analyst
on 26 Jun 2016
Without seeing the image (which people usually do when asking for image processing advice), I'd say that if the variance is zero, you have a completely uniform image.
19 Comments
riddhi desai
on 26 Jun 2016
riddhi desai
on 26 Jun 2016
this kind of image sir
Image Analyst
on 26 Jun 2016
Tell me why that image has a variance of zero! It certainly should NOT.
riddhi desai
on 27 Jun 2016
because i have to find the variance of ROI and my ROI image is black (not able to gert ROI). So variance is zero so tell me the type of this image please m not able to find out.
Walter Roberson
on 27 Jun 2016
The type of image is "an image which the wrong ROI has been used for".
riddhi desai
on 27 Jun 2016
but the wrong roi i don't get the ROI in that image i only gate black image
Walter Roberson
on 27 Jun 2016
Is the all-black ROI the right ROI? I don't think so.
At the very least you should do skin detection; see http://www.mathworks.com/matlabcentral/answers/49435-i-am-basically-trying-to-find-the-skin-in-the-image-so-i-wrote-the-piece-of-code-i-converted-the-im#answer_60411
I have no idea how you hope to get any useful ulcer information out of an image that is only 56 by 132 pixels and has been heavily compressed with lossy JPEG.
riddhi desai
on 27 Jun 2016
Edited: riddhi desai
on 27 Jun 2016
I dont get ROI sir. And i know its wrong ROI Sir but it have some specific name or what?
Walter Roberson
on 27 Jun 2016
It has the specific name of "an image which the wrong ROI has been used for". We could name those after you if you need a shorter name. They are "Riddhi Images".
Image Analyst
on 27 Jun 2016
Show the code that you are using to define an ROI from that image. Otherwise there's no way I can tell why you're finding all black.
riddhi desai
on 27 Jun 2016
i am using opening and closing for finding ROI sir
riddhi desai
on 27 Jun 2016
@walter Roberson ,LOL sir i want a technical name .
Image Analyst
on 27 Jun 2016
Ridding, did you read my question? We need the code - the actual lines of code.
riddhi desai
on 27 Jun 2016
Edited: Walter Roberson
on 27 Jun 2016
fs1=im2bw(fs);
figure,imshow(fs1);title('Binarized Image');
se2=strel('disk',3);
fs2=imclose(fs1,se2);title('Filling of Small Holes');
figure,imshow(fs2);
se1=strel('disk',5);title('Removal of small regions');
fs3=imopen(fs2,se1);
%figure,imshow(fs3);title('Final Processed Image');
for i=1:size(fs,1)
for j=1:size(fs,2)
if(fs3(i,j)==1)
fs4(i,j)=fs(i,j);
fk1(i,j)=fh(i,j);
fk2(i,j)=fv(i,j);
else
fs4(i,j)=0;
fk1(i,j)=0;
fk2(i,j)=0;
end
end
end
figure,imshow(fs4);title('Extracted Region');
Labelling and Connected Component Analysis %%%%%
[B,L]=bwboundaries(fs3,'noholes');
hold on
for k = 1:length(B)
boundary = B{k};
plot(boundary(:,2), boundary(:,1), 'y', 'LineWidth', 4)
end
fk3=cat(3,fk1,fs4,fk2);
fk4=hsv2rgb(fk3);
figure,imshow(fk4);title('Extracted Region as in Original Color Image');
Walter Roberson
on 27 Jun 2016
Your question is like asking what the technical name is for the kind of floor that didn't get swept because you brought the wrong size of broom. Hereafter they will be known as "Riddhi floors", and the adjective "Riddhi" shall apply to anything upon which work did not get done because the wrong tool for the job was brought.
Image Analyst
on 27 Jun 2016
The problem is this line:
fs1=im2bw(fs);
That is far, far from an acceptable method to do segmentation on that type of image. You'll have to come up with a better method.
riddhi desai
on 28 Jun 2016
sir i already apply this code on segmented image.so ,and else i also have other question too can u help me in that also?
Image Analyst
on 28 Jun 2016
Yes, perhaps.
riddhi desai
on 30 Jun 2016
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)