Hello
I have two images that clearly have overlapping areas and when I use findip I find key points. However if I try matchip or parallel_stereo, it tells me that the rough homography fails and that it cannot match the images.
Does anyone have an idea how I can debug this? I have tried increasing the
--ip-per-tile, I have tried supressing the rough homography, I have tried with another pair of images.
The images I have are generated from a model of vesta and I can see that when I run caminfo on them I only achieve an
UpperLeftLongitude
and UpperLeftLatitude but the LowerLeftLongitude, LowerLeftLatitude, LowerRightLongitude, LowerRightLatitude, UpperRightLongitude and UpperRightLatitude all have NULL value. Is this the culprit? i.e. is it this information that is used for the rought homography?
If yes, then where does these keywords come from? or can I set them manually?
below is the output when I run parallel_stereo on the images:
Using tiles (before collar addition) of 2048 x 2048 pixels.
Using a collar (padding) for each tile of 0 pixels.
Stage 0 --> PREPROCESSING
--> Setting number of processing threads to: 4
Using stereo file /Users/toldbo/workArea/stereo.default.
Writing log info to: /Users/toldbo/workArea/SynthVesta_Survey/test/results/-log-stereo_pprc-08-10-0913-37956.txt
Using session: isis
Loading camera model: /Users/toldbo/workArea/SynthVesta_Survey/test/D01710280060.cub
Loading camera model: /Users/toldbo/workArea/SynthVesta_Survey/test/D01710272860.cub
Distance between camera centers in meters: 130744.
Using image files: /Users/toldbo/workArea/SynthVesta_Survey/test/D01710280060.cub, /Users/toldbo/workArea/SynthVesta_Survey/test/D01710272860.cub
--> Computing statistics for left
left: [ lo:0 hi:253 m: 127.325 s: 45.9779]
--> Computing statistics for right
right: [ lo:0 hi:252 m: 116.827 s: 49.1582]
--> Normalizing globally to: [0 253]
--> Matching interest points in StereoSession.
Using epipolar threshold = 96.5436
IP uniqueness threshold = 0.7
Datum: Geodetic Datum --> Name: D_VESTA Spheroid: VESTA Semi-major axis: 284500 Semi-minor axis: 229000 Meridian: Reference Meridian at 0 Proj4 Str: +a=284500 +b=229000
Using rough homography.
Performing IP matching with alignment.
Rough homography--> [****************************************] Complete!
Rough homography fit failed, trying with identity transform.
Aligning right to left for IP capture using rough homography: Matrix3x3((1,0,0)(0,1,0)(0,0,1))
Looking for IP in left image...
Using 5000 interest points per tile (1024^2 px).
Detecting IP
Removing IP near nodata with radius 4
Building descriptors
Found interest points: 5000
Recording interest points to file: /Users/toldbo/workArea/SynthVesta_Survey/test/results/-D01710280060.vwip
Looking for IP in right image...
Using 5000 interest points per tile (1024^2 px).
Detecting IP
Removing IP near nodata with radius 4
Building descriptors
Found interest points: 5000
--> Matching interest points using the epipolar line.
Uniqueness threshold: 0.7
Epipolar threshold: 96.5436
Matching forward
Using 1 thread(s) for matching.
---> Obtained 5000 matches.
Matching backward
Using 1 thread(s) for matching.
---> Obtained 5000 matches.
Matched 0 points.
VW Error: Unable to match left and right images.
Traceback (most recent call last):
File "/Users/toldbo/opt/anaconda3/envs/asp/bin/parallel_stereo", line 995, in <module>
normal_run('stereo_pprc', args, msg='%d: Preprocessing' % step)
File "/Users/toldbo/opt/anaconda3/envs/asp/bin/parallel_stereo", line 661, in normal_run
raise Exception('Stereo step ' + kw['msg'] + ' failed')
Exception: Stereo step 0: Preprocessing failed