0% found this document useful (0 votes)
127 views8 pages

Image Display and Exploration

The document provides an overview of MATLAB functions for image display and exploration, reading and writing image files, converting between image types, creating graphical user interfaces for images, applying spatial transformations to images, performing image registration, analyzing images, calculating pixel values and statistics, and performing arithmetic on images. Some key functions mentioned include imshow to display images, imread and imwrite for file I/O, imresize for resizing, imrotate for rotation, imtransform for applying affine transformations, and imhist for creating histograms.

Uploaded by

Julihot Sihotang
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views8 pages

Image Display and Exploration

The document provides an overview of MATLAB functions for image display and exploration, reading and writing image files, converting between image types, creating graphical user interfaces for images, applying spatial transformations to images, performing image registration, analyzing images, calculating pixel values and statistics, and performing arithmetic on images. Some key functions mentioned include imshow to display images, imread and imwrite for file I/O, imresize for resizing, imrotate for rotation, imtransform for applying affine transformations, and imhist for creating histograms.

Uploaded by

Julihot Sihotang
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Image Display and Exploration

immovie Make movie from multiframe image


implay Play movies, videos, or image sequences
imshow Display image
imtool Image Tool
montage Display multiple image frames as rectangular montage
subimage Display multiple images in single figure
warp Display image as texture-mapped surface
 Back to Top of Section
Image File I/O
analyze75info Read metadata from header file of Analyze 7.5 data set
analyze75read Read image data from image file of Analyze 7.5 data set
dicomanon Anonymize DICOM file
dicomdict Get or set active DICOM data dictionary
dicominfo Read metadata from DICOM message
dicomlookup Find attribute in DICOM data dictionary
dicomread Read DICOM image
dicomuid Generate DICOM unique identifier
dicomwrite Write images as DICOM files
hdrread Read high dynamic range (HDR) image
hdrwrite Write Radiance high dynamic range (HDR) image file
interfileinfo Read metadata from Interfile file
interfileread Read images in Interfile format
isrset Check if file is R-Set
makehdr Create high dynamic range image
nitfinfo Read metadata from National Imagery Transmission Format (NITF) file
nitfread Read image from NITF file
openrset Open R-Set file
rsetwrite Create reduced resolution data set from image file
tonemap Render high dynamic range image for viewing
 Back to Top of Section
Image Types and Type Conversions
demosaic Convert Bayer pattern encoded image to truecolor image
gray2ind Convert grayscale or binary image to indexed image
grayslice Convert grayscale image to indexed image using multilevel thresholding
graythresh Global image threshold using Otsu's method
im2bw Convert image to binary image, based on threshold
im2double Convert image to double precision
im2int16 Convert image to 16-bit signed integers
im2java2d Convert image to Java buffered image
im2single Convert image to single precision
im2uint16 Convert image to 16-bit unsigned integers
im2uint8 Convert image to 8-bit unsigned integers
ind2gray Convert indexed image to grayscale image
ind2rgb Convert indexed image to RGB image
label2rgb Convert label matrix into RGB image
mat2gray Convert matrix to grayscale image
rgb2gray Convert RGB image or colormap to grayscale
 Back to Top

GUI Tools
Modular Interactive Tools Modular interactive tool creation functions

Navigational Tools for Image Scroll Panel Modular interactive navigational tools

Utilities for Interactive Tools Modular interactive tool utility functions


 Back to Top of Section
Modular Interactive Tools
imageinfo Image Information tool
imcontrast Adjust Contrast tool
imdisplayrange Display Range tool
imdistline Distance tool
impixelinfo Pixel Information tool
impixelinfoval Pixel Information tool without text label
impixelregion Pixel Region tool
impixelregionpanel Pixel Region tool panel
 Back to Top of Section
Navigational Tools for Image Scroll Panel
immagbox Magnification box for scroll panel
imoverview Overview tool for image displayed in scroll panel
imoverviewpanel Overview tool panel for image displayed in scroll panel
imscrollpanel 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 Spatial transformation of images and
multidimensional arrays

Image Registration Align two images using control points


 Back to Top of Section
