Giter VIP home page Giter VIP logo

Comments (15)

erupnik avatar erupnik commented on August 13, 2024 1

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.

X86Git avatar X86Git commented on August 13, 2024

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.

LulinZhang avatar LulinZhang commented on August 13, 2024

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.

X86Git avatar X86Git commented on August 13, 2024

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:
2024-01-25_11-33-05
The RPC files are as folows:
2024-01-25_11-33-33

The error is as follows:
2024-01-25_11-52-58

By the way, I use MicMac in the Windows platform.

I'm really looking forword to your help, thanks !

from sps-nerf.

erupnik avatar erupnik commented on August 13, 2024

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.

LulinZhang avatar LulinZhang commented on August 13, 2024

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.

X86Git avatar X86Git commented on August 13, 2024

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.
2024-01-29_17-24-12

from sps-nerf.

LulinZhang avatar LulinZhang commented on August 13, 2024

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.

X86Git avatar X86Git commented on August 13, 2024

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.

LulinZhang avatar LulinZhang commented on August 13, 2024

No advanced parameters are needed, just do the conversion without any parameter and it will work in MicMac.

from sps-nerf.

X86Git avatar X86Git commented on August 13, 2024

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:
2024-01-29_21-33-12

from sps-nerf.

LulinZhang avatar LulinZhang commented on August 13, 2024

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.

X86Git avatar X86Git commented on August 13, 2024

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.

LulinZhang avatar LulinZhang commented on August 13, 2024

The codes of MicMac evolves through time, you need to pull the codes and compile again.

from sps-nerf.

X86Git avatar X86Git commented on August 13, 2024

All right... Before using Windows version, I try to compile it but failed in the pocedure of CMake...

from sps-nerf.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.