micmacIGN / micmac

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

Tapioca All doesn't create .dat in Homol directory #193

Open bessinz opened 2 years ago

bessinz commented 2 years ago

Hello,

I am trying to use micmac for the stereo restitution of cliffs. I use Pleiades tristereo images. This is a part of the workflow I need to compute :

I have an issue when computing Campari (see attached). Campari_error I had a look at it, and found out that the Tapioca All command doesn't create any .dat file in the Homol directory. I think this is why Campari doesn't work.

But Tapioca doesn't report any error:

@:~/Traitements/MicMac/2_Zak_05juin2021/4_base_pr_MicMac$ mm3d Tapioca All "Crop.TIF" -1 "Crop.TIF": 3 matches. /home/bessin/micmac/bin/mm3d TestLib XmlXif ./Crop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF ./Tmp-MM-Dir/Crop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF-MDT-4227.xml /home/bessin/micmac/bin/mm3d TestLib XmlXif ./Crop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF ./Tmp-MM-Dir/Crop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF-MDT-4227.xml /home/bessin/micmac/bin/mm3d TestLib XmlXif ./Crop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF ./Tmp-MM-Dir/Crop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF-MDT-4227.xml --- using detecting tool : [mm3d:Sift] --- using matching tool : [mm3d:Ann] "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" PastDevlop ./Crop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF Sz1=-1 Sz2=-1 "/home/bessin/micmac/bin/mm3d" Pastis ./ "NKS-Rel-AllCpleOfPattern@Crop.*TIF" -1 "MkF=./MkTapioca" NbMinPtsExp=2 ForceByDico=1 Detect=mm3d:Sift Match=mm3d:Ann ratio=0.600000 NKS=NKS-Assoc-CplIm2Hom@@dat

BY DICO "Crop.TIF": 3 matches. "Crop.TIF": 3 matches.

/ / P-rogramme utilisant, / A-utopano / S-ift pour les / T-ie-points dans les / I-mage / S / /home/bessin/micmac/bin/mm3d Sift ./Crop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF -o ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat /home/bessin/micmac/bin/mm3d Sift ./Crop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF -o ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat /home/bessin/micmac/bin/mm3d Sift ./Crop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF -o ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat 1910839 sift points 2151661 sift points /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.result -ratio 0.600000 /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.result -ratio 0.600000 2424635 sift points /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.result -ratio 0.600000 /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.result -ratio 0.600000 /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.result -ratio 0.600000 /home/bessin/micmac/bin/mm3d Ann ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat ./Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.result -ratio 0.600000 make: [MkTapioca:22: Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.result] Killed make: Waiting for unfinished jobs.... make: [MkTapioca:16: Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.result] Killed make: [MkTapioca:14: Pastis/LBPp-Match-LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.result] Killed ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat : 2424635 points ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat : 1910839 points => 176696 matches ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946506_SEN_5868764101-1_entier_converted.TIF.dat : 1910839 points ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat : 2424635 points => 179086 matches ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946389_SEN_5772373201-1_entier_converted.TIF.dat : 2424635 points ./Pastis/LBPpCrop-IMG_PHR1B_P_202106050946271_SEN_5864411101-1_entier_converted.TIF.dat : 2151661 points => 125680 matches

I also tried to compute Campari on my laptop using the files and directories needed by Campari but created with another machine (wsl on windows 10) from a colleague. So I used Homol, Pastis, Ori-Crop and Tmp-MM-Dir directories from this colleague. And Campari works. That is why I think the error comes from Tapioca, the step just before.

I work on a Ubuntu wsl (2.0) on my laptop (Windows 11) with the latest micmac version. I followed this tuto for the installation https://micmac.ensg.eu/index.php/Install_MicMac_Ubuntu . Do you have any idea of the origin of this error? Could it be the fact that I use a wsl on Windows 11?

Thank you for your help!

luc-girod commented 2 years ago

Hei, The Tapioca output shows that it crashed (Killed make: *** Waiting for unfinished jobs....). Maybe your laptop doesn't have enough RAM to handle such massive images? Maybe WSL has a limitation on how much RAM it's allowed to use?