Spatial Transformations
checkerboard Create checkerboard image
findbounds Find output bounds for spatial transformation
fliptform Flip input and output roles of TFORM structure
imcrop Crop image
impyramid Image pyramid reduction and expansion
imresize Resize image
imrotate Rotate image
imtransform Apply 2-D spatial transformation to image
makeresampler Create resampling structure
maketform Create spatial transformation structure (TFORM)
tformarray Apply spatial transformation to N-D array
tformfwd Apply forward spatial transformation
tforminv Apply inverse spatial transformation
 Back to Top of Section
Image Registration
cp2tform Infer spatial transformation from control point pairs
cpcorr Tune control-point locations using cross correlation
cpselect Control Point Selection Tool
cpstruct2pairs Convert CPSTRUCT to valid pairs of control points
normxcorr2 Normalized 2-D cross-correlation
 Back to Top

Image Analysis and Statistics

Image Analysis Trace boundaries, detect edges, and perform


quadtree decomposition

Texture Analysis 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 Trace region boundaries in binary image
bwtraceboundary Trace object in binary image
corner Find corner points in image
cornermetric Create corner metric matrix from image
edge Find edges in grayscale image
hough Hough transform
houghlines Extract line segments based on Hough transform
houghpeaks Identify peaks in Hough transform
qtdecomp Quadtree decomposition
qtgetblk Block values in quadtree decomposition
qtsetblk Set block values in quadtree decomposition
 Back to Top of Section
Texture Analysis
entropy Entropy of grayscale image
entropyfilt Local entropy of grayscale image
graycomatrix Create gray-level co-occurrence matrix from image
graycoprops Properties of gray-level co-occurrence matrix
rangefilt Local range of image
stdfilt Local standard deviation of image
 Back to Top of Section
Pixel Values and Statistics
corr2 2-D correlation coefficient
imcontour Create contour plot of image data
imhist Display histogram of image data
impixel Pixel color values
improfile Pixel-value cross-sections along line segments
mean2 Average or mean of matrix elements
regionprops Measure properties of image regions
std2 Standard deviation of matrix elements
 Back to Top

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

Image Enhancement and Restoration

Image Enhancement Histogram equalization, decorrelation stretching,


and 2-D filtering

Image Restoration (Deblurring) Deconvolution for deblurring


 Back to Top of Section
Image Enhancement
adapthisteq Contrast-limited adaptive histogram equalization (CLAHE)
decorrstretch Apply decorrelation stretch to multichannel image
histeq Enhance contrast using histogram equalization
imadjust Adjust image intensity values or colormap
imnoise Add noise to image
intlut Convert integer values using lookup table
medfilt2 2-D median filtering
ordfilt2 2-D order-statistic filtering
stretchlim Find limits to contrast stretch image
wiener2 2-D adaptive noise-removal filtering
 Back to Top of Section
Image Restoration (Deblurring)
deconvblind Deblur image using blind deconvolution
deconvlucy Deblur image using Lucy-Richardson method
deconvreg Deblur image using regularized filter
deconvwnr Deblur image using Wiener filter
edgetaper Taper discontinuities along image edges
otf2psf Convert optical transfer function to point-spread function
psf2otf Convert point-spread function to optical transfer function
 Back to Top

Linear Filtering and Transforms

Linear Filtering Convolution, N-D filtering, and predefined 2-D


filters

Linear 2-D Filter Design 2-D FIR filters

Image Transforms Fourier, Discrete Cosine, Radon, and Fan-beam


transforms
 Back to Top of Section
Linear Filtering
convmtx2 2-D convolution matrix
fspecial Create predefined 2-D filter
imfilter N-D filtering of multidimensional images
 Back to Top of Section
Linear 2-D Filter Design
freqz2 2-D frequency response
fsamp2 2-D FIR filter using frequency sampling
ftrans2 2-D FIR filter using frequency transformation
fwind1 2-D FIR filter using 1-D window method
fwind2 2-D FIR filter using 2-D window method
 Back to Top of Section
Image Transforms
dct2 2-D discrete cosine transform
dctmtx Discrete cosine transform matrix
fan2para Convert fan-beam projections to parallel-beam
fanbeam Fan-beam transform
idct2 2-D inverse discrete cosine transform
ifanbeam Inverse fan-beam transform
iradon Inverse Radon transform
para2fan Convert parallel-beam projections to fan-beam
phantom Create head phantom image
radon Radon transform
 Back to Top

