ImageTools - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Overview of the ImageTools Package

 

Calling Sequence

Description

Accessing Package Commands

List of Package Commands

Draw Subpackage

Notes

Calling Sequence

ImageTools:-command(arguments)

command(arguments)

Description

• 

The ImageTools package implements a number of image processing functions.

• 

Within this package, image data is represented as dense rectangular Arrays of 64-bit hardware floating point numbers.  Grayscale and color images can be represented; see ImageTools/ImageTypes for descriptions of the types and data structures.

• 

See the applications,ImageProcessing worksheet for a demonstration of the ImageTools package.

Accessing Package Commands

• 

Each command in the ImageTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

  

The long form, ImageTools:-command, is always available. The short form can be used after loading the package.

List of Package Commands

The following is a list of available commands. To display the help page for a particular command, see Getting Help with a Command in a Package.

Analysis

Entropy

compute entropy of an image

Height

return height (rows) of an image

Histogram

create a histogram of the layers

Intensity

measure intensity of layers

Quality

compute quality measure of a reconstructed image

Width

return width (columns) of an image

Arithmetic

Clip

clip image to low and high values

Complement

complement an image

Flip

flip an image horizontally or vertically

GetSubImage

extract a subimage from an image

PadImage

pad an image to desired size

Rotate

rotate an image

Scale

rescale an image

SetSubImage

insert a subimage into an image

Stack

stack images horizontally or vertically

Transpose

transpose an image

Color

ColorTransform

perform arbitrary color space conversion

CombineLayers

combine grayscale images into a color image

GetLayer

return layer from a multi-layer image

HSVtoRGB

convert HSV to RGB

RGBtoGray

convert RGB to Grayscale

RGBtoHSV

convert RGB to HSV

RGBtoYUV

convert RGB to YUV

SetLayer

insert a layer into a multi-layer image

ToGrayscale

synonym for RGBtoGray

ToRGB

convert Gray/RGB/RGBA to RGB

ToRGBA

convert Gray/RGB/RGBA to RGBA

YUVtoRGB

convert YUV to RGB

Creation

Checkerboard

create a checkerboard test image

Create

create an image

SampleImage

return a sample image

File I/O

FormatFromName

return file type (format)

Formats

supported file formats

Read

read an image from a file

Write

write an image to a file

Miscellaneous

CannyEdgeDetect

detect the edges of an image

Convolution

convolve an image with a mask/kernel

EdgeDetect

detect the edges of an image

FitIntensity

scale intensities to fit within a range

HoughLine

detect lines on an image

ImagePeriodogram

generate the periodogram of an image

Layers

return the number of layers of an image

Mask

apply mask to image

ScaleIntensity

scale intensities of selected layers

Threshold

threshold an image

WhatTypeImage

return the specific image type

View

Embed

embed images in a worksheet

GenerateBarcode

generate a barcode image

Histogram

returns the intensity distribution histogram for each layer (color channel) of an image

Preview

preview an image

View

display images in a maplet

Draw Subpackage

  

The ImageTools:-Draw subpackage provides primitives for drawing into an ImageTools:-Image.

  

The following is a list of available commands.

Circle

draw a circle primitive

Line

draw a line primitive

Poly

draw a poly primitive

SolidCircle

draw a solid circle primitive

SolidRectangle

draw a solid rectangle primitive

Text

draw a text primitive

TextSize

determine the size of a text primitive

Notes

• 

The following commands in the ImageTools package are not available on Apple Silicon Macs when running native binaries. In order to use ImageTools start the Intel x86-64 version of Maple.  For more information, see Platform Specific Issues.

• 

CannyEdgeDetect

• 

DWT2D

• 

InverseDWT2D

• 

HoughLine

• 

ProbabilisticHoughLine

See Also

UsingPackages

with