Skip to Main Content Skip to Search
Product Documentation

Version 7.2 (R2011a) Image Processing Toolbox

This table summarizes what's new in Version 7.2 (R2011a).

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also Summary.Bug Reports
Includes fixes

The following sections describe new features and changes introduced in this version:

New bwconvhull Function Computes Convex Hull Image

Use bwconvhull to compute the convex hull image from a binary image.

New dicomwrite Option Writes Multiframe Imagery to Single File

Set the new 'MultiframeSingleFile' option of the dicomwrite function to true to write multiframe imagery to one file, regardless of how many frames the input image contains.

nitfread Now Reads NITF Files with JPEG-Compressed Images

If you have NITF files containing JPEG-compressed images, you can now read them using nitfread.

Reduced Memory Use for std2

The std2 function has improved performance for large 1-, 8-, and 16-bit integers.

Compatibility Considerations

Compared to releases before R2011a, the std2 function now returns slightly different results for some images. To receive the same results as previously, use this code:

% For input image im 
if ~isa(im,'double') 
    im = double(im); 
end 
std_old = std(im(:)); 

Reduced Memory Use for watershed

The watershed function is now more memory efficient than it was in releases before R2011a.

Compatibility Considerations

The watershed regions in the label matrix returned by watershed have different indices than they did before R2011a.

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 the image twice. In addition, the original implementation of the Canny filter included an extra morphological thinning step that is not in the published algorithm.

Compatibility Considerations

The edge function no longer smooths an image twice. If you are setting the value of sigma and want similar results to the previous implementation, increase sigma by a factor of sqrt(2).

To achieve the same results produced by the previous implementation, use this syntax:

BW = edge(I,'canny_old',...)

Functions and Function Elements Being Removed

Function or Function Element What Happens When You Use This Function or Element?Use This InsteadCompatibility Considerations
ipttableErrorsuitable

Replace all existing instances of ipttable with uitable.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS