QUOTE (CosmicRocker @ Aug 9 2006, 10:39 PM)

Ok, I read the documentation tonight and I have a question. For long-baseline calculations, if I want to use a pair of locations whose baseline vector is not nearly orthogonal to the direction to the target, can I use the orthogonal component of the vector? I suppose that wouldn't be strictly correct, but might it give better results than using the actual vector?
The thing is, the baseline vector connects the two rover positions from which the long baseline image pairs originate. If the vector points to anywhere other than the (right) rover [as seen from the left rover], then the results will be meaningless, although approximations are okay. Orthogonality to the target isn't necessary, only ideal. For example, I was able to get a pretty good measurement from rover positions at sols 877 & 878 to craters Gamma & Delta, in spite of them being pretty near parallel to those positions; there was enough effective orthogonal baseline (in comparison to that between the cameras on a single rover), that the results were still tolerably good. Consider the following example, in which we would like to measure from rover positions A and B to a Target:
Click to view attachmentThe effective baseline is the component of the actual baseline which is orthogonal to the target. We don't have to isolate that orthogonal component, it is implicit in the geometry, so all we need to do is specify the true baseline vector from A to B.
It is important to decide which position to use as our origin, A or B. If A, then the offset vector is simply B-A, and images from A will need to be the left images in APG, while images from B will need to be on the right. (the rover associated with the left image will be used as the origin for all wide baseline measurements wiithin AlgorimancerPG). If we would prefer to make B the origin, just swap the left and right images and negate the offset vector.
The following may be helpful. Yesterday I took some measurements from Phil Stooke's route map and compiled the following pixel positions and corresponding topocentric positions for Oppy's recent activities (all the column formatting is lost when I post, so use the link instead):
http://www.clarkandersen.com/SiteCoordinates.txtSol Locat Pix X Pix Y TopoX TopoY TopoZ
848 194 23 -11.5 -97 0
849 196 71 -35.5 -98 0
850 198 141 -70.5 -99 0
851852 204 193 -96.5 -102 0
853854 211 267 -133.5 -105.5 0
855856 223 352 -176 -111.5 0
857589 236 465 -232.5 -118 0
860861 233 540 -270 -116.5 0
862863 237 592 -296 -118.5 0
864868 250 653 -326.5 -125 0
869 248 735 -367.5 -124 0
870 261 774 -387 -130.5 0
871872875 282 815 -407.5 -141 0
873874 289 822 -411 -144.5 0
876 272 835 -417.5 -136 0
877 264 884 -442 -132 0
878882 262 944 -472 -131 0
883 269 1005 -502.5 -134.5 0
884 320 1051 -525.5 -160 0
885890 310 1057 -528.5 -155 0
891895 415 1015 -507.5 -207.5 0
896897 456 986 -493 -228 0
898899 448 976 -488 -224 0
Compare the Sol 877 & Sol 878 offset with that used in the APG example. Sol 877 position is (-442,-132,0), Sol 878-882 position is (-472,-131,0). Using the Sol 877 position as the origin (left), then I can find the offset as (-472 - -442, -131 - -132, 0 - 0) which gives an offset of (-30,1,0) ... very close to that which you get using the APG to measure to from the Sol 877 position to the estimated Sol 878 position, particularly considering the error. Of course these map-derived coordinates could be improved further if we could provide a Z component, but that becomes less important as the distance between the positions increases. The next version of APG should include Azimuth/Elevation information which will assist in this correction.
Anyway, one thing I am looking forward to is working with a nice wide baseline which is relatively orthogonal to the future drive direction towards Victoria. Just at the moment I'm thinking that a good baseline will be that between Oppy's Sol 883 and current Sol 898+ positions, I'm just waiting for them to take some more pancams towards the south. Using the Sol 898+ position as the origin, the offset vector to the Sol 883 position is (-502.5 - -488, -134.5 - -224, 0 - 0) = (-14.5, 89.5, 0). I might further estimate that Z might be something like -2 or -3 or thereabouts. That's a healthy baseline, triple the baseline between the Sols 877 - 878 positions, and we ought to be able to meaure pretty much anything we can see to really good accuracy (meters). At some point I may also have a go at measuring the range of the twin peaks way off to the east, once I establish a north-south baseline of 100-200 meters.
I hope that helps a little