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:

In[1]:=
Click for copyable input
Out[1]=

Apply a function to the images before displaying:

In[2]:=
Click for copyable input
Out[2]=

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

In[3]:=
Click for copyable input
Out[3]=

See Also

ImageCapture  CurrentImage

Introduced in 2017
(11.2)