Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Overview of the ImageTools Package
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.
Because the underlying implementation of the ImageTools package is a module, it is possible to use the form ImageTools:-command to access a command from the package. For more information, see Module Members.
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 (90 degree increments)
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
Gamma adjust intensity of layers
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
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
Convolution convolve an image with a mask/kernel
FitIntensity scale intensities to fit within a range
Mask apply mask to image
ScaleIntensity scale intensities of selected layers
Threshold threshold an image
WhatTypeImage return the specific image type
View
PlotHistogram plot histogram of an image
Preview preview an image
View view images
See Also
UsingPackages, with
Download Help Document