![]() |
Camera tracking always giving negative X value
Today were were modifying some code, and in the process of cleaning up code (labview) the set size.vi for the camera got deleted. My theory is that we were getting a smaller image size then the image size the vision processing was expecting. Thus if the image was plotted from the top left of the screen, the entire image from the camera would fall into the "negative" zone of what the image processing is expecting. I put the VI back into the code but can't test until tomorrow, but wanted to know if this would cause something like this to happen. Any input would be awesome.
|
Re: Camera tracking always giving negative X value
It could cause the issue if the coordinate system transform uses the wrong offset and/or scaling. At one time this code called the image size function each time through, but surprisingly the profiler showed that function to be sorta expensive. I don't remember if it is still used or not. But I'd encourage you to look through the code and see if the values of width/2 is incorrect and causing the issue.
Greg McKaskle |
Re: Camera tracking always giving negative X value
The POV-Ray camera has ten different models, each of which uses a different projection method to project the scene onto your screen. Regardless of the projection type all cameras use the location, right, up, direction, and keywords to determine the location and orientation of the camera. The type keywords and these four vectors fully define the camera. All other camera modifiers adjust how the camera does its job. The meaning of these vectors and other modifiers differ with the projection type used.
|
| All times are GMT -5. The time now is 17:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi