loading
 
xtion image reversed in openni2
Dave Everett from Australia  [18 posts]
10 year
I've just started using the openni2 module with my xtion pro live.

I thought the line data was a little funny when I realised the image is reversed in the module. I've attached a grab, the objects showing on the right in the roborealm window are in fact on the left.

 
Dave Everett from Australia  [18 posts] 10 year
Looks like it might be the MIRRORING flag, from the programmers reference:

Mirroring
Mirroring causes the VideoStream to appear as if seen in a mirror – ie, the image is transformed by reflecting all pixels across the vertical axis.  To enable or disable mirroring, use the VideoStream::setMirroringEnabled() function.  Pass in TRUE to turn on mirroring, and FALSE to turn it off.  The current mirroring setting can be queried by using the getMirroringEnabled() function.

Dave
Steven Gentner from United States  [1446 posts] 10 year
Dave,

A Horizontal Flip checkbox was added to OpenNI and OpenNI2 module that should do this. Please download the latest RR version to get this update.

Thanks,
STeven.
Dave Everett from Australia  [1 posts] 10 year
Thanks Steve.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index