Comments (15)
Github removes the special sign from the messages, for some bizarre reason. You should precede the dollar sign with „\” -> \ $
also, don’t forget to put the star character within the symbol definition „(.*).tif”
from sps-nerf.
the error log:
Exit with code 1
Generated from line 202 of file D:\a\micmac\micmac\src\util\error.cpp
PID=24188
Context=[cEliseFatalErrorHandler::cEFEH_OnErreur]
GMEC:mes=cRPC::ReadASCII(const std::string &aFile) ASCII file not found line=3178 file=D:\a\micmac\micmac\src\uti_phgrm\Apero\cCameraRPC.cpp
MM3D-Command=["C:\micmac\bin\mm3d.exe" "Convert2GenBundle" "(.*).tif" ".txt" "RPC-d0-adj" "ChSys=WGS84toUTM.xml" "Degre=0" ]
from sps-nerf.
Hi, it seems like MicMac couldn't find you RPC file, please check if you missed the "$1" for the following command in section 1.2 of the README:
mm3d Convert2GenBundle "(.*).tif" "$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
from sps-nerf.
Hi, it seems like MicMac couldn't find you RPC file, please check if you missed the "$1" for the following command in section 1.2 of the README: mm3d Convert2GenBundle "(.*).tif" "$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
I have tried command as follows:
mm3d Convert2GenBundle "(.).tif" "$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
mm3d Convert2GenBundle "(.).tif" "$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
mm3d Convert2GenBundle "(.).tif" "(.).txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
but no one works.
Screenshots of files contained in the folder of the destination path are as follows:
The RPC files are as folows:
By the way, I use MicMac in the Windows platform.
I'm really looking forword to your help, thanks !
from sps-nerf.
Hi, there is a „\„ missing in your command, that’s the correct version:
mm3d Convert2GenBundle "(.*).tif" "$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
Cheers
from sps-nerf.
Yes, the correct version is this one:
mm3d Convert2GenBundle "(.*).tif" "\$1.txt" RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
or, you can replace this command with the following 4 commands to avoid the complexity of the regular expression:
mm3d Convert2GenBundle JAX_214_007_RGB.tif JAX_214_007_RGB.txt RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
mm3d Convert2GenBundle JAX_214_008_RGB.tif JAX_214_008_RGB.txt RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
mm3d Convert2GenBundle JAX_214_009_RGB.tif JAX_214_009_RGB.txt RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
mm3d Convert2GenBundle JAX_214_010_RGB.tif JAX_214_010_RGB.txt RPC-d0-adj ChSys=WGS84toUTM.xml Degre=0
from sps-nerf.
Thank you for your answers!
I found the problem, WINDOSW POWERSHELL doesn't support full regular expressions. So '$1' can't be used.
I follow the instructipn to specify files one by one, and complete the mm3d Convert2GenBundle function successfully.
But in the next step, I tried to execute mm3d Malt GeomImage and mm3d TestLib GeoreferencedDepthMap in the way specified one by one, but I still encountered problems that could not be solved.
from sps-nerf.
Hi, thank you for pointing this out.
MicMac could not read the original JAX tif format of the training images, you need to convert the images before launching MicMac, by QGIS for example (with "raster -> conversion -> convert"), or you can download the images we converted.
from sps-nerf.
Thank you for your answer. I want to replicate all the pocedures so that I canapply my own data to the SpS-NeRF.
I just downloaded QGIS and followed your help ("raster -> conversion -> Translate(convert format"). I selected the file "JAX_214_009_RGB.tif", and I don't konw which advanced parameters I need to selected (Such as"Out put data type":). (I search the DocMiCMac, it tells the Tiff can be in 16 bits or 8 bits, in 1 or 3 channel)
from sps-nerf.
No advanced parameters are needed, just do the conversion without any parameter and it will work in MicMac.
from sps-nerf.
Thank you very much for your help! I still need your help with one more question. In the last step, I tried the following instructions:
mm3d TestLib GeoreferencedDepthMap MM-"$img_name" "$img_name. tif" Ori-RPC-d0-adj OutDir= "$TxtDenseDir" Mask=1 Scale=4
mm3d TestLib GeoreferencedDepthMap MM-JAX_214_009_RGB JAX_214_009_RGB Ori-RPC-d0-adj OutDir= "$TxtDenseDir" Mask=1 Scale=4
But there is an error happened:
from sps-nerf.
Your MicMac didn't recognize the "GeoreferencedDepthMap" command, which is added into MicMac several months ago. Please try to update your MicMac and I think it will be OK.
from sps-nerf.
My MicMac(Windows) is the latest version which is published on Mar 31, 2023 from the girhub homepage of MicMac. Can you tell me where are the newer releases. Thanks!
from sps-nerf.
The codes of MicMac evolves through time, you need to pull the codes and compile again.
from sps-nerf.
All right... Before using Windows version, I try to compile it but failed in the pocedure of CMake...
from sps-nerf.
Related Issues (4)
- the data of bundle adjustment HOT 6
- About the satnerf eval results HOT 1
- About spsnerf train HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sps-nerf.