IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Flip horizontally the image sent by the camera. The ROI (region of interest) is applied after the flipping.
Name |
ReverseX |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
True False |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: Horizontal flipping is enabled.
•False: Horizontal flipping is disabled.
The access changes to read-only during an acquisition. |
For some sensors, ReverseX causes a change of the colored PixelFormat, e.g. BayerRG to BayerGR. Transfer the PixelFormat as chunk via ChunkSelector and ChunkEnable to be able to refer to it when you work with the image later on. |
For some sensors, ReverseX shifts the mirrored image one pixel to the right. |
Code example
C++
// Determine the current status of ReverseX
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("ReverseX")->Value();
// Set ReverseX to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("ReverseX")->SetValue(false);
C#
// Determine the current status of ReverseX
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("ReverseX").Value();
// Set ReverseX to false
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("ReverseX").SetValue(false);
Python
# Determine the current status of ReverseX (bool)
value = nodeMapRemoteDevice.FindNode("ReverseX").Value()
# Set ReverseX to false (bool)
nodeMapRemoteDevice.FindNode("ReverseX").SetValue(False)