Date: Jan 6, 2013 8:47 AM
Author: Khalid Iqbal
Subject: function to execute in Matlab 2012b

I have a piece of code to execute in Matlab 2012b. It does not work.
In Matlab 2012a, It was fine but it was crashing all the time because of the Java Error.
So, In latest version, another simple problem stopped me to continue my work

-----------------------------------------------------------------------------
imagen = imread('1.jpg');
if size(imagen,3)==3 % RGB image
imagen=uint8(rgb2gray(imagen));%rgb2gray(imagen);
end
REGIONS = detectMSERFeatures(imagen)
-------------------------------------------------------------------------------
I get the following error:
Undefined function 'detectMSERFeatures' for input arguments of type 'uint8'.
---------------------------------------------------------------------------------------------------------

Can someone help me? I will be highly thankful

Best Regards

MG