Monday, 23 December 2013

MATLAB FUNCTIONS



Functions by Category

The tables below list all functions in the Image Processing Toolbox by category. The tables include a few functions in MATLAB that are especially useful for image processing, such as imread, imfinfo, and imwrite

Image Display 
Display colorbar. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Get image data from axes
Create and display image object. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Scale data and display as image. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Make movie from multiframe indexed image
Display image
Display multiple image frames as rectangular montage
Display multiple images in single figure
Adjust display size of image
Display image as texture-mapped surface
Zoom in and out of image or 2-D plot. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)



Image File I/O 
Read metadata from a DICOM message
Read a DICOM image
Return information about image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Read image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Write image file. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)





Spatial Transformations 
Create checkerboard image
Find output bounds for spatial transformation
Flip the input and output roles of a TFORM structure
Crop image
Resize image
Rotate image
2-D data interpolation. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Apply 2-D spatial transformation to image
Create resampling structure
Create geometric transformation structure
Geometric transformation of a multi-dimensional array
Apply forward geometric transformation
Apply inverse geometric transformation



Pixel Values and Statistics 
Compute 2-D correlation coefficient
Create contour plot of image data
Compute feature measurements for image regions
Display histogram of image data
Determine pixel color values
Compute pixel-value cross-sections along line segments
Compute mean of matrix elements
Display information about image pixels
Measure properties of image regions
Compute standard deviation of matrix elements



Image Analysis 
Find edges in intensity image
Perform quadtree decomposition
Get block values in quadtree decomposition
Set block values in quadtree decomposition


Image Arithmetic 
Compute absolute difference of two images
Add two images, or add constant to image
Complement image
Divide two images, or divide image by constant.
Compute linear combination of images
Multiply two images, or multiply image by constant
Subtract two images, or subtract constant from image



Image Enhancement 
Enhance contrast using histogram equalization
Adjust image intensity values or colormap
Add noise to an image
Perform 2-D median filtering
Perform 2-D order-statistic filtering
Find limits to contrast stretch an image
Perform 2-D adaptive noise-removal filtering



Image Registration
Tune control point locations using cross-correlation
Infer geometric transformation from control point pairs
Control point selection tool
Convert CPSTRUCT to valid pairs of control points
Normalized two-dimensional cross-correlation



Linear Filtering 
Perform 2-D convolution. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute 2-D convolution matrix
Perform N-D convolution. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Perform 2-D filtering. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Create predefined filters
Multidimensional image filtering


Linear 2-D Filter Design 
Determine 2-D frequency response spacing. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute 2-D frequency response
Design 2-D FIR filter using frequency sampling
Design 2-D FIR filter using frequency transformation
Design 2-D FIR filter using 1-D window method
Design 2-D FIR filter using 2-D window method



Image Transforms 
Compute 2-D discrete cosine transform
Compute discrete cosine transform matrix
Compute 2-D fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute N-D fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Reverse quadrants of output of FFT. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute 2-D inverse discrete cosine transform
Compute 2-D inverse fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute N-D inverse fast Fourier transform. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Compute inverse Radon transform
Generate a head phantom image
Compute Radon transform



Neighborhood and Block Processing 
Choose block size for block processing
Implement distinct block processing for image
Rearrange matrix columns into blocks
Perform neighborhood operations using columnwise functions
Rearrange image blocks into columns
Perform general sliding-neighborhood operations



Morphological Operations (Intensity and Binary Images)
Default connectivity array
Perform bottom-hat filtering
Suppress light structures connected to image border
Close image
Dilate image
Erode image
Extended-maxima transform
Extended-minima transform
Fill image regions
H-maxima transform
H-minima transform
Impose minima
Open image
Perform morphological reconstruction
Regional maxima of image
Regional minima of image
Perform tophat filtering
Find image watershed regions



Morphological Operations (Binary Images)
Perform neighborhood operations using lookup tables
Area of objects in binary image
Binary area open; remove small objects
Distance transform
Euler number of binary image
Fill background regions in binary image
Binary hit-miss operation
Label connected components in 2-D binary image
Label connected components in N-D binary image.
Perform morphological operations on binary image
Pack binary image
Find perimeter of objects in binary image
Select objects in binary image
Ultimate erosion
Unpack a packed binary image
Regional minima of image
Perform tophat filtering
Construct lookup table for use with applylut



Structuring Element (STREL) Creation and Manipulation
Get the height of a structuring element
Get structuring element neighbor locations and heights
Get structuring element neighborhood
Extract sequence of decomposed structuring elements
Return true for flat structuring element
Reflect structuring element
Create morphological structuring element
Translate structuring element



Deblurring 
Restore image using blind deconvolution
Restore image using accelerated Richardson-Lucy algorithm
Restore image using Regularized filter
Restore image using Wiener filter
Taper the discontinuities along the image edges
Convert optical transfer function to point-spread function
Convert point-spread function to optical transfer function



Array Operations 
Shift array circularly
Pad an array



Region-Based Processing 
Select region of interest, based on color
Smoothly interpolate within arbitrary region
Filter a region of interest
Select polygonal region of interest


Colormap Manipulation 
Brighten or darken colormap. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Rearrange colors in colormap
Find unique colormap colors and corresponding image
Set or get color lookup table. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Approximate indexed image by one with fewer colors
Plot RGB colormap components. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)



Color Space Conversions 
Convert HSV values to RGB color space. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Convert NTSC values to RGB color space
Convert RGB values to HSV color space. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Convert RGB values to NTSC color space
Convert RGB values to YCbCr color space
Convert YCbCr values to RGB color space



Image Types and Type Conversions 
Convert image using dithering
Convert data to double precision. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Convert intensity image to indexed image
Create indexed image from intensity image by thresholding
Compute global image threshold using Otsu's method
Convert image to binary image by thresholding
Convert image array to double precision
Convert image to Java MemoryImageSource
Convert image array to 16-bit unsigned integers
Convert image array to 8-bit unsigned integers
Convert indexed image to intensity image
Convert indexed image to RGB image
Return true for binary image
Return true for intensity image
Return true for indexed image
Return true for RGB image
Convert a label matrix to an RGB image
Convert matrix to intensity image
Convert RGB image or colormap to grayscale
Convert RGB image to indexed image
Convert data to unsigned 16-bit integers. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)
Convert data to unsigned 8-bit integers. (This is a MATLAB function. See the online MATLAB Function Reference for its reference page.)



Toolbox Preferences 
Get value of Image Processing Toolbox preference
Set value of Image Processing Toolbox preference

No comments:

Post a Comment

share your thoughts