ImagePreviewFunction

ImagePreviewFunction

is an option for CurrentImage and similar functions that specifies the function to apply to images before being displayed.

Details

  • Original images are stored in the buffer, and the function specified using ImagePreviewFunction is only applied to them before being displayed.
  • Typical settings include:
  • Identityno processing
    fan arbitrary function f

Examples

Basic Examples  (1)

By default, the original captured image is displayed in the capture user interface:

Apply a function to the images before displaying:

Notice the values stored in the buffer are still the original captured frames:

Wolfram Research (2017), ImagePreviewFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ImagePreviewFunction.html.

Text

Wolfram Research (2017), ImagePreviewFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ImagePreviewFunction.html.

CMS

Wolfram Language. 2017. "ImagePreviewFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ImagePreviewFunction.html.

APA

Wolfram Language. (2017). ImagePreviewFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImagePreviewFunction.html

BibTeX

@misc{reference.wolfram_2024_imagepreviewfunction, author="Wolfram Research", title="{ImagePreviewFunction}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/ImagePreviewFunction.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_imagepreviewfunction, organization={Wolfram Research}, title={ImagePreviewFunction}, year={2017}, url={https://reference.wolfram.com/language/ref/ImagePreviewFunction.html}, note=[Accessed: 22-December-2024 ]}