Giter VIP home page Giter VIP logo

Comments (4)

 avatar commented on August 13, 2024

I just tested MicMac and BigMac instead of Forest with ZoomF = 1 with the same results. So it is not only related to Forest. Form the documentation of the C3CD command I would expect that the resolution changes:

if ZoomF is specifed, indicates the Zoom Final (1 is full resolution, 2 is half...). Default value for each type
of matching is:
- BigMac = 2
- MicMac = 4
- QuickMac = 8
- Statue = 2 (epipolair matching)
- Forest = 4 (epipolair matching)

Please me me know if I should run some specific test.
Thanks!

from micmac.

erupnik avatar erupnik commented on August 13, 2024

Hi,
no matter which ZoomF you choose the output will always be at the norminal resolution (which you should see/verify in the meta xml file that accompanies your surface files). The difference between the three results is that the surface reconstruction stops at the desired ZoomF, but, as the output is set to the nominal resolution it will interpolate from the ZoomF to the nominal res.

It is not a bug and nothing surprising the results differ in quality;

from micmac.

 avatar commented on August 13, 2024

Hi Ewelina,

thanks a lot for your prompt reply!
Please bear with me, if my questions are not precise :-)

What I am wondering about is, how I can produce surfaces with different resolutions. In Malt this is done via ZoomF. Hence, I was expecting the same here. In this respect, what do you mean with nominal resolution?
When running Malt with ZoomF1 the resultion is 2364 x 2772 instead of 1260 x 1520px with PIMs (see screenshot below). The PIMs-ZNUM-Merged.xml also indicates a finer resolution:

<?xml version="1.0" ?>
<FileOriMnt>
     <NameFileMnt>PIMs-Merged_Prof.tif</NameFileMnt>
     <NameFileMasque>PIMs-Merged_Masq.tif</NameFileMasque>
     <NombrePixels>2522 3042</NombrePixels>
     <OriginePlani>315899.039999999979 4405745.91999999993</OriginePlani>
     <ResolutionPlani>0.0800000000000000017 -0.0800000000000000017</ResolutionPlani>
     <OrigineAlti>0</OrigineAlti>
     <ResolutionAlti>1</ResolutionAlti>
     <Geometrie>eGeomMNTEuclid</Geometrie>
</FileOriMnt>

whereas the PIMs-Merged_Masq.xml does not:

<?xml version="1.0" ?>
<FileOriMnt>
     <NameFileMnt>PIMs-Merged_Prof.tif</NameFileMnt>
     <NameFileMasque>PIMs-Merged_Masq.tif</NameFileMasque>
     <NombrePixels>1261 1521</NombrePixels>
     <OriginePlani>315899.039999999979 4405745.91999999993</OriginePlani>
     <ResolutionPlani>0.160000000000000003 -0.160000000000000003</ResolutionPlani>
     <OrigineAlti>0</OrigineAlti>
     <ResolutionAlti>1</ResolutionAlti>
     <Geometrie>eGeomMNTEuclid</Geometrie>
</FileOriMnt>

So my questions are:

  • how can I change the "nominal resolution"? Is this only possible by resizing the images?
  • will the output resolution always be the equivalent to Malt with ZoomF = 2, or can it be changed via some command?

Any help is really appreciated!
Best,
Thorsten

pims_forest_f1_vs_malt_f1

from micmac.

 avatar commented on August 13, 2024

Hi all and @erupnik
I opened a pull request (#71) which should solve the issue. Would be great if you can have a look.
The problem was mainly that ZoomF = 2 was hard coded. I now added the option to set it manually.

Best,
Thorsten

from micmac.

Related Issues (20)

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.