Skip to content

Reverse X and Reverse Y#

The Reverse X and Reverse Y camera features allow you to mirror acquired images horizontally, vertically, or both.

Reverse X is available on all camera models. Reverse Y is available on selected camera models.

Using the Feature#

Enabling Reverse X#

To enable Reverse X, set the ReverseX parameter to true.

The camera mirrors the image horizontally:

Reverse X Mirror Imaging

Enabling Reverse Y#

On some camera models, the Reverse Y feature is also available.

To enable Reverse Y, set the ReverseY parameter to true.

The camera mirrors the image vertically:

Reverse Y Mirror Imaging

Using Image ROIs or Auto Function ROIs with Reverse X or Reverse Y#

If you have specified an image ROI or auto function roi while using Reverse X or Reverse Y, it depends on your camera model whether the position of the ROI relative to the sensor adapts to the mirrored image or not.

Self-Adapting Image ROI or Auto Function ROI#

On some camera models, the position of the ROI relative to the sensor adapts to the mirrored image when you use the Reverse X or the Reverse Y feature. The camera captures the same portions of the image.

Adapting of ROI with Reverse X Mirror Imaging

Adapting of ROI with Reverse Y Mirror Imaging

No Self-Adapting Image ROI or Auto Function ROI#

On some camera models, the position of the ROI relative to the sensor remains the same. As a consequence, the camera captures different portions of the image depending on whether the Reverse X or the Reverse Y feature are enabled:

No Adapting of ROI with Reverse X Mirror Imaging

No Adapting of ROI with Reverse Y Mirror Imaging

Effective Bayer Filter Alignments (Color Cameras Only)#

Depending on your camera model, the Bayer filter alignment changes when Reverse X, Reverse Y, or both are used.

For example, if you use a camera with a physical Bayer BG filter alignment and enable Reverse X, the actual Bayer filter alignment will be Bayer GB. The PixelFormat parameter value changes accordingly.

Specifics#

Show all camera models

