Valid image commands for Student Version 7.12.0 (R2011a)

2 views (last 30 days)
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?

Accepted Answer

Bruce Willis
Bruce Willis on 7 Feb 2014
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 Comments
Bruce Willis
Bruce Willis on 13 Feb 2014
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 on 13 Feb 2014
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.

Sign in to comment.

More Answers (2)

Andreas Goser
Andreas Goser on 6 Feb 2014
Edited: Andreas Goser on 6 Feb 2014
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 on 6 Feb 2014
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.

Community Treasure Hunt

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

Start Hunting!