Você está na página 1de 14

Function Reference

Image Display and Exploration GUI Tools Spatial Transformation and Image Registration Image Analysis and Statistics

Alphabetical List Class Reference Display, import, and export images Modular interactive tools and associated utility functions. Spatial transformation and image registration Image analysis, texture analysis, view pixel values, and calculate image statistics Add, subtract, multiply, and divide images Enhance and restore images Linear filters, filter design, and image transforms Morphological image processing ROI-based, neighborhood, and block operations Manipulate image color Array operations, demos, preferences and other toolbox utility functions

Image Arithmetic Image Enhancement and Restoration Linear Filtering and Transforms Morphological Operations ROI-Based, Neighborhood, and Block Processing Colormaps and Color Space Utilities

Back to Top

Image Display and Exploration


Image Display and Exploration Image File I/O Image Types and Type Conversions Display and explore images Import and export images Convert between the various image types

Back to Top of Section

Image Display and Exploration

immovie implay imshow imtool montage subimage warp

Make movie from multiframe image Play movies, videos, or image sequences Display image Image Tool Display multiple image frames as rectangular montage Display multiple images in single figure Display image as texture-mapped surface

Back to Top of Section

Image File I/O


analyze75info analyze75read dicomanon dicomdict dicominfo dicomlookup dicomread dicomuid dicomwrite hdrread hdrwrite interfileinfo interfileread isrset makehdr nitfinfo nitfread openrset rsetwrite tonemap Read metadata from header file of Analyze 7.5 data set Read image data from image file of Analyze 7.5 data set Anonymize DICOM file Get or set active DICOM data dictionary Read metadata from DICOM message Find attribute in DICOM data dictionary Read DICOM image Generate DICOM unique identifier Write images as DICOM files Read high dynamic range (HDR) image Write Radiance high dynamic range (HDR) image file Read metadata from Interfile file Read images in Interfile format Check if file is R-Set Create high dynamic range image Read metadata from National Imagery Transmission Format (NITF) file Read image from NITF file Open R-Set file Create reduced resolution data set from image file Render high dynamic range image for viewing

Back to Top of Section

Image Types and Type Conversions


demosaic gray2ind grayslice Convert Bayer pattern encoded image to truecolor image Convert grayscale or binary image to indexed image Convert grayscale image to indexed image using multilevel thresholding

graythresh im2bw im2double im2int16 im2java2d im2single im2uint16 im2uint8 ind2gray ind2rgb label2rgb mat2gray rgb2gray

Global image threshold using Otsu's method Convert image to binary image, based on threshold Convert image to double precision Convert image to 16-bit signed integers Convert image to Java buffered image Convert image to single precision Convert image to 16-bit unsigned integers Convert image to 8-bit unsigned integers Convert indexed image to grayscale image Convert indexed image to RGB image Convert label matrix into RGB image Convert matrix to grayscale image Convert RGB image or colormap to grayscale

Back to Top

GUI Tools
Modular Interactive Tools Navigational Tools for Image Scroll Panel Utilities for Interactive Tools Modular interactive tool creation functions Modular interactive navigational tools Modular interactive tool utility functions

Back to Top of Section

Modular Interactive Tools


imageinfo imcontrast imdisplayrange imdistline impixelinfo impixelinfoval impixelregion impixelregionpanel Image Information tool Adjust Contrast tool Display Range tool Distance tool Pixel Information tool Pixel Information tool without text label Pixel Region tool Pixel Region tool panel

Back to Top of Section

Navigational Tools for Image Scroll Panel


immagbox imoverview imoverviewpanel imscrollpanel Magnification box for scroll panel Overview tool for image displayed in scroll panel Overview tool panel for image displayed in scroll panel Scroll panel for interactive image navigation

Back to Top of Section

Utilities for Interactive Tools


axes2pix Convert axes coordinates to pixel coordinates getimage Image data from axes getimagemodel Image model object from image object imattributes Information about image attributes imellipse Create draggable ellipse imfreehand Create draggable freehand region imgca Get handle to current axes containing image imgcf Get handle to current figure containing image imgetfile Open Image dialog box imhandles Get all image handles imline Create draggable, resizable line impoint Create draggable point impoly Create draggable, resizable polygon imrect Create draggable rectangle imroi Region-of-interest (ROI) base class iptaddcallback Add function handle to callback list iptcheckhandle Check validity of handle iptgetapi Get Application Programmer Interface (API) for handle iptGetPointerBehavior Retrieve pointer behavior from HG object ipticondir Directories containing IPT and MATLAB icons iptPointerManager Create pointer manager in figure iptremovecallback Delete function handle from callback list iptSetPointerBehavior Store pointer behavior structure in Handle Graphics object iptwindowalign Align figure windows makeConstrainToRectFcn Create rectangularly bounded drag constraint function truesize Adjust display size of image

Back to Top

Spatial Transformation and Image Registration

Spatial Transformations Image Registration

Spatial transformation of images and multidimensional arrays Align two images using control points

