User`s guide
9-3
Also, the label matrix returned by watershed was class double in previous releases,
and is now an unsigned integer class.
If you want to return a label matrix of class double, as you did before, use the double
function to convert it:
L = watershed(A);
L = double(L);
iccread and iccwrite Now Warn in Cases of Unrecognized
PrimaryPlatform Signatures
If iccread or iccwrite encounter an unrecognized PrimaryPlatform signature in the profile
header, they will warn. In releases before R2011a, these functions would error instead of
warn in cases with unrecognized PrimaryPlatform signatures.
Plot Selector Now Includes implay
The implay function has been added to the list of functions available in the Plot Selector.
You can now display data in implay directly from the Plot Selector workspace tool. For
details about the Plot Selector, see Enhanced Plot Selector Simplifies Data Display.
Support for Code Generation from MATLAB
You can now generate standalone C code for two Image Processing Toolbox functions:
label2rgb and fspecial. The generated C code meets the strict memory and data type
requirements of embedded target environments. To generate this code you need
a MATLAB Coder license. See the Code Generation for Image Processing Toolbox
Functions chapter in the User's Guide for details, including limitations.
edge Function No Longer Smooths Image Twice
In previous releases, the implementation of the Canny filter, called with the canny
method of the edge function, smoothed the image twice while constructing the gradient
image. The function smoothed the image once using a Gaussian filter and then used a
first derivative of a Gaussian filter to extract a smoothed version of the image gradient.
Smoothing an image and then differentiating it is the same as convolving the image with
a derivative of the smoothing kernel, so this implementation had the effect of smoothing