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[Entropy] - compute the entropy of the layers of an image
Calling Sequence
Entropy( img, N, opts )
Parameters
img
-
Image; input image
N
(optional) posint; number of buckets per layer
opts
(optional) equation(s) of the form option = value; specify options for the Entropy command
Description
The Entropy command computes the entropy of each layer of an image.
The entropy, , of a layer is computed by partitioning the intensities (values) of the pixels in the layer into buckets, and then computing , where is the probability that the intensity of a pixel falls in the -th bucket.
The img parameter specifies the image for which the entropy of the layers is computed.
The optional N parameter specifies the number of buckets per layer. The default is 256, which is usually suitable for images read from 8-bit per pixel per layer image files.
For a single layer (grayscale) image, the Entropy command returns a single value. For 3 or 4 layer images, a list is returned; the i-th element in the list is the entropy of the i-th layer.
Options
autorange = truefalse
If true, set the range to the minimum and maximum values that occur in the image (on all layers). Overrides the range option. The default is false.
range = numeric .. numeric
Assigns the range of values that the buckets cover. The default is 0.0 .. 1.0, which corresponds to the the range of values in an unprocessed image.
Examples
See Also
entropy, ImageTools, ImageTools[Histogram]
Download Help Document