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
ImageTools[GetSubImage] - extract a subimage from an image
Calling Sequence
GetSubImage( img, row, col, ht, wd, opts )
Parameters
img
-
Image
row
integer; initial row of the subimage
col
integer; intial column of the subimage
ht
posint; height of the subimage
wd
posint; width of the subimage
opts
(optional) equation(s) of the form option = value; specify options for the GetSubImage command
Description
The GetSubImage command returns a subimage of a given image.
The img parameter is the image.
The row and col parameters specify the coordinates of the upper left pixel of the desired subimage of img.
The ht and wd parameters specify the height and width of the subimage.
Options
output = Image
Specifies a data structure into which the output is written. This can be used to avoid allocating memory. The size, number of layers, and order must match that of the subimage. The default is NULL.
reindex = truefalse
If true, the indices of the returned image are reindexed so that they start at 1. If false, the row and column indices start at row and col, respectively. The default is false.
Examples
See Also
ImageTools, ImageTools[GetLayer], ImageTools[SetSubImage], ImageTools[View]
Download Help Document