Back to Top of Section

Spatial Transformations
checkerboard findbounds fliptform imcrop impyramid imresize imrotate imtransform makeresampler maketform tformarray tformfwd tforminv Create checkerboard image Find output bounds for spatial transformation Flip input and output roles of TFORM structure Crop image Image pyramid reduction and expansion Resize image Rotate image Apply 2-D spatial transformation to image Create resampling structure Create spatial transformation structure ( TFORM) Apply spatial transformation to N-D array Apply forward spatial transformation Apply inverse spatial transformation

Back to Top of Section

Image Registration
cp2tform cpcorr cpselect cpstruct2pairs normxcorr2 Infer spatial transformation from control point pairs Tune control-point locations using cross correlation Control Point Selection Tool Convert CPSTRUCT to valid pairs of control points Normalized 2-D cross-correlation

Back to Top

Image Analysis and Statistics


Image Analysis Texture Analysis Trace boundaries, detect edges, and perform quadtree decomposition Entropy, range, and standard deviation

filtering; gray-level co-occurrence matrix Pixel Values and Statistics Create histograms, contour plots, and get statistics on image regions

Back to Top of Section

Image Analysis
bwboundaries bwtraceboundary corner cornermetric edge hough houghlines houghpeaks qtdecomp qtgetblk qtsetblk Trace region boundaries in binary image Trace object in binary image Find corner points in image Create corner metric matrix from image Find edges in grayscale image Hough transform Extract line segments based on Hough transform Identify peaks in Hough transform Quadtree decomposition Block values in quadtree decomposition Set block values in quadtree decomposition

Back to Top of Section

Texture Analysis
entropy entropyfilt graycomatrix graycoprops rangefilt stdfilt Entropy of grayscale image Local entropy of grayscale image Create gray-level co-occurrence matrix from image Properties of gray-level co-occurrence matrix Local range of image Local standard deviation of image

Back to Top of Section

Pixel Values and Statistics


corr2 imcontour imhist impixel 2-D correlation coefficient Create contour plot of image data Display histogram of image data Pixel color values

improfile mean2 regionprops std2

Pixel-value cross-sections along line segments Average or mean of matrix elements Measure properties of image regions Standard deviation of matrix elements

Back to Top

Image Arithmetic
imabsdiff imadd imcomplement imdivide imlincomb immultiply imsubtract Absolute difference of two images Add two images or add constant to image Complement image Divide one image into another or divide image by constant Linear combination of images Multiply two images or multiply image by constant Subtract one image from another or subtract constant from image

Back to Top

Image Enhancement and Restoration


Image Enhancement Image Restoration (Deblurring) Histogram equalization, decorrelation stretching, and 2-D filtering Deconvolution for deblurring

Back to Top of Section

Image Enhancement
adapthisteq decorrstretch histeq imadjust imnoise intlut medfilt2 ordfilt2 stretchlim wiener2 Contrast-limited adaptive histogram equalization (CLAHE) Apply decorrelation stretch to multichannel image Enhance contrast using histogram equalization Adjust image intensity values or colormap Add noise to image Convert integer values using lookup table 2-D median filtering 2-D order-statistic filtering Find limits to contrast stretch image 2-D adaptive noise-removal filtering

Back to Top of Section

Image Restoration (Deblurring)


deconvblind deconvlucy deconvreg deconvwnr edgetaper otf2psf psf2otf Deblur image using blind deconvolution Deblur image using Lucy-Richardson method Deblur image using regularized filter Deblur image using Wiener filter Taper discontinuities along image edges Convert optical transfer function to point-spread function Convert point-spread function to optical transfer function

Back to Top

Linear Filtering and Transforms


Linear Filtering Linear 2-D Filter Design Image Transforms Convolution, N-D filtering, and predefined 2-D filters 2-D FIR filters Fourier, Discrete Cosine, Radon, and Fan-beam transforms

Back to Top of Section

Linear Filtering
convmtx2 fspecial imfilter 2-D convolution matrix Create predefined 2-D filter N-D filtering of multidimensional images

Back to Top of Section

Linear 2-D Filter Design


freqz2 fsamp2 ftrans2 fwind1 fwind2 2-D frequency response 2-D FIR filter using frequency sampling 2-D FIR filter using frequency transformation 2-D FIR filter using 1-D window method 2-D FIR filter using 2-D window method

Back to Top of Section

Image Transforms
dct2 dctmtx fan2para fanbeam idct2 ifanbeam iradon para2fan phantom radon 2-D discrete cosine transform Discrete cosine transform matrix Convert fan-beam projections to parallel-beam Fan-beam transform 2-D inverse discrete cosine transform Inverse fan-beam transform Inverse Radon transform Convert parallel-beam projections to fan-beam Create head phantom image Radon transform

Back to Top

Morphological Operations
Intensity and Binary Images Binary Images Dilate, erode, reconstruct, and perform other morphological operations Label, pack, and perform morphological operations on binary images Create and manipulate structuring elements for morphological operations

