Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bessinz opened this issue Mar 1, 2022 · 1 comment
Open

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

bessinz opened this issue Mar 1, 2022 · 1 comment

Comments

@bessinz
Copy link

bessinz commented Mar 1, 2022

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 :

  • TileFusion (orfeotoobox) if needed
  • DynamicConvert (orfeotoolbox) to convert in uint16
  • For each of the three images:
    mm3d Convert2GenBundle image.tif rpc.XML RPC-deg0 ChSys=WGS84toUTM.xml Degre=0
  • For each of the three images:
    mm3d SateLib CropRPC Ori-RPC-deg0/GB-Orientation-IMG.tif.xml Ori-RPC-deg0/GB-Ori.* Crop Org=[9450,7799] Sz=[904,148]
  • mm3d Tapioca All "Crop.*tif" -1
  • mm3d Campari "Crop.*tif" Ori-Crop/ Crop_adj

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants