using Regionprops in R2008a version

1 view (last 30 days)
NagaPavani
NagaPavani on 10 Mar 2014
Edited: Image Analyst on 15 Mar 2014
Hi,I have a trouble in executing regionprops function in R2008a. But it is executing in other versions. Please help me with this.
Thaks in advance.
  3 Comments
Image Analyst
Image Analyst on 12 Mar 2014
So use the other versions which are working. At 6 years old, it's about time you upgraded anyway. Are the other versions newer or older or both?
NagaPavani
NagaPavani on 15 Mar 2014
I need it to be executed in R2008a only. But, thanks for your response. I got it.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 15 Mar 2014
You say you got it. What was the issue that prevented it from running in R2008a but it ran fine in all other versions you tried?
  3 Comments
NagaPavani
NagaPavani on 15 Mar 2014
It ran in all other versions.
Image Analyst
Image Analyst on 15 Mar 2014
Edited: Image Analyst on 15 Mar 2014
There was a change, starting with R2008b I believe, where regionprops could take a binary image directly and did the labeling internally . R2008b was also the first version where you could pas sin a graylevel image. Perhaps you were using code designed for a more modern version. Like all functions, if new features are added, then they are not available in older versions. Was R2008a the oldest of the version you tried? If you want to show your line of code that calls regionprops I could look at it.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!