Camera Model Reverse X Available Reverse Y Available Self-Adapting Image ROI or Auto Function ROI Changes in Bayer Filter Alignment
a2A1920-51gcBAS Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A1920-51gcPRO Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A1920-51gmBAS Yes Yes Yes N/A (mono camera)
a2A1920-51gmPRO Yes Yes Yes N/A (mono camera)
a2A1920-160ucBAS Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A1920-160ucPRO Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A1920-160umBAS Yes Yes Yes N/A (mono camera)
a2A1920-160umPRO Yes Yes Yes N/A (mono camera)
a2A3840-13gcBAS Yes Only when the camera is idle, i.e., not acquiring images Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A3840-13gmBAS Yes Only when the camera is idle, i.e., not acquiring images Yes N/A (mono camera)
a2A3840-45ucBAS Yes Only when the camera is idle, i.e., not acquiring images Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
a2A3840-45umBAS Yes Only when the camera is idle, i.e., not acquiring images Yes N/A (mono camera)
acA640-90gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA640-90gm Yes No No N/A (mono camera)
acA640-90uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA640-90um Yes No No N/A (mono camera)
acA640-120gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA640-120gm Yes No No N/A (mono camera)
acA640-120uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA640-120um Yes No No N/A (mono camera)
acA640-121gm Yes No No N/A (mono camera)
acA640-300gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA640-300gm Yes Yes No N/A (mono camera)
acA640-750uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA640-750um Yes Yes No N/A (mono camera)
acA720-290gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA720-290gm Yes Yes No N/A (mono camera)
acA720-520uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA720-520um Yes Yes No N/A (mono camera)
acA780-75gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA780-75gm Yes No No N/A (mono camera)
acA800-200gc Yes Yes No N/A (mono camera)
acA800-200gm Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA800-510uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA800-510um Yes Yes No N/A (mono camera)
acA1280-60gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1280-60gm Yes No No N/A (mono camera)
acA1300-22gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1300-22gm Yes No No N/A (mono camera)
acA1300-30gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1300-30gm Yes No No N/A (mono camera)
acA1300-30uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1300-30um Yes No No N/A (mono camera)
acA1300-60gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1300-60gm Yes No No N/A (mono camera)
acA1300-60gmNIR Yes No No N/A (mono camera)
acA1300-75gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA1300-75gm Yes Yes No N/A (mono camera)
acA1300-200uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA1300-200um Yes Yes No N/A (mono camera)
acA1440-73gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA1440-73gm Yes Yes No N/A (mono camera)
acA1440-220uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA1440-220um Yes Yes No N/A (mono camera)
acA1600-20gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1600-20gm Yes No No N/A (mono camera)
acA1600-20uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1600-20um Yes No No N/A (mono camera)
acA1600-60gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1600-60gm Yes No No N/A (mono camera)
acA1920-25gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1920-25gm Yes No No N/A (mono camera)
acA1920-25uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA1920-25um Yes No No N/A (mono camera)
acA1920-40gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-40gm Yes Yes No N/A (mono camera)
acA1920-40uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-40ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-40um Yes Yes No N/A (mono camera)
acA1920-40umMED Yes Yes No N/A (mono camera)
acA1920-48gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-48gm Yes Yes No N/A (mono camera)
acA1920-50gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-50gm Yes Yes No N/A (mono camera)
acA1920-150uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA1920-150um Yes Yes No N/A (mono camera)
acA1920-155uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-155ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA1920-155um Yes Yes No N/A (mono camera)
acA1920-155umMED Yes Yes No N/A (mono camera)
acA2000-50gc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2000-50gm Yes Yes No N/A (mono camera)
acA2000-50gmNIR Yes Yes No N/A (mono camera)
acA2000-165uc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2000-165um Yes Yes No N/A (mono camera)
acA2000-165umNIR Yes Yes No N/A (mono camera)
acA2040-25gc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2040-25gm Yes Yes No N/A (mono camera)
acA2040-25gmNIR Yes Yes No N/A (mono camera)
acA2040-35gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2040-35gm Yes Yes No N/A (mono camera)
acA2040-55uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2040-55um Yes Yes No N/A (mono camera)
acA2040-90uc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2040-90um Yes Yes No N/A (mono camera)
acA2040-90umNIR Yes Yes No N/A (mono camera)
acA2040-120uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2040-120um Yes Yes No N/A (mono camera)
acA2440-20gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2440-20gm Yes Yes No N/A (mono camera)
acA2440-35uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2440-35ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2440-35um Yes Yes No N/A (mono camera)
acA2440-35umMED Yes Yes No N/A (mono camera)
acA2440-75uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2440-75ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA2440-75um Yes Yes No N/A (mono camera)
acA2440-75umMED Yes Yes No N/A (mono camera)
acA2500-14gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2500-14gm Yes No No N/A (mono camera)
acA2500-14uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA2500-14um Yes No No N/A (mono camera)
acA2500-20gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA2500-20gcMED Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA2500-20gm Yes Yes No N/A (mono camera)
acA2500-20gmMED Yes Yes No N/A (mono camera)
acA2500-60uc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA2500-60um Yes Yes No N/A (mono camera)
acA3088-16gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA3088-16gm Yes Yes No N/A (mono camera)
acA3088-57uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA3088-57um Yes Yes No N/A (mono camera)
acA3800-10gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA3800-10gm Yes No No N/A (mono camera)
acA3800-14uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA3800-14um Yes No No N/A (mono camera)
acA4024-8gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4024-8gm Yes Yes No N/A (mono camera)
acA4024-29uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4024-29um Yes Yes No N/A (mono camera)
acA4096-11gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4096-11gm Yes Yes No N/A (mono camera)
acA4096-30uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4096-30ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4096-30um Yes Yes No N/A (mono camera)
acA4096-30umMED Yes Yes No N/A (mono camera)
acA4096-40uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4096-40ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4096-40um Yes Yes No N/A (mono camera)
acA4096-40umMED Yes Yes No N/A (mono camera)
acA4112-8gc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4112-8gm Yes Yes No N/A (mono camera)
acA4112-20uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4112-20ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4112-20um Yes Yes No N/A (mono camera)
acA4112-20umMED Yes Yes No N/A (mono camera)
acA4112-30uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4112-30ucMED Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA4112-30um Yes Yes No N/A (mono camera)
acA4112-30umMED Yes Yes No N/A (mono camera)
acA4600-7gc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA4600-10uc Yes No No Reverse X and Reverse Y don't affect Bayer filter alignment
acA5472-5gc Yes Yes No Default: BG
Reverse X enabled: GB
Reverse Y enabled: GR
Reverse X and Reverse Y enabled: RG
acA5472-5gm Yes Yes No N/A (mono camera)
acA5472-17uc Yes Yes No Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
acA5472-17um Yes Yes No N/A (mono camera)
boA4096-93cc Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
boA4096-93cm Yes Yes Yes N/A (mono camera)
boA4112-68cc Yes Yes Yes Default: RG
Reverse X enabled: GR
Reverse Y enabled: GB
Reverse X and Reverse Y enabled: BG
boA4112-68cm Yes Yes Yes N/A (mono camera)
daA1280-54lc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
daA1280-54lm Yes Yes No N/A (mono camera)
daA1280-54uc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
daA1280-54um Yes Yes No N/A (mono camera)
daA1600-60lc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
daA1600-60lm Yes Yes No N/A (mono camera)
daA1600-60uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
daA1600-60um Yes Yes No N/A (mono camera)
daA1920-15um Yes Yes No N/A (mono camera)
daA1920-30uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
daA1920-30um Yes Yes No N/A (mono camera)
daA2500-14lc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
daA2500-14lm Yes Yes No N/A (mono camera)
daA2500-14uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
daA2500-14um Yes Yes No N/A (mono camera)
daA2500-60mc Reverse X and Y feature not supported Reverse X and Y feature not supported No Reverse X and Y feature not supported
puA1280-54uc Yes Yes No Reverse X and Reverse Y don't affect Bayer filter alignment
puA1280-54um Yes Yes No N/A (mono camera)
puA1600-60uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
puA1600-60um Yes Yes No N/A (mono camera)
puA1920-30uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
puA1920-30um Yes Yes No N/A (mono camera)
puA2500-14uc Yes Yes No Default: GB
Reverse X enabled: BG
Reverse Y enabled: RG
Reverse X and Reverse Y enabled: GR
puA2500-14um Yes Yes No N/A (mono camera)