Morphological Operations

Intensity and Binary Images Dilate, erode, reconstruct, and perform other
morphological operations

Binary Images Label, pack, and perform morphological


operations on binary images

Structuring Element Creation and Manipulation Create and manipulate structuring elements for
morphological operations
 Back to Top of Section
Intensity and Binary Images
conndef Create connectivity array
imbothat Bottom-hat filtering
imclearborder Suppress light structures connected to image border
imclose Morphologically close image
imdilate Dilate image
imerode Erode image
imextendedmax Extended-maxima transform
imextendedmin Extended-minima transform
imfill Fill image regions and holes
imhmax H-maxima transform
imhmin H-minima transform
imimposemin Impose minima
imopen Morphologically open image
imreconstruct Morphological reconstruction
imregionalmax Regional maxima
imregionalmin Regional minima
imtophat Top-hat filtering
watershed Watershed transform
 Back to Top of Section
Binary Images
bwconvhull Generate convex hull image from binary image
applylut Neighborhood operations on binary images using lookup tables
bwarea Area of objects in binary image
bwareaopen Morphologically open binary image (remove small objects)
bwconncomp Find connected components in binary image
bwdist Distance transform of binary image
bweuler Euler number of binary image
bwhitmiss Binary hit-miss operation
bwlabel Label connected components in 2-D binary image
bwlabeln Label connected components in binary image
bwmorph Morphological operations on binary images
bwpack Pack binary image
bwperim Find perimeter of objects in binary image
bwselect Select objects in binary image
bwulterode Ultimate erosion
bwunpack Unpack binary image
imtophat Top-hat filtering
makelut Create lookup table for use with applylut
 Back to Top of Section
Structuring Element Creation and Manipulation
getheight Height of structuring element
getneighbors Structuring element neighbor locations and heights
getnhood Structuring element neighborhood
getsequence Sequence of decomposed structuring elements
isflat True for flat structuring element
reflect Reflect structuring element
strel Create morphological structuring element (STREL)
translate Translate structuring element (STREL)
 Back to Top

ROI-Based, Neighborhood, and Block Processing

ROI-Based Processing Define regions of interest (ROI) and perform


operations on them

Neighborhood and Block Processing Define neighborhoods and blocks and process
them
 Back to Top of Section
ROI-Based Processing
poly2mask Convert region of interest (ROI) polygon to region mask
roicolor Select region of interest (ROI) based on color
roifill Fill in specified region of interest (ROI) polygon in grayscale image
roifilt2 Filter region of interest (ROI) in image
roipoly Specify polygonal region of interest (ROI)
 Back to Top of Section
Neighborhood and Block Processing
bestblk Determine optimal block size for block processing
blockproc Distinct block processing for image
close (ImageAdapter) Close ImageAdapter object
col2im Rearrange matrix columns into blocks
colfilt Columnwise neighborhood operations
im2col Rearrange image blocks into columns
ImageAdapter Interface for image I/O
nlfilter General sliding-neighborhood operations
readRegion(ImageAdapter) Read region of image
writeRegion(ImageAdapter Write block of data to region of image
)
 Back to Top

Colormaps and Color Space

Color Space Conversions ICC profile-based device independent color space


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

Utilities

Preferences Set and determine value of toolbox preferences

Validation Check input arguments and perform other


common programming tasks

Mouse Retrieve values of lines, points, and rectangles


defined interactively using mouse
Array Operations Circularly shift pixel values and pad arrays

Demos Launch Image Processing Toolbox demos

Performance Check for presence of Intel Integrated


Performance Primitives (Intel IPP) library
 Back to Top of Section
Preferences
iptgetpref Get values of Image Processing Toolbox preferences
iptprefs Display Image Processing Preferences dialog box
iptsetpref Set Image Processing Toolbox preferences or display valid values
 Back to Top of Section
Validation
getrangefromclass Default display range of image based on its class
iptcheckconn Check validity of connectivity argument
iptcheckinput Check validity of array
iptcheckmap Check validity of colormap
iptchecknargin Check number of input arguments
iptcheckstrs Check validity of option string
iptnum2ordinal Convert positive integer to ordinal string
 Back to Top of Section
Mouse
getline Select polyline with mouse
getpts Specify points with mouse
getrect 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

You might also like