loading
 
xtion image reversed in openni2
Dave Everett from Australia  [18 posts]
11 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] 11 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
Carl from Your Country  [1447 posts] 11 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] 11 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