Valid image commands for Student Version 7.12.0 (R2011a)

3 次查看(过去 30 天)
I am trying to get back into Matlab after a few years absence.
In trying to process images, some of the commands to which I find internet references do not seem to be recognised. These commands include imshow and regionprops.
I want to start by finding a centroid of a simple image, and as I get the hang of it, monitor consecutive images. Is it just that the version that I am using is too primitive for these commands? or is it that I need to install additional tools? and if so from where?

采纳的回答

Bruce Willis
Bruce Willis 2014-2-7
Thank you Walter. That is good to know. Unfortunately I no longer have my installation disc.
I assume that I may be able to download that module to install it?
  5 个评论
Bruce Willis
Bruce Willis 2014-2-13
Thank you for your responses. The 'Person' to which i referred was a black and white png file. I was able to load and view this file, but was not able to successfully utilise regionprops.
'Inventor' is a CAD modelling package. I simply used it to create a 50 frame AVI file of a black dot moving across a white background. From this I was hoping to be able to extract frames and then utilise regionprops. I have been able to locate copies of original installaion CD. I cannot find rhinos.avi.
To what does that refer?
Image Analyst
Image Analyst 2014-2-13
Like I said, Person is not a binary or labeled image - it's a gray scale image. Just because it has black and white (0 and 255) does not mean it's a binary image with values of true and false. If you want all 255 pixels to be foreground, then you can threshold your image, then label it, and then pass it into regionprops:
Person = imread ('user.png'); % image (Person)
Person = Person > 128; % Threshold.
labeledImage = bwlabel(Person); % For use in regionprops.
imshow (Person);
If you have the Image Processing Toolbox installed, you should have this file: C:\Program Files\MATLAB\R2011a\toolbox\images\imdemos\rhinos.avi. It's a standard demo movie that the IPT ships with.

请先登录,再进行评论。

更多回答(2 个)

Andreas Goser
Andreas Goser 2014-2-6
编辑:Andreas Goser 2014-2-6
Student Version (SV) had different toolboxes bundled with it to different times. If you type
ver
in the Command Window, it will tell you which tolboxes you have.
IMSHOW and REGIONPROPS are part of the Image Processing Toolbox and comes with today's SV

Walter Roberson
Walter Roberson 2014-2-6
The R2011a Student Version did include the Image Processing Toolbox, but it was not installed by default. You need to go back to your installer and select it.

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by