ImageReflect[image]
reverses image by top-bottom mirror reflection.
ImageReflect[image,side]
reverses image by reflecting it so that the specified side goes to the opposite side.
ImageReflect[image,side1side2]
reflects image so that side1 is interchanged with side2.
ImageReflect[video,…]
reflects frames of video.
ImageReflect
ImageReflect[image]
reverses image by top-bottom mirror reflection.
ImageReflect[image,side]
reverses image by reflecting it so that the specified side goes to the opposite side.
ImageReflect[image,side1side2]
reflects image so that side1 is interchanged with side2.
ImageReflect[video,…]
reflects frames of video.
Details
- ImageReflect yields an image with pixel values corresponding to a reflected image.
- ImageReflect[image,…] reflects image in a line that goes through its center.
- ImageReflect works with arbitrary 2D and 3D images.
- Possible side specifications are: Top, Bottom, Left, Right.
- Additional side specifications in 3D are: Front, Back.
- Use ImageReflect[image,All] to mirror along all sides, top to bottom, left to right and front to back.
Examples
open all close allBasic Examples (2)
Scope (8)
Data (4)
ImageReflect[[image]]ImageReflect[[image]]ImageReflect[Video["ExampleData/fish.mp4"]]ImageReflect[\!\(\*Graphics3DBox[«11»]\)]Parameters (4)
ImageReflect[[image], Left]Reflect an image across the main diagonal:
ImageReflect[[image], Left -> Top]Reflect along all sides, effectively reflecting about the center:
ImageReflect[[image], All]ImageReflect[[image], Back -> Front]Applications (2)
Correct for a mirror effect in a photo:
ImageReflect[[image], Left]Create a wallpaper effect using reversed periodic extensions of an image:
i = [image];
Nest[ImageAssemble[{{#, ImageReflect[#, Right]}, {ImageReflect[#], ImageReflect[ImageReflect[#], Right]}}]&, i, 3]Properties & Relations (2)
Top-bottom image reflection using ImageTransformation:
i = [image];
ImageReflect[i] == ImageTransformation[i, ReflectionTransform[{0, 1}], PlotRange -> All]Reflection across the main diagonal using ImageTransformation:
ImageReflect[i, Left -> Top] == ImageTransformation[i, ReflectionTransform[{1, 1}], PlotRange -> All]Reflection across the main anti-diagonal:
ImageReflect[i, Right -> Top] == ImageTransformation[i, ReflectionTransform[{-1, 1}], PlotRange -> All]Show all possible combinations of named reflections:
sides = {Bottom, Left, Right, Top};
named = #[[1]] -> #[[2]]& /@ Tuples[sides, 2]TableForm[Partition[ImageReflect[[image], #]& /@ named, 4], TableHeadings -> {sides, sides}, TableAlignments -> Center]See Also
ImageRotate ImageTransformation ImageCrop Reverse
Function Repository: ConicAnamorphosisMap ImageKaleidoscope
Tech Notes
History
Introduced in 2008 (7.0) | Updated in 2012 (9.0) ▪ 2020 (12.2) ▪ 2021 (13.0)
Text
Wolfram Research (2008), ImageReflect, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageReflect.html (updated 2021).
CMS
Wolfram Language. 2008. "ImageReflect." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ImageReflect.html.
APA
Wolfram Language. (2008). ImageReflect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageReflect.html
BibTeX
@misc{reference.wolfram_2026_imagereflect, author="Wolfram Research", title="{ImageReflect}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ImageReflect.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_imagereflect, organization={Wolfram Research}, title={ImageReflect}, year={2021}, url={https://reference.wolfram.com/language/ref/ImageReflect.html}, note=[Accessed: 13-June-2026]}