Sample Code#

// Enable Reverse X
camera.ReverseX.SetValue(true);
// Enable Reverse Y, if available
camera.ReverseY.SetValue(true);
INodeMap& nodemap = camera.GetNodeMap();
// Enable Reverse X
CBooleanPtr(nodemap.GetNode("ReverseX"))->SetValue(true);
// Enable Reverse Y, if available
CBooleanPtr(nodemap.GetNode("ReverseY"))->SetValue(true);
INodeMap& nodemap = camera.GetNodeMap();
// Enable Reverse X
CBooleanParameter(nodemap, "ReverseX").SetValue(true);
// Enable Reverse Y, if available
CBooleanParameter(nodemap, "ReverseY").SetValue(true);
// Enable Reverse X
camera.Parameters[PLCamera.ReverseX].SetValue(true);
// Enable Reverse Y, if available
camera.Parameters[PLCamera.ReverseY].SetValue(true);
// Enable Reverse X
Pylon.DeviceSetBooleanFeature(hdev, "ReverseX", true);
// Enable Reverse Y, if available
Pylon.DeviceSetBooleanFeature(hdev, "ReverseY", true);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Enable Reverse X */
errRes = PylonDeviceSetBooleanFeature(hdev, "ReverseX", 1);
CHECK(errRes);
/* Enable Reverse Y, if available */
errRes = PylonDeviceSetBooleanFeature(hdev, "ReverseY", 1);
CHECK(errRes);

You can also use the pylon Viewer to easily set the parameters.