ImageWaveformPlot [image]
plots the waveform of image.
ImageWaveformPlot [image,colorspace]
plots the waveform of image in colorspace.
ImageWaveformPlot [image,channel]
plots the waveform for the specified channel.
ImageWaveformPlot
ImageWaveformPlot [image]
plots the waveform of image.
ImageWaveformPlot [image,colorspace]
plots the waveform of image in colorspace.
ImageWaveformPlot [image,channel]
plots the waveform for the specified channel.
Details and Options
- ImageWaveformPlot is typically used to evaluate and adjust the brightness or colors of an image or frames of a video.
- In an image waveform, the columns correspond to image columns, the rows correspond to the pixel levels, and the intensity of a point corresponds to the count of pixels at that level.
- Use ImageHistogram to compute the histogram of the whole image and use ImageVectorscopePlot to evaluate and adjust hue and saturation.
- The following colorspace specifications can be given:
-
"RGB" red, green, blue (default)"CMYK" cyan, magenta, yellow, black"HSB" hue, saturation, brightness"XYZ" channels of the CIE color space"LAB" channels of the CIE color space"LCH" channels of the CIE color space"LUV" channels of the CIE color spaceAutomatic channels of the image color space
- The channel specification can be one of the following:
-
"I" gray-level (intensity)"L" luminance channel of Lab"R","G","B" red, green, blue from RGB"C","M","Y","K" cyan, magenta, yellow, black from CMYK"H","S","V" hue, saturation, brightness (value) from HSB"Average" mean of all channels"A" alpha channel
- For images with some transparency, the alpha channel is used as a weight for the corresponding pixel.
- ImageWaveformPlot has the same options as Graphics , with the following additions and changes: [List of all options]
-
- Possible settings for PlotLayout include:
-
"Column" waveform of channels in a column"Overlaid" overlaid waveforms of the channels"Row" waveform of channels in a row (RGB parade)
-
ImageMargins 0. the margins to leave around the graphicPlotLayout "Overlaid" the layout to be usedPreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic
List of all options
Examples
open all close allBasic Examples (1)
Generate a waveform plot from an image:
Scope (3)
Compute the default RGB waveform:
Compute the CMYK waveform:
Compute the waveform for a specific channel:
Options (40)
AspectRatio (4)
By default, the ratio of the height to width for the plot is determined automatically:
Make the height the same as the width with AspectRatio 1:
AspectRatio Automatic determines the ratio from the plot ranges:
AspectRatio Full adjusts the height and width to tightly fit inside other constructs:
Axes (3)
By default, ImageWaveformPlot uses a frame instead of axes:
Use axes instead of a frame:
Turn on each axis individually:
AxesLabel (3)
No axes labels are drawn by default:
Place a label on the - axis:
Specify axes labels:
AxesOrigin (2)
The position of the axes is determined automatically:
Specify an explicit origin for the axes:
AxesStyle (4)
Change the style for the axes:
Specify the style of each axis:
Use different styles for the ticks and the axes:
Use different styles for the labels and the axes:
Frame (4)
ImageWaveformPlot uses a frame by default:
Use Frame False to not draw any frame:
Draw a frame on the left and right edges:
Draw a frame on the left and bottom edges:
FrameLabel (4)
Place a label along the bottom frame of a plot:
Frame labels are placed on the bottom and left frame edges by default:
Place labels on each of the edges in the frame:
Use a customized style for both labels and frame tick labels:
FrameStyle (2)
Specify the style of the frame:
Specify the style for each frame edge:
FrameTicksStyle (3)
By default, the frame ticks and frame tick labels use the same styles as the frame:
Specify an overall style for the ticks, including the labels:
Use different style for the different frame edges:
ImageSize (7)
Use named sizes such as Tiny , Small , Medium and Large :
Specify the width of the plot:
Specify the height of the plot:
Allow the width and height to be up to a certain size:
Specify the width and height for a graphic, padding with space if necessary:
Setting AspectRatio Full will fill the available space:
Use maximum sizes for the width and height:
Use ImageSize Full to fill the available space in an object:
Specify the image size as a fraction of the available space:
Masking (2)
By default, the whole image is processed:
Specify the region of interest using a mask:
If present, the alpha channel is used as a mask:
This is equivalent to using the image alpha channel as the mask:
When both transparency and a mask are present, the corresponding pixel values are multiplied:
PlotLayout (1)
The default layout overlays all the channels:
Plot every channel sequentially (RGB parade):
Stack channels vertically:
ScalingFunctions (1)
The pixel count is automatically rescaled for better viewing:
Do not rescale the count:
Use a custom scaling:
Related Guides
History
Text
Wolfram Research (2020), ImageWaveformPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageWaveformPlot.html.
CMS
Wolfram Language. 2020. "ImageWaveformPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ImageWaveformPlot.html.
APA
Wolfram Language. (2020). ImageWaveformPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageWaveformPlot.html
BibTeX
@misc{reference.wolfram_2025_imagewaveformplot, author="Wolfram Research", title="{ImageWaveformPlot}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ImageWaveformPlot.html}", note=[Accessed: 24-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_imagewaveformplot, organization={Wolfram Research}, title={ImageWaveformPlot}, year={2020}, url={https://reference.wolfram.com/language/ref/ImageWaveformPlot.html}, note=[Accessed: 24-November-2025]}