camera_hdr_set_anti_ghosting_factor()

Set the anti-ghosting factor for an HDR session.

Synopsis:

#include <camera/camera_hdr.h>
 
camera_error_t camera_hdr_set_anti_ghosting_factor(camera_hdr_t hdr,                 
                                                   double factor)

Since:

BlackBerry 10.3.0

Arguments:

hdr

The HDR session handle obtained from a call to camera_hdr_create().

factor

The amount of anti-ghosting to apply. Higher values result in a stronger reduction of ghosting.

Library:

libcamerafeatures (For the qcc command, use the -l camerafeatures option to link against this library)

Description:

Ghosting is an artifact caused when objects in successive composited images are out of alignment due to motion. Anti-ghosting is an image processing algorithm that minimizes the effect of ghosting.

The anti-ghosting factor must be within the range returned by camera_hdr_get_anti_ghosting_range().

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.