Structuring Element Creation and Manipulation

Back to Top of Section

Intensity and Binary Images


conndef imbothat imclearborder imclose imdilate imerode imextendedmax imextendedmin imfill Create connectivity array Bottom-hat filtering Suppress light structures connected to image border Morphologically close image Dilate image Erode image Extended-maxima transform Extended-minima transform Fill image regions and holes

imhmax imhmin imimposemin imopen imreconstruct imregionalmax imregionalmin imtophat watershed

H-maxima transform H-minima transform Impose minima Morphologically open image Morphological reconstruction Regional maxima Regional minima Top-hat filtering Watershed transform

Back to Top of Section

Binary Images
bwconvhull applylut bwarea bwareaopen bwconncomp bwdist bweuler bwhitmiss bwlabel bwlabeln bwmorph bwpack bwperim bwselect bwulterode bwunpack imtophat makelut Generate convex hull image from binary image Neighborhood operations on binary images using lookup tables Area of objects in binary image Morphologically open binary image (remove small objects) Find connected components in binary image Distance transform of binary image Euler number of binary image Binary hit-miss operation Label connected components in 2-D binary image Label connected components in binary image Morphological operations on binary images Pack binary image Find perimeter of objects in binary image Select objects in binary image Ultimate erosion Unpack binary image Top-hat filtering Create lookup table for use with applylut

Back to Top of Section

Structuring Element Creation and Manipulation


getheight getneighbors getnhood getsequence Height of structuring element Structuring element neighbor locations and heights Structuring element neighborhood Sequence of decomposed structuring elements

isflat reflect strel translate

True for flat structuring element Reflect structuring element Create morphological structuring element ( STREL) Translate structuring element (STREL)

Back to Top

ROI-Based, Neighborhood, and Block Processing


ROI-Based Processing Neighborhood and Block Processing Define regions of interest (ROI) and perform operations on them Define neighborhoods and blocks and process them

Back to Top of Section

ROI-Based Processing
poly2mask roicolor roifill roifilt2 roipoly Convert region of interest (ROI) polygon to region mask Select region of interest (ROI) based on color Fill in specified region of interest (ROI) polygon in grayscale image Filter region of interest (ROI) in image Specify polygonal region of interest (ROI)

Back to Top of Section

Neighborhood and Block Processing


bestblk blockproc close (ImageAdapter) col2im colfilt im2col ImageAdapter nlfilter readRegion (ImageAdapter) writeRegion Determine optimal block size for block processing Distinct block processing for image Close ImageAdapter object Rearrange matrix columns into blocks Columnwise neighborhood operations Rearrange image blocks into columns Interface for image I/O General sliding-neighborhood operations Read region of image Write block of data to region of image

(ImageAdapter)

Back to Top

Colormaps and Color Space


Color Space Conversions ICC profile-based device independent color space conversions and devicedependent color space conversions

Back to Top of Section

Color Space Conversions


applycform iccfind iccread iccroot iccwrite isicc lab2double lab2uint16 lab2uint8 makecform ntsc2rgb rgb2ntsc rgb2ycbcr whitepoint xyz2double xyz2uint16 ycbcr2rgb Apply device-independent color space transformation Search for ICC profiles Read ICC profile Find system default ICC profile repository Write ICC color profile to disk file True for valid ICC color profile Convert L*a*b* data to double Convert L*a*b* data to uint16 Convert L*a*b* data to uint8 Create color transformation structure Convert NTSC values to RGB color space Convert RGB color values to NTSC color space Convert RGB color values to YCbCr color space XYZ color values of standard illuminants Convert XYZ color values to double Convert XYZ color values to uint16 Convert YCbCr color values to RGB color space

Back to Top

Utilities
Preferences Validation Set and determine value of toolbox preferences Check input arguments and perform

other common programming tasks Mouse Retrieve values of lines, points, and rectangles defined interactively using mouse Circularly shift pixel values and pad arrays Launch Image Processing Toolbox demos Check for presence of Intel Integrated Performance Primitives (Intel IPP) library

Array Operations Demos Performance

Back to Top of Section

Preferences
iptgetpref iptprefs iptsetpref Get values of Image Processing Toolbox preferences Display Image Processing Preferences dialog box Set Image Processing Toolbox preferences or display valid values

Back to Top of Section

Validation
getrangefromclass iptcheckconn iptcheckinput iptcheckmap iptchecknargin iptcheckstrs iptnum2ordinal Default display range of image based on its class Check validity of connectivity argument Check validity of array Check validity of colormap Check number of input arguments Check validity of option string Convert positive integer to ordinal string

Back to Top of Section

Mouse
getline getpts getrect Select polyline with mouse Specify points with mouse Specify rectangle with mouse

Back to Top of Section

Array Operations
padarray Pad array

Back to Top of Section

Demos
iptdemos Index of Image Processing Toolbox demos

Back to Top of Section

Performance
ippl Check for presence of Intel Integrated Performance Primitives (Intel IPP) library

Você também pode gostar