({{, (RefLink[ImageCaptureFunction, paclet:ref/ImageCaptureFunction]) 
is an option for (RefLink[ImageCapture, paclet:ref/ImageCapture]) that specifies the function to apply to images acquired by the imaging device. }})

OpenersNotesSection(Spacer1)Details

Images are stored in the buffer after the function specified using (RefLink[ImageCaptureFunction, paclet:ref/ImageCaptureFunction]) is applied to them.

Typical settings include:

Use (RefLink[ImagePreviewFunction, paclet:ref/ImagePreviewFunction]) to process images only during display.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

By default, (RefLink[ImageCapture, paclet:ref/ImageCapture]) stores the original captured image in the buffer:

ImageCapture[]

Apply a function to the images after capture before storing in the buffer:

ImageCapture[ImageCaptureFunction->Binarize]

OpenersExampleSection2(Spacer1)Properties & Relations  (1)

The function to be applied to all images at acquisition time is also a property of camera devices:

dev=DeviceOpen[FindDevices["Camera"][[1]]]

dev["Properties"]

By default, the capture function is (RefLink[Identity, paclet:ref/Identity]), which is equivalent to no processing:

dev["ImageCaptureFunction"]

Specify a different capture function:

dev["ImageCaptureFunction"]=ColorNegate;

CurrentImage[ImagingDevice->dev["DeviceName"]]

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