Image Processing Toolbox™ Release Notes
How to Contact MathWorks Latest news: www.mathworks.com Sales and services: www.mathworks.com/sales_and_services User community: www.mathworks.com/matlabcentral Technical support: www.mathworks.com/support/contact_us Phone: 508-647-7000 The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 Image Processing Toolbox™ Release Notes © COPYRIGHT 2000–2015 by The MathWorks, Inc. The software described in this document is furnished under a license agreement.
Contents R2015a C-code generation support for more than 20 functions, including regionprops, watershed, bweuler, bwlabel, bwperim, and multithresh using MATLAB Coder . . . . . . . 1-2 App for batch processing sets of images . . . . . . . . . . . . . . . . 1-2 Fast geodesic interactive segmentation . . . . . . . . . . . . . . . . . 1-4 Optimized function for Gaussian filtering . . . . . . . . . . . . . . . 1-4 Fill entire region including border pixels . . . . . . . . . . . . . . .
R2014b Apps for image segmentation and region analysis . . . . . . . . Image Segmenter app . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Image Region Analyzer app . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 2-2 2-4 C-code generation support for 16 additional functions using MATLAB Coder, including bwtraceboundary, imadjust, imclearborder, and medfilt2 . . . . . . . . . . . . . . . . . . . . . . . . . 2-5 Nonrigid image registration . . . . . . . . . . . . . . . . . . . . . . . .
GPU acceleration for an additional nine functions, including bwdist, imfill, imreconstruct, iradon, radon, and stretchlim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 App for color image thresholding . . . . . . . . . . . . . . . . . . . . . . 3-2 Image quality metrics, including peak signal to noise (psnr) and structured similarity metric (ssim) . . . . . . . . . . . . . . . 3-3 Guided filtering for image enhancement . . . . . . . . . . . . . . . .
R2013a Image segmentation using active contours . . . . . . . . . . . . . . 5-2 Classes and functions for representing and applying 2-D and 3-D geometric transformations . . . . . . . . . . . . . . . . . . . . . . 5-2 Classes for defining world coordinate system of an image . . 5-2 Code generation for conndef, imcomplement, imfill, imhmax, imhmin, imreconstruct, imregionalmax, imregionalmin, iptcheckconn, and padarray functions (using MATLAB Coder) . . . . . . . . . . . . . . . . . . . . . . . . . . .
Writing private metadata when anonymizing DICOM files . . . 6-3 Expanded color options with imshowpair . . . . . . . . . . . . . . . 6-3 Performance improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 New Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 R2012a Intensity-Based Image Registration . . . . . . . . . . . . . . . . . . . . 7-2 Two New Functions to Visually Compare Images . . . . . . . . .
New graydist Function Computes Gray-Weighted Distance Transform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 New imapplymatrix Function Computes Linear Combination of Color Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Performance Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . Faster Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 8-2 hdrread Now Correct for Small Values . . .
edge Function No Longer Smooths Image Twice . . . . . . . . . 9-3 Functions and Function Elements Being Removed . . . . . . . . 9-4 R2010b New corner Function Detects Corners in Image . . . . . . . . . 10-2 Efficient Display and Navigation of Very Large Images of Arbitrary Format in imtool . . . . . . . . . . . . . . . . . . . . . . . . 10-2 Now Possible to Control Padding Behavior when Using the blockproc Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Plot Selector Now Generates Plots for imshow and imtool 11-2 makecform Now Supports White Point Adaptation . . . . . . . 11-2 Intel Integrated Performance Primitives Library Support Extended to imdilate, imerode, and medfilt2 . . . . . . . . . . 11-2 imreconstruct Now Supports int64 and uint64 . . . . . . . . . . 11-3 Performance Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . Faster Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Performance Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . Faster Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multithreaded Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5 12-5 12-6 R2009a Faster, Less Memory-Intensive Workflow for Labeling Regions and Measuring Their Properties . . . . . . . . . . . . . 13-2 Multithreaded Implementation of imfilter Function . . . . . .
New cornermetric Function Detects Corners . . . . . . . . . . . 14-2 Now Support Absolute Colorimetric Rendering Intent for GrayTRC and MatTRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2 New createMask Method Creates Mask for Any ROI . . . . . . 14-2 Interactive Tools Refresh when Target Image Changes . . . 14-2 The imscrollpanel 'PreserveView' Parameter Now Works for Images of All Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enhancements to ROI Tools . . . . . . . . . . . . . . . . . . . . . . . . . . ROI Tools Reimplemented as MATLAB Classes . . . . . . . . . ROI Tools Support New wait and resume Methods . . . . . . . Interactively Add New Vertices to ROI Polygons . . . . . . . . . 15-2 15-2 15-3 15-3 Enhancements to Color Functions . . . . . . . . . . . . . . . . . . . . makecform Supports Converting Between sRGB and CMYK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Support for Reading NITF and HDR Images . . . . . . . . . . . . 16-4 Enhanced Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4 DICOM Dictionary Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4 Changes to Other Functions . . . . . . . . . . . . . . . . . . . . . . . . . 16-4 R2007a Enhancements to imresize Function . . . . . . . . . . . . . . . . . . . 17-2 applycform Supports Tetrahedral Interpolation . . . . . . . . .
Enhancements to ICC Color Capabilities . . . . . . . . . . . . . . . 18-2 Enhancements to the imdistline Function . . . . . . . . . . . . . . 18-2 setColor Method Accepts Predefined Color Strings . . . . . . 18-3 R2006a Enhanced ICC Profile Capabilities . . . . . . . . . . . . . . . . . . . . 19-2 New Pointer Management Functions . . . . . . . . . . . . . . . . . . 19-2 New Constraint Creation Function . . . . . . . . . . . . . . . . . . . . 19-2 Functions cp2tform, tforminv, imtransform . . . .
Control Point Selection Tool Now Works on Macintosh Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-3 Obsolete and Deleted Functions . . . . . . . . . . . . . . . . . . . . . . 20-3 Image Tool is Not Compilable . . . . . . . . . . . . . . . . . . . . . . . . 20-3 R14SP2 xvi Contents Major Bug Fixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Major Revisions to Fan-Beam Functions . . . . . . . . . . . . . . .
R2015a Version: 9.
R2015a C-code generation support for more than 20 functions, including regionprops, watershed, bweuler, bwlabel, bwperim, and multithresh using MATLAB Coder The following table lists the Image Processing Toolbox™ functions that have been enabled for code generation in this release. For all target platforms, these functions generate C code.
app, you specify the folder and the function that you want executed. For an example, see “Batch Processing Using the Image Batch Processor App”.
R2015a Fast geodesic interactive segmentation The toolbox includes a new function, imseggeodesic, that provides adaptive, geodesic distance-based binary or trinary segmentation for color images. With this function, you can specify a few pixels, called scribbles, belonging to the different regions (for example, background and foreground in binary segmentation) in the image, and from them the whole image is automatically segmented.
Live image capture in Color Thresholder app You can now do color thresholding on an image acquired from a Webcam using the Color Thresholder app. The new Image Capture tab allows you to bring a live image from USB Webcams into the app. Previously, you had to save your images to disk and manually add them into the app.
R2014b Version: 9.
R2014b Apps for image segmentation and region analysis The toolbox includes new apps: • Image Segmenter app • Image Region Analyzer app Image Segmenter app The Image Segmenter app enables you to segment images using the active contours algorithm. In this app, you first initialize the segmentation by specifying a rough segmentation or initial condition. When you click Evolve, the app evolves the initial segmentation, performing the number of iterations you specify, creating a binary mask image.
2-3
R2014b Image Region Analyzer app The Image Region Analyzer app enables you to explore binary images and filter images based on the properties of regions in the image. For example, you can filter an image to remove all objects smaller than a particular size. The following figure shows the Image Region Analyzer app. When you select the value of a property in the table, the app highlights the corresponding region in the image.
C-code generation support for 16 additional functions using MATLAB Coder, including bwtraceboundary, imadjust, imclearborder, and medfilt2 This release includes 16 additional toolbox functions that support the generation of C code using MATLAB Coder. Some Image Processing Toolbox functions generate C code that depends on a platform-specific shared library (.dll, .so, or .dylib).
R2014b registration that work at a global level, applying the same mathematical transformation to every pixel in an image. Now the toolbox supports a function that works at a local level, capable of applying different transformations to every image pixel. The imregdemons function returns the warped image and a displacement field that describes how each pixel is transformed. Image warping using displacement fields The imwarp function now accepts the displacement field returned by the imregdemons as input.
activecontour function supports parameter to control tendency of contour to expand or contract The activecontour function supports a new parameter, ContractionBias, that influences whether the contour grows outward or shrinks inward during segmentation. Region-of-Interest (ROI) functions now support deletion from context menu The imellipse, imfreehand, imline, impoint, impoly, and imrect functions, that you use to define regions of interest in images, now support a deletion option from their context menus.
R2014a Version: 9.
R2014a C-code generation for more than 25 functions, including edge, imfilter, imwarp, imopen, imclose, imerode, and imdilate using MATLAB Coder You can generate standalone C code for a group of toolbox functions, listed below. Generating code requires MATLAB Coder.
Image quality metrics, including peak signal to noise (psnr) and structured similarity metric (ssim) The toolbox includes two new functions, ssim and psnr, that compute image quality metrics. Guided filtering for image enhancement The toolbox includes a new function, imguidedfilter, that provides an edge-preserving nonlinear filter for use with images.
R2014a Phase correlation and translation-only image registration functions The toolbox includes a new function, imregcorr, that applies an FFT-based transform to register two images with regard to translation, rotation, and scale. The toolbox includes a new function, imtranslate, that applies a translation transformation to an input image and returns the transformed image.
Old Example File Name New Example File Name ipexmri.m MRISliceExample.m ipexndvi.m MultispectralVegetationSegmentationExample.m ipexnormxcorr2.m RegisterNormalizedCrossCorrelationExample.m ipexpendulum.m PendulumLengthExample.m ipexprops.m MeasureGrayscaleRegionsExample.m ipexradius.m MeasureRadiusExample.m ipexreconstruct.m ReconstructImageExample.m ipexregularized.m RegularizedImageDeblurringExample.m ipexrice.m NonuniformIlluminationExample.m ipexrotate.m RotationFitgeotransExample.
R2014a Compatibility Considerations While the new algorithm used with regionprops returns more accurate perimeter calculation, you can get the same return value as previous releases by specifying the ‘perimeterold’ option.
R2013b Version: 8.
R2013b GPU acceleration for more than 20 functions, including bwmorph, edge, imresize, and medfilt2 This release introduces GPU acceleration for a group of toolbox functions, listed below. GPU acceleration for these functions requires Parallel Computing Toolbox software and meeting the GPU computing requirements detailed here.
fitgeotrans function for fitting geometric transformation to control point pairs The toolbox includes a new function, fitgeotrans, that takes pairs of control points and uses them to infer a geometric transformation. The function returns a geometric transformation object that can be used with imwarp.
R2013a Version: 8.
R2013a Image segmentation using active contours The toolbox includes a new function, activecontour, for segmenting an image using active contours. Classes and functions for representing and applying 2-D and 3-D geometric transformations The toolbox includes several new classes for representing 2-D and 3-D geometric transformations, listed below.
imhmin imreconstruct imregionalmax imregionalmin iptcheckconn padarray GPU acceleration for imrotate, imfilter, imdilate, imerode, imopen, imclose, imtophat, imbothat, imshow, padarray, and bwlookup functions (using Parallel Computing Toolbox) This release introduces GPU acceleration for a group of toolbox functions, listed below. GPU acceleration for these functions requires Parallel Computing Toolbox software and meeting the GPU computing requirements detailed here.
R2012b Version: 8.
R2012b Image gradient computation with imgradient and imgradientxy functions The toolbox includes two new functions for computing image gradients: imgradient and imgradientxy. imgradient computes the gradient magnitude and direction. imgradientxy computes the X and Y directional gradients Histogram matching with imhistmatch function The new function imhistmatch adjusts the histogram of an image to match the N-bin histogram of a reference image.
Writing private metadata when anonymizing DICOM files The dicomanon function now supports writing private metadata fields using the 'WritePrivate' parameter Expanded color options with imshowpair imshowpair now supports additional color options for displaying image differences and stereo imagery when using the new 'ColorChannels' parameter. Using the 'redcyan' value with this parameter is particularly useful for viewing stereo anaglyphs.
R2012a Version: 8.
R2012a Intensity-Based Image Registration The new imregister function lets you automatically align two images using intensity values, even when the images were created by two different devices (multimodal). With intensity-based registration, you do not need to specify control points. You use the new imregconfig function to create the optimizer and the metric that imregister uses to specify the desired registration parameters.
Data Type Change to Output Variable for bwdist The bwdist function returns two output variables: the Euclidean distance transform and the closest-pixel map. The data type of the second output variable, the closest-pixel map, has changed. Compatibility Considerations Before R2012a, the data type of the second output variable returned by the bwdist function was single. Now the data type of the second output variable returned by bwdist is dynamically chosen.
R2011b Version: 7.
R2011b Parallel Block Processing Now Possible with blockproc If you have Parallel Computing Toolbox, you can now use a new option in blockproc to improve performance of block processing tasks. Set the 'UseParallel' argument to true to use this option. New bwdistgeodesic Function Computes Geodesic Distance Transform Use bwdistgeodesic to compute the geodesic distance transform for a binary image.
Change in Behavior for dicomwrite If you use the dicomwrite function with the 'CreateMode' option set to 'Create' and pass in a data structure that contains the 'InversionTime' tag, you will always receive 'InversionTime' in your output. Compatibility Considerations Before R2011b, if your input structure contained the 'InversionTime' field, the DICOM file may or may not contain the 'InversionTime' field. The inclusion of 'InversionTime' depended on other parameters.
R2011b Functionality What Happens When You Use This Functionality? edge function — Errors marr-hildreth syntax 8-4 Use This Instead Compatibility Considerations edge(I, The syntax 'marr-hildreth', edge(I,'marrhildreth',...) ...) has been removed. Use the edge(I,'log',...) syntax instead. imfeature Errors regionprops imfeature has been removed. Use regionprops instead. immovie — immovie(D,size) Errors immovie(X,map) immovie(D,size) is an obsolete syntax and is no longer supported.
Functionality What Happens When You Use This Functionality? Use This Instead imshow function — imshow(..., DISPLAY_OPTION) Errors imshow(..., • The syntax 'InitialMagnification', imshow(...,'truesize') 100) has been or Compatibility Considerations removed. Use the imshow(..., imshow(..., 'InitialMagnification',100 'InitialMagnification', syntax instead. 'fit') • The syntax imshow(...,'notruesize') has been removed. Use the imshow(..., 'InitialMagnification','fi syntax instead.
R2011b Functionality What Happens When You Use This Functionality? Use This Instead iptsetpref function — Errors 'ImshowTruesize' preference 'ImshowInitialMagnification' Replace iptsetpref function — Errors 'ImtoolInitialMagnification' Replace 'ImviewInitialMagnification' preference preference preference 8-6 Compatibility Considerations all existing instances of 'ImshowTruesize' with 'ImshowInitialMagnificatio all existing instances of 'ImviewInitialMagnificatio with 'ImtoolInitialMagnificati
Functionality What Happens When You Use This Functionality? Use This Instead Compatibility Considerations uintlut Errors intlut uintlut has been removed. Use intlut instead. wiener2 function — wiener2(I, [m n],[mblock nblock],...) syntax Errors wiener2(I,[m n]) The syntax wiener2(I,[m n], or wiener2(I,[m [mblock nblock]) n],noise) has been removed. Use the wiener2(I, [m n]) syntax instead. The syntax wiener2(I, [m n],[mblock nblock],noise) has been removed.
R2011a Version: 7.
R2011a 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.
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.
R2011a 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',...
R2010b Version: 7.
R2010b New corner Function Detects Corners in Image The new corner function detects corners in a grayscale or binary image. Corners are a feature you can use to find the correspondence between images. Compatibility Considerations In R2008b and later releases, you could find corners by computing a cornermetric matrix with the cornermetric function and then finding peak values. Now, you can simplify your workflow by using the corner function.
The ImageMagnification Field of the nitfinfo Function Now Returns a Numeric Value The ImageMagnification field of the nitfinfo function has been updated. Previously, if you used the function to return a structure with file-level metadata, the ImageMagnification field of the structure contained an incorrect value. (The incorrect value was either an empty image magnification value or the text value for the field.) Now, the ImageMagnification field returns the value for the image magnification.
R2010a Version: 7.
R2010a New ImageAdapter Class Supports Custom File Formats for blockproc The blockproc function, introduced in R2009b, supported file-based block processing for arbitrarily large images. In R2009b, you could use blockproc to read or write TIFF images or to read JPEG2000 images. Now, with the addition of the new ImageAdapter class, you can design your own class to use blockproc with images of arbitrary file format.
The medfilt2 function is now hardware optimized for integer data types (uint8, uint16, and int16) and the single data type with kernel size 3 x 3. imreconstruct Now Supports int64 and uint64 The imreconstruct function now supports data types int64 and uint64.
R2010a C = improfile(I,xi,yi,N) has changed. In the syntax above, N specifies the number of points for which to compute intensity values and xi and yi specify the spatial coordinates of the endpoints of the line segments. For a given line defined by xi and yi, improfile now returns a profile sampled at both endpoints and all sampling points in between at roughly unit interval spacing. If the distance between xi and yi is N pixels, the profile is evaluated at N+1 points.
R2009b Version: 6.
R2009b New blockproc Function to Process Large Images The new blockproc function supports file-based block processing for arbitrarily large TIFF images. The new function supports in-memory operations as well as file-to-file processing of images which are too large to load completely into memory. Compatibility Considerations In previous releases, you could use the blkproc function for in-memory block-processing of images. The blkproc function will be removed in a future release.
Intel Integrated Performance Primitives Library Upgraded and Support Extended to maci64 The Intel® Integrated Performance Primitives (Intel IPP) Library has been upgraded from Version 5.3.1 to Version 6.0 Update 1. Intel IPP Library support has been extended to 64-bit Intel-based Mac computers.
R2009b Parameter Description 'ThetaResolution' Real scalar value between 0 and 90, exclusive, that specifies the spacing (in degrees) of the Hough transform bins along the theta axis. Default: 1. For 'ThetaResolution', ntheta = 2*ceil(90/ThetaResolution). theta angle values are in the range [-90, 90) degrees. If 90/ThetaResolution is not an integer, the actual angle spacing is 90/ceil(90/ThetaResolution).
Modified Behavior for the regionprops ConvexHull Property The 'ConvexHull' property of regionprops depends on the MATLAB convhull function. Due to changes in convhull, the results returned by 'ConvexHull' will now be slightly different than in previous releases. Compatibility Considerations The order of the vertices returned by the 'ConvexHull' property of regionprops may differ from that returned in releases before R2009b.
R2009b Multithreaded Functions • applylut • bwpack • bwunpack • imdilate • imerode • imreconstruct 12-6
R2009a Version: 6.
R2009a Faster, Less Memory-Intensive Workflow for Labeling Regions and Measuring Their Properties The bwconncomp function computes connected components for binary images. It uses significantly less memory and is sometimes faster than bwlabel and bwlabeln. To extract features from a binary image using regionprops with default connectivity, just pass BW directly into regionprops (i.e., regionprops(BW)). To compute a label matrix having more memory-efficient data type (e.g.
In previous releases, if you changed the preferences with the iptsetpref command, these changes would revert to the default setting when you finished a MATLAB session. Now, if you change preferences, these changes will remain intact from one MATLAB session to the next. New imcolormaptool Function That Opens Choose Colormap Tool The new function imcolormaptool opens the Choose Colormap tool. The Choose Colormap tool allows you to interactively change the colormap of a displayed image.
R2009a getColor, getLabelVisible, and setLabelVisible Methods Added to imdistline imdistline now includes a getColor method that returns the color used to draw a specific ROI object. Also, the new getLabelVisible and setLabelVisible methods make it possible to control the visibility of the Distance tool text label. Five Functions Moved to MATLAB The following five functions moved from the Image Processing Toolbox to MATLAB: cmpermute, cmunique, dither, imapprox, and rgb2ind.
R2008b Version: 6.
R2008b Performance Improvements The performance of several existing toolbox functions has been improved in this release, including: • Binary erosion and dilation (imdilate, imerode, bwhitmiss, and rangefilt) • graycomatrix • Image arithmetic and filtering now leverage the IPP Library on 32- and 64-bit Windows and Linux platforms. New cornermetric Function Detects Corners New cornermetric function detects corners.
the same size as your original image. The new image will appear with the center of view in the same relative position as in the original image. Compatibility Considerations In previous releases, the default for different size images was for the new image to appear centered and at 100% magnification. Distance Tool and Cropping Tool Now Modes in imtool The Distance tool and Cropping tool have been modified.
R2008b Compatibility Considerations In previous releases, when you opened the Adjust Contrast tool, the Window/Level tool automatically turned on at the same time. Note that the Window/Level tool still turns on when you call imcontrast from the command line. immovie Command No Longer Shows Preview immovie no longer opens a figure window to display the movie as it is being created. You can display and explore the output of immovie using implay.
R2008a Code R2008b Code for idx = 1:numel(values) val = values{idx}; if ~ischar(val) || size(val,1) > 1 values{idx} = evalc('disp(values{idx})'); end end table = uitable(parent,'Data', [field_names values]); Code written in previous releases that depends on ipttable will begin to warn and eventually error in later releases. imcontour Second Output Argument Changed The second output argument of imcontour is now a handle to an hggroup object instead of an array of handles to patch objects.
R2008b the impixelinfo tool would update to reflect changes to the image. Now you must call the impixelinfo tool again after opening the second image. Some Code Moved into Different Directories • Colorspace functionality moved into the new toolbox/images/colorspaces directory. • Medical file formats moved into the toolbox/images/iptformats directory with other file formats, and the toolbox/images/medformats directory was removed.
R2008a Version: 6.
R2008a Create High Dynamic Range (HDR) Images and Write Them to Files Create a high dynamic range image from a group of low dynamic range images using the new makehdr function. The low dynamic range images must be spatially registered. You can write the HDR image to a file using the hdrwrite function. These functions complement the hdrread and tonemap functions introduced in R2007b.
api = iptgetapi(h) api.method() Compatibility Considerations The class of the data returned by the ROI tools is now a handle to an ROI class, such as imline or impoly. In addition, several undocumented methods supported by the ROI tools have been removed: getContextMenu, setContextMenu, getDrawAPI, addCallback, and removeCallback. ROI Tools Support New wait and resume Methods The ROI tools now support wait and resume methods so that they can be used in scripts.
R2008a aliasing to avoid writing tag data multiple times when it is included in more than one profile table. cp2tform Function Supports New Transformations The cp2tform function supports two new transformation types: 'similarity' and 'nonreflective similarity'. Compatibility Considerations The 'linear conformal' transformation type supported by the cp2tform function has been renamed to 'nonreflective similarity'.
• Detecting Cars in a Video of Traffic is a new demo that shows how to use the toolbox to visualize and analyze videos or image sequences. • Measuring Regions in Grayscale Images is a new demo that shows how to use the regionprops function with grayscale images. Enhancements to Other Functions This release includes changes to the following functions.
R2007b Version: 6.
R2007b New Interactive Image Sequence and Video Viewer The toolbox now supports a new interactive image sequence viewer, called the Movie Player (implay). Using the Movie Player you can: • Play a MATLAB movie, AVI file, or multidimensional array. • Step through a movie or sequence of images, frame-by-frame, or jump to the beginning or end of the sequence. • Examine a frame using the Pixel Region tool or export the frame to the Image Tool.
returns a low-pass filtered version of the image, half the size of the original image. If you specify the 'expand' parameter, impyramid returns a filtered image twice the size of the original image. impyramid uses convolution with a Gaussian filter kernel to produce the images. Enhanced ROI Definition Behavior for imcrop, roifill, and roipoly The imcrop, roifill, and roipoly functions now let you define an ROI and then adjust the size and position of the ROI interactively using the mouse.
R2007b Each of the ROI creation functions supports an API that you can use to control aspects of its behavior and appearance. For example, you can use API functions to specify the position of the ROI or retrieve the coordinates of its current position. Support for Reading NITF and HDR Images • Read metadata from a National Imagery Transmission Format (NITF) file using nitfinfo. • Read an image from a NITF file using nitfread. • Read high dynamic range (HDR) images using hdrread.
Function Description of Change imshow Is not supported when MATLAB is started with the nojvm option. imhist Can now be embedded in custom GUIs. fanbeam,ifanbeam,fan2para,para2fan The fan-beam functions now return different answers than in previous releases due to a bug fix. imadjdemo This demo has been deleted from the toolbox.
R2007a Version: 5.
R2007a Enhancements to imresize Function imresize now runs faster, uses less memory, supports new interpolation methods, and supports new options for specifying output size. Compatibility Considerations The imresize function has been completely rewritten with new algorithms, new options, and new syntaxes. If you need the results produced by the version of imresize in previous releases, use the imresize_old function.
Enhancements to impoint, imline, and imrect Functions The impoint, imline, and imrect function now support an interactive placement capability. Using the mouse, you can specify the initial position of the point, line, or rectangle. In addition, the imrect function now supports interactive resizing using the mouse. See the reference pages for these functions for more information and examples.
R2007a Compatibility Considerations If you need to obtain the same results as the previous algorithm, use the function watershed_old. Changes to Other Functions This release includes changes to the following functions. 17-4 Function Description of Change imshow New 'border' parameter, to control whether imshow includes a border around the image displayed, and 'parent' parameter, to specify the axes in which to display the image.
R2006b Version: 5.
R2006b Enhancements to DICOM Capabilities This release includes the following new features and enhancements to the DICOM capabilities of the Image Processing Toolbox: • The toolbox includes a new function, dicomlookup, that provides a way to find the name of an attribute in a DICOM data dictionary by specifying its group and element tags, or find the group and element tags for an attribute by specifying its name.
line. The function uses a hand cursor over endpoints and a fleur cursor over the body of the line. • The imdistline function reference page now includes an example that shows how to use the XData and YData properties of the associated image to express distance in non-pixel units. Compatibility Considerations The Distance Tool's getAngleFromHorizontal method now returns a value between 0 and 180 degrees. Previously, this function incorrectly returned a value between 0 and 90.
R2006a Version: 5.
R2006a Enhanced ICC Profile Capabilities The iccread and iccwrite functions have been updated to support recent changes to the ICC specification. In addition, iccread can now read and process the following additional profile types: • DeviceLink profiles — Provide transformation from one device space to another. • ColorSpace profiles — Provide transformation between a non-device color space and the profile connection space (PCS).
Compatibility Considerations If you have a transformation structure (TFORM) saved from an older version, you may want to regenerate it from control points to get improved performance. IPPL Not Used on 64-Bit Systems Certain functions in the Image Processing Toolbox, such as the image arithmetic functions, use the Intel Performance Primitives Library (IPPL), if it's available. (See ippl for more information.) Note that these functions do not use the IPPL on 64-bit systems.
R14SP3 Version: 5.
R14SP3 Support for Two New Medical Image File Formats The toolbox now includes functions for reading metadata and image data from two additional medical image file formats. Analyze 7.5 and Interfile. For more information, see Reading and Writing Data in Medical Formats. New Point, Rectangle, and Line Functions The toolbox includes three functions, impoint, imline, and imrect, that you can use to create draggable points, lines, and rectangles in a figure window.
Control Point Selection Tool Now Works on Macintosh Systems The Control Point Selection Tool now works on Macintosh systems. Obsolete and Deleted Functions Compatibility Considerations The following table lists toolbox functions that have been made obsolete or removed in this version. Function Enhancement impositionrect This function is obsolete. Use imrect to perform the same tasks. pixval This function is obsolete. It now issues a warning when used.
R14SP2 Version: 5.0.
R14SP2 Major Bug Fixes This release contains the following bug fixes. Major Revisions to Fan-Beam Functions This release includes numerous updates and improvements to the fan-beam functions: fanbeam, ifanbeam, fan2para, and para2fan. The fixes include improved calculations, improved documentation, and examples. For example, fanbeam now returns the correct sensor locations when the geometry is 'line'.
Function Bug Fixes dicomread No longer errors when reading files that contain extraneous pixel data; instead, dicomread issues a warning message. However, if the file does not contain enough pixel data, dicomread issues an error. dicomwrite • No longer is case sensitive when parsing input parameters. For example, you can specify either 'CreateMode' or 'createmode'. • Preserves the full precision of data converted to decimal string metadata. Previously, dicomwrite limited precision to six digits.
R14SP2 tool contained an image. If the Image Tool contains an image, the newly imported image is displayed in a new Image Tool using the default preferences. • The Image Tool zoom buttons can now be used on an image that has superimposed vector data. • The Image Tool toolbar buttons no longer create multiple versions of the modular interactive tools when clicked rapidly in quick succession. • The Image Information tool now displays correctly on Linux systems. Previously, it displayed as a blank window.
Function Enhancement improved and is now a private function, rather than a subfunction. imhist No longer causes a docked figure window to become undocked. imrotate Now correctly rotates N-dimensional arrays, where N is greater than 3. In previous releases, imrotate would accept N-D arrays but only return a 3-D array. normxcorr2 Now always returns real values.