WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »

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 allclose all

Basic Examples  (2)

Top-bottom mirror reflection:

Left-right mirror reflection:

Scope  (8)

Data  (4)

Reflect a grayscale image:

Reflect a color image:

Reflect frames of a video:

Reflect a 3D image:

Parameters  (4)

Specify the side:

Reflect an image across the main diagonal:

Reflect along all sides, effectively reflecting about the center:

Show the back of a 3D image:

Applications  (2)

Correct for a mirror effect in a photo:

Create a wallpaper effect using reversed periodic extensions of an image:

Properties & Relations  (2)

Top-bottom image reflection using ImageTransformation :

Reflection across the main diagonal using ImageTransformation :

Reflection across the main anti-diagonal:

Show all possible combinations of named reflections:

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)

Wolfram Research (2008), ImageReflect, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageReflect.html (updated 2021).

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_2025_imagereflect, author="Wolfram Research", title="{ImageReflect}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ImageReflect.html}", note=[Accessed: 09-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_imagereflect, organization={Wolfram Research}, title={ImageReflect}, year={2021}, url={https://reference.wolfram.com/language/ref/ImageReflect.html}, note=[Accessed: 09-April-2025 ]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /