({{, (RefLink[ImagePreviewFunction, paclet:ref/ImagePreviewFunction]) 
is an option for (RefLink[CurrentImage, paclet:ref/CurrentImage]) and similar functions that specifies the function to apply to images before being displayed.}})

OpenersNotesSection(Spacer1)Details

Original images are stored in the buffer, and the function specified using (RefLink[ImagePreviewFunction, paclet:ref/ImagePreviewFunction]) is only applied to them before being displayed.

Typical settings include:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

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

CurrentImage[]

Apply a function to the images before displaying:

CurrentImage[ImagePreviewFunction->ColorNegate]

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

CurrentImage[3]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ImageCaptureFunction, paclet:ref/ImageCaptureFunction])  ▪  (RefLink[ImageCapture, paclet:ref/ImageCapture])  ▪  (RefLink[CurrentImage, paclet:ref/CurrentImage])}})}})