Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - chr00t

Pages: [1]
1
Python and Java API / Rotate chunk
« on: August 23, 2016, 06:00:40 PM »
Hello,

Is it possible to rotate a chunk so a chosen camera gets at 0.0 for each omega kappa phi angles? Would you provide a snippet code?

2
Hello,

I've got around using a camera as the origin thanks to Alexey snippets,

Now I need to set the angles for this camera as 0.0 0.0 0.0 so it becomes my referential, how do I do that?

3
Python and Java API / Orientation with 3 points
« on: August 23, 2016, 03:52:09 PM »
Hello,

Could you provide a snippet code to set an orientation using 3 points?

4
Python and Java API / Move origin
« on: August 19, 2016, 02:50:26 PM »
Hello,

Would you complete that snippet on how to change the origin?

I want the first camera to become the new origin

import PhotoScan
import math
doc = PhotoScan.app.document
doc.open("project.psx")
chunk = doc.chunk
camera_becoming_origin = chunk.cameras[0];

then transform ?  :o

5
General / About X Y Z Omega Kappa Phi
« on: August 18, 2016, 04:02:00 PM »
I'm trying to use the camera positions calculated by Photoscan, especially the angles.

 The quaternions I'm computing from the OPK file's Euler angles appears to be garbage as they don't express the actual orientation of each cameras supposing the origin (0,0,0) is in the center of my model.

I'm using
# PhotoID, X, Y, Z, Omega, Phi, Kappa, r11, r12, r13, r21, r22, r23, r31, r32, r33

When i place these values to quaternions into a 3D coordinate systems I'm expecting to see radiant arrows in a plane, about this: http://www.featurepics.com/StockImage/20110114/arrows-pointing-to-center-stock-illustration-1756808.jpg as cameras are on a circle pointing inward to an object.

But I get all quaternions more or less around a straight -Y axis.

So, what is going on?

Is the origin waaay off? How would I move said origin?

Are these outputted values suceptible to gimbal lock and possibly actually gargabe?





6
General / Kinect V2 Camera Calibration parameters
« on: July 27, 2016, 03:14:02 PM »
I'm looking for the Kinect V2 Camera Calibration parameters:

Pixel size (mm) :
Focal length (mm) :
Fx:
Fy:

Thanks for your inputs!

Pages: [1]