micmacIGN / micmac

Free open-source photogrammetry software tools
http://micmac.ensg.eu
Other
704 stars 151 forks source link

Schnaps won't create a Homol_mini folder #226

Open EloiGattet opened 1 year ago

EloiGattet commented 1 year ago

Hi! I'm having a problem on mac. Schnaps wont finish if you use different resolutions images.

➜  09_Data mm3d Schnaps ".*JPG"                            
Schnaps : reduction of homologue points in image geometry
S trict           
C hoice of        
H omologous       
N eglecting       
A ccumulations on 
P articular       
S pots
Number of searching windows: 1000
Working dir: ./
Images pattern: .*JPG
".*JPG": 10 matches.
Found 10 images.
All sizes: 
  * [6000,4000] => [39,26] windows of [154,154] pixels
  * [4032,3024] => [37,28] windows of [109,108] pixels
Read packs of homol points:
 Image Col1_Face_A.JPG: Found 7 homol files and 1531 raw homol couples.
 Image Col1_Face_B.JPG: Found 9 homol files and 3291 raw homol couples.
 Image Col1_Face_C.JPG: Found 8 homol files and 1691 raw homol couples.
 Image Col2_Face_A.JPG: Found 7 homol files and 880 raw homol couples.
 Image Col2_Face_B.JPG: Found 9 homol files and 2654 raw homol couples.
 Image Col2_Face_C.JPG: Found 7 homol files and 1541 raw homol couples.
 Image PXL_20230502_090642031.JPG: Found 9 homol files and 12145 raw homol couples.
 Image PXL_20230502_090643782.JPG: Found 9 homol files and 10800 raw homol couples.
 Image PXL_20230502_090648031.JPG: Found 9 homol files and 9921 raw homol couples.
 Image PXL_20230502_090650205.JPG: Found 9 homol files and 10784 raw homol couples.
Found 13314 Homol points (incl. 59 bad ones): 0% bad!
Create new homol...

The command fails to create a homol folder if there's different images resolutions. It appears that the problem is that I'm using images from 2 cameras with different resolutions. Schnaps works perfectly with same resolution images.