Giter VIP home page Giter VIP logo

micmacign / micmac Goto Github PK

View Code? Open in Web Editor NEW
672.0 672.0 150.0 648.39 MB

Free open-source photogrammetry software tools

Home Page: http://micmac.ensg.eu

License: Other

C++ 91.94% CMake 0.64% Makefile 0.03% C 3.78% Gnuplot 0.01% HTML 0.04% Roff 0.01% MATLAB 0.01% Logos 0.01% Batchfile 0.01% Shell 0.32% Python 0.15% Cuda 0.31% Inno Setup 0.02% QMake 0.01% PostScript 0.02% GLSL 0.01% TeX 1.10% Dockerfile 0.01% Fortran 1.63%

micmac's People

Contributors

ale-bris avatar amrosu avatar atruffier avatar celestinhuet avatar deseilligny avatar erupnik avatar gchoqueux avatar gmaillet avatar ign-packo avatar jfvilleforceix avatar jmmuller avatar jolebelge avatar luc-girod avatar luca-penasa avatar lulinzhang avatar mdaakir avatar meynardc avatar mgaudin avatar mohamedanass avatar nguyengiang41 avatar nicoign avatar oscarmartinezrubi avatar rjanvier avatar sbonaime avatar silvanosky avatar staronc avatar tristanfaureign avatar tristanfaurey avatar yilinzhou avatar ymeneroux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

micmac's Issues

Macos Compilation problem

Compilation stops at 14% :-(

/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:411:7: error: use of undeclared identifier 'XCreateWindow'
  w = XCreateWindow
      ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:426:3: error: use of undeclared identifier 'XMapWindow'
  XMapWindow(ded->_disp,w);
  ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:427:3: error: use of undeclared identifier 'XSelectInput'
  XSelectInput
  ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:439:6: error: use of undeclared identifier 'XWindowEvent'
     XWindowEvent(ded->_disp,w,ExposureMask,&glob_event);
     ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:440:6: error: use of undeclared identifier 'XMoveWindow'
     XMoveWindow(ded->_disp,w,p0.x,p0.y);
     ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:441:6: error: use of undeclared identifier 'XMapWindow'
     XMapWindow(ded->_disp,w);
     ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:448:7: error: use of undeclared identifier 'XChangeWindowAttributes'
      XChangeWindowAttributes(ded->_disp,w,CWBackingStore,&att);
      ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:477:5: error: use of undeclared identifier 'XRaiseWindow'
    XRaiseWindow(_devd->_disp,_w);
    ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:482:5: error: use of undeclared identifier 'XLowerWindow'
    XLowerWindow(_devd->_disp,_w);
    ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:489:5: error: use of undeclared identifier 'XMoveWindow'
    XMoveWindow(_devd->_disp,_w,aP.x,aP.y);
    ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:490:5: error: use of undeclared identifier 'XMapWindow'
    XMapWindow(_devd->_disp,_w);
    ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:521:23: error: use of undeclared identifier 'XDefaultRootWindow'
                /*_w*/XDefaultRootWindow(_devd->_disp),
                      ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:897:7: error: use of undeclared identifier 'XPutImage'
      XPutImage
      ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1028:2: error: use of undeclared identifier 'XCopyArea'
        XCopyArea
        ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1113:11: error: use of undeclared identifier 'XResizeWindow'
          XResizeWindow(_devd->_disp,_mother,_SzMere->x,_SzMere->y);
          ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1114:11: error: use of undeclared identifier 'XMapWindow'
          XMapWindow(_devd->_disp,_mother);
          ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1125:16: error: use of undeclared identifier 'XCreateWindow'
          _w = XCreateWindow
               ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1138:11: error: use of undeclared identifier 'XMapWindow'
          XMapWindow(_devd->_disp,_w);
          ^
/Users/foouser/git/micmac/src/xinterf/fen_x11.cpp:1141:11: error: use of undeclared identifier 'XSelectInput'
          XSelectInput
          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

[Error AperiCloud] : Type has changed between Dump/Undump

On a une erreur sur AperiCloud, avec n'importe quelle jeux de donnés (les miens au moins):


| Sorry, the following FATAL ERROR happened
|
| Type has changed between Dump/Undump
|


| (Elise's) LOCATION :
|
| Error was detected
| at line : 2116
| of file : /home/gnguyen/micmac/include/private/files.h

En attends de correction, si vous avez eu cette erreur, la solution est effacer tout les fichier .dmp dans Tmp-MM-Dir.

rm ./Tmp-MM-Dir/*.dmp

ReSampFid looks for Ori-NONE

Hei,

When I process historical images like I used to (see wiki), I now get an error when doing the ReSampFid. All the files are correct (and it goes fine with the last Mercurial verision of MicMac). The error is as follow :

**>mm3d ReSampFid .*tif 0.0125
For Ori=NONE , and Name=FM-79-056_X-3.tif

| Sorry, the following FATAL ERROR happened
|
| cannot get cInterfChantierNameManipulateur::StdCamGenOfNames
|


| (Elise's) LOCATION :
|
| Error was detected
| at line : 1924
| of file : /micmac/src/photogram/phgr_basic.cpp

Bye (press enter)**

Apero2Meshlab or something else for cameras

Thank you for developing this great software!
I started to learn it and this is my test project
https://drive.google.com/file/d/0B2gY2jqH8FS8WFVybEtkaG83Wmc/view?usp=sharing
I get nice point cloud! But without texture
I think that i need transformations of cameras for manually texture projecting
I try to export meshlab project with cameras

$ mm3d Apero2Meshlab ".*.png" WINDOW
Images to process: 3
P5260238.png (1 of 3)
------------------------------------------------------------
|   Sorry, the following FATAL ERROR happened               
|                                                           
|    Unitialized Value in cValGesInit
|                                                           
------------------------------------------------------------
-------------------------------------------------------------
|       (Elise's)  LOCATION :                                
|                                                            
| Error was detected
|          at line : 841
|          of file : /home/bm/bin/micmac/include/general/util.h
-------------------------------------------------------------
Bye  (press enter)

How to fix that or how to get transformations of cameras by another way?
FBX? Collada?

Thank you.

ps: linux mint 64bit, manual build from git

Tapioca ne fait pas du SFS avec Digeo

Salut,

Nous nous sommes rendus compte en testant les paramétrages de Tapioca, que lorsqu'on essayait de faire du Tapioca avec Digeo et SFS, Tapioca n'utilise pas les images SFS (pourtant créé dans Tmp-MM-Dir). Pour les tests on purge à chaque fois Pastis et Tmp-MM-Dir).

Qu'on mette SFS dans la ligne de commande (@sfs à la fin) ou dans le MicMacLoca...
De même pour Digeo, qu'on le mette dans la ligne de commande (Detect=Digeo) our dans le XML_User.

Comment on le voit? Les poids des répertoires homologues est strictement le même. Par contre avec SIFT la différence est nette. De plus s'il on lance mm3d Digeo sur une image "sifté", on voit nettement la différence avec le même Digeo sur une image non sifté?

Tapioca donne-t-il les bonnes choses à "manger" à Digeo?

Merci
Paul

beta 7 crashed while runing tapas

Hi, all.
I download  the beta7 binaries which is debug version. I add the msvcp140d.dll and It work well in Tapioca.

But It crashed at Tapas with this message:
vector subscript out of range
I guess there is a bug in the beta7 src code.

SiftGpu crashed in win7 x64

Hi, all. I try the 1.0.beta7 at my computer with a NVIDIA Quadro  graph card. 

The program crashed after show this message:
"Note: changing maximum texture dimension to 32768
SiftGpu language: cuda"
Any idear about this situation?

Fails to compile on Arch

Hi, Just wondering if anyone has any ideas regarding:

In file included from /home/chris/Other Repositories/micmac/CodeExterne/Poisson/include/MultiGridOctreeData.h:673:0,
                 from /home/chris/Other Repositories/micmac/CodeExterne/Poisson/src/PoissonRecon.cpp:50:
/home/chris/Other Repositories/micmac/CodeExterne/Poisson/include/MultiGridOctreeData.WeightedSamples.inl: In member function ‘V Octree<Real>::_Evaluate(const DenseNodeData<C, FEMDegree>&, Point3D<Real>, const BSplineData<DataDegree>&, const ConstPointSupportKey<DataDegree>&) const’:
/home/chris/Other Repositories/micmac/CodeExterne/Poisson/include/MultiGridOctreeData.WeightedSamples.inl:360:28: error: no matching function for call to ‘Octree<Real>::FunctionIndex(const TreeOctNode*&, int [3]) const’
    FunctionIndex( n , fIdx );
                            ^

Cheers

Camera distorsion models

Hi, everyone. I was interested in knowing the equations behind the different distorsion models in Micmac (radial, Fraser, FisheEye...). Is there any function or script whose code I could find here in GitHub?
I already got a kind answer from Steve in the MM forum providing useful references:

http://forum-micmac.forumprod.com/fisheyeequi-calibration-model-equations-t1549.html

But I was wondering if I could look directly at the code of the functions to see the actual equations applied in MM.

Thanks a lot!

Unitialized Value in cValGesInit

Hei,

I am compiling on Windows with Visual Studio 2015 and the simplest Tapioca command (even in the Gravillon dataset) fails with 👍


| Sorry, the following FATAL ERROR happened
|
| Unitialized Value in cValGesInit
|


| (Elise's) LOCATION :
|
| Error was detected
| at line : 824
| of file : c:\git\micmac\include\general/util.h

Bye (press enter)

I have no idea what Value it's talking about, the dataset normally works fine.

vSaisieAppuisInitQT

v1.0.beta11

vSaisieAppuisInitQT renvoie un message d'erreur dans une fenêtre :

[vSaisieAppuisInitQT] is not a valid command!!!

valid commands are:

SaisieAppuisInitQT
SaisieAppuisPredicQT
SaisieBascQT
SaisieCylQT
SaisieMasqQT
SaisieBoxQT

La commande "classique" SaisieAppuisInit fonctionne normalement.

Tapioca option for half resolution

Hei,

In Tapioca, we can set the resolution for the tie point search either manually (and twice for the MulScale mode) or with "-1" for full scale. Discussions about the optimal resolution to use have often concluded that half the image resolution was a sweet point. Should there be an option in Tapioca to do that automatically, like "-2" does half-res?

Luc

Irrelevant command names

The names of the commands to use do not reflect their behaviors.
Even worse; it's using a completely different terminology field (alcohol in this case).

Are you serious when you ask to the user to memorize all the commands implications ?

It's a shame for a big open source tool like this coming from a state institution. Do you imagine NASA WorldWind with such an infantile joke ?

Compile in RHEL6 and CPP_ReducHom.cpp

Hei,

While compiling on RHEL6 with gcc/g++ 4.9.2, I have some undefined references in RCPP_ReducHom.cpp . I commented most of the code there (not sure it is actually used by anything, it "does some stuff" according to mm3d.cpp) and it compiled fine. Anybody had problems with that as well? Anyone knows if that ReducHom still does something (as part of Schnaps?)?

Problem with micmac-win

I have a problem with latest version of Micmac, when I tried to copy files in the MicMac 64 bit version folder and I tried to start a mm3d command the system send a message about the library ucrtbased.dll that it can't be found... (the only file in Windows\System32 which exist is ucrtbase.dll (without d) )

SaisieQT crashes when trying to delete new points in the list

Sometimes, SaisieAppuisInitQT creates new points as 1000, 1001... when it fails to use point numbers specified in the command line or selected in table, on the right panel.

Launching SaisieAppuisInitQT with one of these commands:
mm3d SaisieAppuisInitQT "IMGP18(45|52|58).JPG" MEP_AutoCal Cibles_CoordTronc.xml MesuresCibles.xml
or
mm3d SaisieAppuisInitQT "IMGP18(45|52|58).JPG" MEP_AutoCal 34 MesuresCibles.xml

When I try to delete these points by these way:

  • select in the table, on the right panel,
  • right click
  • "Delete selected points" / "Supprimer le point sélectionné"
    => it crashes with the Windows warning "SaisieQT.exe a cessé de fonctionner"
    => Just this error message in the command line:
FAIL IN :
"C:/micmac/bin/SaisieQT" SaisieAppuisInitQT "IMGP18(45|52|58).JPG" "MEP_AutoCal" "Cibles_CoordTronc.xml" "MesuresCibles.xml"

I'm using MicMac x64 rev6706 on Win7 x64.

Help Processing Dataset with Embedded GPS

Bonjour,

I'm trying to process a small dataset captured with a DJI Phantom 3 drone: https://github.com/pierotofy/drone-datasets/tree/master/brighton_beach_duluth_mn

My neighbors.xml file:

<?xml version="1.0" ?>
<SauvegardeNamedRel>
     <Cple>DJI_0034.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0034.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0033.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0022.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0024.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0021.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0032.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0029.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0026.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0027.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0025.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0020.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0033.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0031.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0030.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0019.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0018.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0026.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0023.JPG DJI_0022.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0035.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0023.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0021.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0032.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0031.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0027.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0029.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0020.JPG</Cple>
     <Cple>DJI_0028.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0028.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0018.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0019.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0030.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0025.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0034.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0024.JPG</Cple>
     <Cple>DJI_0035.JPG DJI_0023.JPG</Cple>
</SauvegardeNamedRel>

The commands I'm running:

mm3d Tapioca File neighbors.xml 1500
mm3d Tapas RadialBasic ".*.JPG" Out=Calib-Rel
mm3d Tapas RadialBasic ".*.JPG" Out=All-Rel InCal=Calib-Rel
mm3d AperiCloud "R.*.JPG" All-Rel

At which point the sparse point cloud looks correct:

image

I continue processing with:

mm3d ChgSysCo ".*.JPG" All-Rel [email protected] All-UTM

chsys.xml:

<SystemeCoord>
     <BSC>
        <TypeCoord>eTC_RTL</TypeCoord>
        <AuxR>46.84262927777778</AuxR>
        <AuxR>-91.99357866666666</AuxR>
        <AuxR>198.509</AuxR>
     </BSC>
     <BSC>
        <TypeCoord>eTC_WGS84</TypeCoord>
        <AuxRUnite>eUniteAngleDegre</AuxRUnite>
     </BSC>
</SystemeCoord>

and

epsg26915.xml

<SystemeCoord>
         <BSC>
            <TypeCoord>  eTC_Proj4 </TypeCoord>
            <AuxR>       1        </AuxR>
            <AuxR>       1        </AuxR>
            <AuxR>       1        </AuxR>
            <AuxStr>+proj=utm +zone=15 +ellps=GRS80 +datum=NAD83 +units=m +no_defs </AuxStr>
         </BSC>
</SystemeCoord>

I continue with:

mm3d PIMs MicMac ".*JPG" All-UTM
mm3d Pims2MNT MicMac DoOrtho=1

But on Pims2MNT I get the following:

4
============= PARAMS ========== 
 -  SzWindow 1  (i.e. : 3x3)
 -  Regul 0.02
 -  Final Zoom 2
 -  Initial Zoom 4
 -  Use TA as Mask   No
 -  Z Step : 0.4
 -  Nb Min Visible Images : 3
================================ 
"/data/packages/micmac/bin/mm3d" MICMAC "/data/packages/micmac/include/XML_MicMac/MM-Malt.xml" WorkDir=./ +ImPat="NKS-Set-OfFile@PIMs-MicMac/PimsFile.xml" +DirMEC=PIMs-TmpMnt/ +ZoomFinal=2 +Ori=Basc +ResolRelOrhto=0.500000 +NbProc=4 +DirTA=TA +DirOrthoF=Ortho-PIMs-TmpMnt/ +ZRegul=0.020000 +SzW=1 +ZoomInit=4 +FileMasqT=EmptyXML.xml +ZPas=0.400000 +DbleZPas=0.800000 +DemiZPas=0.200000 +NbMinIV=3 +FileOthoF=EmptyXML.xml +FileOthoQ=EmptyXML.xml +FileUnAnam=EmptyXML.xml +Purge=false +MkFPC=true +DoMEC=false +UseGpu=false +ZIncCalc=0.300000 +NbEtapeQuant=3 +DefCor=0.200000 +CostTrans=2.000000 +Geom=eGeomMNTEuclid +RSRT=1 +ButDoOrtho=false +ModeOriIm=eGeomImageOri  +FileZ1Raff=EmptyXML.xml +FileZ16==EmptyXML.xml +EZA=1 +FileZMoy=File-ZMoy.xml +ZMoy=0.000000 +UseRatioResolImage=true  +RatioResolImage=1.000000 +UseResolTerrain=true  +ResolTerrain=0.015766 +IncidMax=1.000000 +DoIncid=true 
------------------------------------------------------------
|   Sorry, the following FATAL ERROR happened               
|                                                           
|    Bad Size in DataIm2DGen::Initialize
|                                                           
------------------------------------------------------------
-------------------------------------------------------------
|       (Elise's)  LOCATION :                                
|                                                            
| Error was detected
|          at line : 509
|          of file : /data/packages/micmac/src/bitm/im2d_tpl.cpp
-------------------------------------------------------------
Bye  (press enter)

I can't figure out what that means. I've read all of your wiki, searched the forum but I can't figure out how to get PIMs2Mnt to continue processing. Perhaps I've missed a step, in which case could somebody help me understand how to fix it?

merci!

problem to compile micmac in ubuntu 17.10

I tray to compile micmac and i fallow all the installation instruction but i have this response when I use cmake

-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
-- -----> OpenGL found
-- using Qt 5.9.1
-- QT tools enabled (Qt5)
c++11
-std=c++11
-- Found Git: /usr/bin/git (found version "2.14.1")
-- -- Git executable found
-- Derniere revision git de MicMac :
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
CMake Warning (dev) at /usr/share/cmake-3.9/Modules/FindOpenMP.cmake:200 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

Quoted variables like "c" will no longer be dereferenced when the policy is
set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
/usr/share/cmake-3.9/Modules/FindOpenMP.cmake:324 (_OPENMP_GET_FLAGS)
CodeExterne/Poisson/CMakeLists.txt:6 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- PoissonRecon/SurfaceTrimmer: OpenMP enabled
-- Configuring done
CMake Error at src/CMakeLists.txt:174 (add_library):
Cannot find source file:

uti_phgrm/NewOri/GpsLoc.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

CMake Error: Cannot determine link language for target "elise".
CMake Error: CMake can not determine linker language for target: elise
-- Generating done
-- Build files have been written to: /home/wroot/projet_scan/micmac-master/build
wroot@wroot-HP-ProBook-4540s:~/projet_scan/micmac-master/build$ cmake ../
-- -----> OpenGL found
-- using Qt 5.9.1
-- QT tools enabled (Qt5)
c++11
-std=c++11
-- -- Git executable found
-- Derniere revision git de MicMac :
-- PoissonRecon/SurfaceTrimmer: OpenMP enabled
-- Configuring done
CMake Error at src/CMakeLists.txt:174 (add_library):
Cannot find source file:

uti_phgrm/NewOri/GpsLoc.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

CMake Error: Cannot determine link language for target "elise".
CMake Error: CMake can not determine linker language for target: elise
-- Generating done
-- Build files have been written to: /home/wroot/projet_scan/micmac-master/build

EpipolarEcart must return a value

@deseilligny there is no return value in cBasicGeomCap3D::EpipolarEcart and it's an error for the windows building process on Appveyor

Appveyor error :
c:\projects\micmac-uct71\src\photogram\phgr_basic.cpp(1623): error C4716: 'cBasicGeomCap3D::EpipolarEcart': must return a value [C:\projects\micmac-uct71\build\src\elise.vcxproj]

ChgSysCo on Windows

When using ChgSysCo on windows, a call to an external bin (probably proj.exe) is made, but the path is not probably set (I think), so it gives the following error :

'C:' is not recognized as an internal or external command,
operable program or batch file.

I have tried and failed to trace the call in Apero...

SaisieAppuisInitQT fails to record points with some tiff files

Hello,

I am having an issue when running the command mm3d SaisieAppuisInitQT "image.tif" NONE id_fiducial.txt MeasuresIm-image.tif.xml where "image.tif" is replaced with my tiff file from the tutorial located at http://micmac.ensg.eu/index.php/Historical_Orthoimage

Testing on various tiff files there are 3 cases that seem to happen.

Case 1: Point 1 is recorded, but all other points fail to record and display -100000, -10000 for coordinates.
Case 2: Point 1 and 3 record properly, but all other points display -100000, -10000 for coordinates.
Case 3: All points record properly.

The pixel coordinates do update properly, but are not recorded when the point is clicked. Clicking when no point is selected will generate new points labelled 1001, 1002, etc but with coordinates -100000, -10000.

Here are links to files that display each case (note they do not have fiducial marks, but demonstrate the issue).

Case 1: Only point 1 is recorded.

http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/raster/NE1_HR_LC.zip

http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/raster/GRAY_HR_SR_OB_DR.zip

Case 2: Point 1 and 3 record properly.

http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/raster/NE1_50M_SR.zip

http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/raster/GRAY_50M_SR.zip

Case 3: No points record properly.

https://map.openaerialmap.org/#/-33.75,-76.59543897616086,2/2312/58907f0fb0eae7f3b143bfab?_k=jl0mj9

https://map.openaerialmap.org/#/-41.1328125,36.527294814546245,3/02311/58907f10b0eae7f3b143c018?_k=ebylfp

I have tested this with 1.0.beta11 release and source version on Ubuntu 17.04 and CentOS 7. I have also tested compiled versions of 1.0.beta11 and the latest github source on Ubuntu 17.04 and CentOS 7. I have tested compiled versions of 1.0.beta11 on Red Hat Enterprise Linux 6.9 and Ubuntu 16.04 as well with the same result.

I have attached two screen shots one showing the first point recorded properly and the second failed to record. I attempted to record all 8 points.
saisieinitqt-point1
saisieinitqt-point2

missing template instantation in cNewO_DynFusPtsMul.cpp

I got this error at link time both for mm3d and for SaisieQT:

NewO_CpleIm.cpp:(.text+0x5c27): undefined reference to `void NOMerge_AddAllCams<2>(cStructMergeTieP<cFixedSizeMergeTieP<2, Pt2d<double>, cCMT_NoVal> >&,

this can be solved by forcing an instantation of the method in

src/uti_phgrm/NewOri/cNewO_DynFusPtsMul.cpp

e.g. at line 616 add

template void NOMerge_AddAllCams<2>(cStructMergeTieP<cFixedSizeMergeTieP<2, Pt2dr, cCMT_NoVal>>& aMap, std::vector<cNewO_OneIm*> aVI);

maybe this was a tentative to force an instantation? On my setup it seems to not work.. Probably it is never called anywhere so the instance is not created with a recent gcc? Just guessing....

void New_ForceInstanceNOMerge_AddAllCams()
{
    std::vector<cNewO_OneIm*> aVI;
    cStructMergeTieP< cFixedSizeMergeTieP<2,Pt2dr,cCMT_NoVal> > aMap(2,false);
    NOMerge_AddAllCams(aMap,aVI);
}

If my solution is ok I can send a pull request, maybe also to solve issue #42

hope it helps
Thanks for micmac :-D

Problems compiling under Windows

Hi all,

I just tried compiling MicMac on Windows. I used: cmake -G "Visual Studio 14 2015 Win64" ../
First I tested the latest beta (11). It went through but it only copied mm3d.exe to the bin folder. All other executables remained in \build\src\CBinaires\MinSizeRel. I also tested Release instead of MinSizeRel with the same result.
Since I had some issues with Malt I tried compiling micmac-master. The result is similar with the addition that mm3d has not been compiled at all. This is the corresponding error message:

52>------ Build started: Project: mm3d, Configuration: Release x64 ------
52>  Building Custom Rule C:/Develop/CPP/micmac-master/src/CBinaires/CMakeLists.txt
52>  CMake does not need to re-run because C:/Develop/CPP/micmac-master/build/src/CBinaires/CMakeFiles/generate.stamp is up-to-date.
52>  mm3d.cpp
52>c:\develop\cpp\micmac-master\include\im_tpl/cPtOfCorrel.h(159): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
52>LINK : fatal error LNK1181: cannot open input file '..\Release\elise.lib'
53>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
53>  Building Custom Rule C:/Develop/CPP/micmac-master/CMakeLists.txt
53>  CMake does not need to re-run because C:/Develop/CPP/micmac-master/build/CMakeFiles/generate.stamp is up-to-date.
54>------ Build started: Project: INSTALL, Configuration: Release x64 ------
54>  -- Install configuration: "Release"
54>  -- Installing: C:/Develop/CPP/micmac-master/lib/ANN.lib
54>  -- Installing: C:/Develop/CPP/micmac-master/binaire-aux/windows/PoissonRecon.exe
54>  -- Installing: C:/Develop/CPP/micmac-master/binaire-aux/windows/SurfaceTrimmer.exe
54>  CMake Error at src/cmake_install.cmake:50 (file):
54>    file INSTALL cannot find
54>    "C:/Develop/CPP/micmac-master/build/src/Release/elise.lib".
54>  Call Stack (most recent call first):
54>    cmake_install.cmake:34 (include)
54>
54>
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
54>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 51 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

Is it a bug or do I have to change some settings? Let me know if you need further details.

Thanks and best regards,
Thorsten

Compiling on Windows 10

Hi,
Thanks for this piece of software that is awesome!!
I already used it, the last release work fine.
I would also like to output the orientations in meshlab, NVM or *.out or Apero2Meshlab... they are the same, but they all give me the same error:

CreateProcess failed (2).
make.exe: Error executing 'c:/MicMac64bits/binaire-aux/convert ./angle21DSC05876.JPG ./meshlabRast-MEP/angle21DSC05876.jpg': No such file or directory
make.exe: Error code -1, while making 'Task_0'
FAIL IN :
"c:/MicMac64bits/binaire-aux/windows/make.exe" all -f "./MkConvert10684_419_787_0" -P12 -s

ok i found this http://forum-micmac.forumprod.com/apero2pmvs-and-apero2pnvm-t1457.html and i've tried to compile last code....

i've got this:

PS C:\micmac\build> cmake ../
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/micmac/build/CMakeFiles/CMakeOutput.log".
See also "C:/micmac/build/CMakeFiles/CMakeError.log".

i've installed cmake "cmake-3.11.0-rc3-win64-x64"
and visual studio 2017
Any help
Thanks
Marco

Build Error with MacOS10.12

problems with SSTR macro in CPP_CilliaImgt.cpp and CPP_CilliaXML.cpp

error: non-const lvalue reference to type 'basic_ostringstream<...>' cannot bind to a temporary of type 'basic_ostringstream<...>'

conflict between -std=c++11 and -std=gnu++11 that creates error with PCH

error: trigraphs was enabled in PCH file but is currently disabled

Error on put_time

put_time (used in SatLib) is part of c++11 but not available on gcc<5
this creates error on travis build (gcc 4.8.4)

Bug in Malt

Hi all,

I just compiled latest beta (11) of MicMac. Not all went smooth during compilation (see #52), however, it seems to work generally. Anyway, there seems to be some bug in Malt. It is best described with some results. The dataset is a very low res dataset I use for testing.

This is the TA from Tarama, which looks good:
ta_lechantier

This is the TA from Malt:
ta_std-malt_beta11

The resulting DEM looks like this:
shadedrelief_b11

The TA from Tarama has 445x453px whereas the TA from Malt has 681x705px.

As a reference, this is what an older version of Malt generates:
ta_std-malt
shadedrelief

Basic commands for all tests:

Tarama .*.JPG Referenced Zoom=8
Malt Ortho .*.JPG Referenced ZoomF=8 UseTA=0 

Since the commads are the same I assume this is a bug and not related to the dataset.

Thanks and best regards,
Thorsten

Failing compilation on Debian 9

Hi all,

When I try to build the very last version of MicMac, I get this error:

[ 91%] Building CXX object src/CMakeFiles/elise.dir/RegTIRVIS/RegTIRVIS.cpp.o /home/livmion/git/micmac/src/RegTIRVIS/RegTIRVIS.cpp:1:24: fatal error: cregtirvis.h: No such file or directory #include "cregtirvis.h" ^ compilation terminated. src/CMakeFiles/elise.dir/build.make:19950: recipe for target 'src/CMakeFiles/elise.dir/RegTIRVIS/RegTIRVIS.cpp.o' failed make[2]: *** [src/CMakeFiles/elise.dir/RegTIRVIS/RegTIRVIS.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:279: recipe for target 'src/CMakeFiles/elise.dir/all' failed make[1]: *** [src/CMakeFiles/elise.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

It seems it is missing one file.

Thank you in advance.

Small error in the wiki

Hello,

I've just successfully installed micmac on my mac and was stuck a while in the installation process because of (what seems to me) a small typo, yet difficult to by pass for newbies to cmake like me.

It is on the page Install MicMac MAC (see below). The full command line should be (missing =1after -DWITH_QT5) :

cmake -DWITH_QT5=1 -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.10.1/ ../

Just wanted to report this to enforce ease of installation.
Thank you for this tool !

capture d ecran 2018-03-07 a 11 14 58

TiPunch error

What mean this error?

$ mm3d TiPunch C3DC_BigMac.ply 
Com= /home/bm/bin/micmac/binaire-aux/linux/PoissonRecon --in C3DC_BigMac.ply --out C3DC_BigMac_poisson_depth8.ply --depth 8 --threads 8

**********************Running Poisson reconstruction**********************

Mesh built and saved in C3DC_BigMac_poisson_depth8.ply
------------------------------------------------------------
|   Sorry, the following FATAL ERROR happened               
|                                                           
|    Filter=true and image pattern is missing
|                                                           
------------------------------------------------------------
-------------------------------------------------------------
|       (Elise's)  LOCATION :                                
|                                                            
| Error was detected
|          at line : 206
|          of file : /home/bm/bin/micmac/src/uti_phgrm/CPP_TiPunch.cpp

Array of constant size 0

Hei,
For some time, MicMac can't be compiled on Windows (Visual Studio 2015), because of this compiling error:
1>C:\Git\micmac\src\photogram\phgr_ebner_brown_dist.cpp(1673): error C2466: cannot allocate an array of constant size 0
1>C:\Git\micmac\src\photogram\phgr_ebner_brown_dist.cpp(1675): error C2466: cannot allocate an array of constant size 0

I am quite confused of why an constantly empty array would be declared, but I'm not sure how that part of the code works.

Error can't compile the code source for Windows

Hi everyone,
I want to use Visual studio 2013 to compile micmac but I got some errors.
Firstly I used cmake-gui to compile the code
Then visual studio on INSTALL project and got this result:

Erreur 1 error MSB3073: La commande "setlocal D:\CMake\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd :VCEnd" s'est arrêtée avec le code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132 5 INSTALL
Thanks.

Compilation error on Mac 10.11 and QT5

Please help, I would like upgrade my micmac version
so I building micmac from source (github 1.0beta7)

I compiled QT5 with success.

but when I run micmac compilation
make install

I get this error :
error: trigraphs was enabled in PCH file but is currently disabled

I don't know what it mean.

here cmake cmd

cmake ../ -DWITH_Qt5=1 -DBUILD_POISSON=ON
-- -----> OpenGL found
-- using Qt 5.8.0
-- QT tools enabled (Qt5)
-- Found Git: /usr/bin/git (found version "2.7.4 (Apple Git-66)") 
-- -- Git executable found
-- Derniere revision git de MicMac : 1.0.beta7-134-gfbf9ded

***   ATTENTION!!! Vous devez installer Image Magick. ***
***   http://www.imagemagick.org/script/index.php     ***

-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Applications/3D/micmac/build
`

here the full make 's log 
`make install -j8
Scanning dependencies of target ANN
Scanning dependencies of target poisson
Scanning dependencies of target elise_
Scanning dependencies of target EPExeRechCibleInit
Scanning dependencies of target EPExeCalibInit
Scanning dependencies of target ScriptCalib
Scanning dependencies of target SaisiePts
Scanning dependencies of target SEL
[  0%] Building C object src/CBinaires/CMakeFiles/SaisiePts.dir/SaisiePts.c.o
[  0%] Building C object src/CBinaires/CMakeFiles/SEL.dir/SEL.c.o
[  0%] Building C object src/CBinaires/CMakeFiles/EPExeCalibInit.dir/EPExeCalibInit.c.o
[  0%] Building C object src/CBinaires/CMakeFiles/EPExeRechCibleInit.dir/EPExeRechCibleInit.c.o
[  0%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/PoissonRecon.cpp.o
[  0%] Building C object src/CBinaires/CMakeFiles/ScriptCalib.dir/ScriptCalib.c.o
[  0%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/ANN.cpp.o
[  0%] Generating ../../include/StdAfx.h.pch
[  0%] Linking C executable ScriptCalib
[  0%] Linking C executable SEL
[  0%] Linking C executable EPExeRechCibleInit
[  0%] Linking C executable EPExeCalibInit
[  0%] Linking C executable SaisiePts
[  0%] Built target EPExeRechCibleInit
[  0%] Built target EPExeCalibInit
[  0%] Built target SEL
[  0%] Built target SaisiePts
[  0%] Built target ScriptCalib
[  0%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/CmdLineParser.cpp.o
Scanning dependencies of target SaisieMasq
Scanning dependencies of target EPExeCatImSaisie
Scanning dependencies of target SaisieBasc
Scanning dependencies of target Campari
[  0%] Building C object src/CBinaires/CMakeFiles/SaisieMasq.dir/SaisieMasq.c.o
[  0%] Building C object src/CBinaires/CMakeFiles/EPExeCatImSaisie.dir/EPExeCatImSaisie.c.o
[  1%] Building C object src/CBinaires/CMakeFiles/SaisieBasc.dir/SaisieBasc.c.o
[  1%] Building C object src/CBinaires/CMakeFiles/Campari.dir/Campari.c.o
[  1%] Linking C executable Campari
[  1%] Built target Campari
Scanning dependencies of target tiff_info
[  1%] Building C object src/CBinaires/CMakeFiles/tiff_info.dir/tiff_info.c.o
[  1%] Linking C executable SaisieMasq
[  1%] Linking C executable SaisieBasc
[  1%] Built target SaisieMasq
Scanning dependencies of target TestCam
[  1%] Built target SaisieBasc
[  1%] Building C object src/CBinaires/CMakeFiles/TestCam.dir/TestCam.c.o
Scanning dependencies of target SBGlobBascule
[  1%] Building C object src/CBinaires/CMakeFiles/SBGlobBascule.dir/SBGlobBascule.c.o
[  1%] Linking C executable EPExeCatImSaisie
[  1%] Built target EPExeCatImSaisie
Scanning dependencies of target Tawny
[  1%] Building C object src/CBinaires/CMakeFiles/Tawny.dir/Tawny.c.o
[  1%] Linking C executable tiff_info
[  1%] Built target tiff_info
[  1%] Linking C executable SBGlobBascule
Scanning dependencies of target Tarama
[  1%] Building C object src/CBinaires/CMakeFiles/Tarama.dir/Tarama.c.o
[  1%] Built target SBGlobBascule
[  2%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/Factor.cpp.o
[  2%] Linking C executable TestCam
[  2%] Built target TestCam
Scanning dependencies of target Tapioca
[  2%] Building C object src/CBinaires/CMakeFiles/Tapioca.dir/Tapioca.c.o
[  3%] Linking C executable Tawny
[  3%] Built target Tawny
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/bd_pr_search.cpp.o
[  3%] Linking C executable Tarama
[  3%] Built target Tarama
Scanning dependencies of target ScaleIm
[  3%] Building C object src/CBinaires/CMakeFiles/ScaleIm.dir/ScaleIm.c.o
[  3%] Linking C executable Tapioca
[  3%] Built target Tapioca
Scanning dependencies of target EPExeRechCibleDRad
[  3%] Building C object src/CBinaires/CMakeFiles/EPExeRechCibleDRad.dir/EPExeRechCibleDRad.c.o
[  3%] Linking C executable ScaleIm
[  3%] Built target ScaleIm
Scanning dependencies of target to8Bits
[  3%] Building C object src/CBinaires/CMakeFiles/to8Bits.dir/to8Bits.c.o
[  3%] Linking C executable EPExeRechCibleDRad
[  3%] Built target EPExeRechCibleDRad
[  3%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/Geometry.cpp.o
[  3%] Linking C executable to8Bits
[  3%] Built target to8Bits
Scanning dependencies of target Reduc2MM
[  3%] Building C object src/CBinaires/CMakeFiles/Reduc2MM.dir/Reduc2MM.c.o
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/bd_tree.cpp.o
[  3%] Linking C executable Reduc2MM
[  3%] Built target Reduc2MM
[  3%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/MarchingCubes.cpp.o
Scanning dependencies of target Porto
[  3%] Building C object src/CBinaires/CMakeFiles/Porto.dir/Porto.c.o
[  3%] Linking C executable Porto
[  3%] Built target Porto
[  3%] Building CXX object CodeExterne/Poisson/CMakeFiles/poisson.dir/src/PlyFile.cpp.o
Scanning dependencies of target Pasta
[  3%] Building C object src/CBinaires/CMakeFiles/Pasta.dir/Pasta.c.o
[  3%] Linking C executable Pasta
[  3%] Built target Pasta
Scanning dependencies of target Tapas
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/ANN.cpp:51:2: [  3%] Building C object src/CBinaires/CMakeFiles/Tapas.dir/Tapas.c.o
warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register int d;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/ANN.cpp:52:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNcoord diff;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/ANN.cpp:53:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNcoord dist;
        ^~~~~~~~~
[  3%] Linking C executable Tapas
[  3%] Built target Tapas
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_dump.cpp.o
3 warnings generated.
Scanning dependencies of target Nuage2Ply
[  3%] Building C object src/CBinaires/CMakeFiles/Nuage2Ply.dir/Nuage2Ply.c.o
[  3%] Linking C executable Nuage2Ply
[  3%] Built target Nuage2Ply
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_pr_search.cpp.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/bd_pr_search.cpp:26:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:89:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int r = n;
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:91:5: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                                register int p = r/2;
                                ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:108:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register PQkey kn = pq[n--].key;// last item in queue
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:109:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int p = 1;                     // p points to item out of position
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:110:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int r = p<<1;          // left child of p
                        ^~~~~~~~~
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/bd_pr_search.cpp:26:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.h:31:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
6 warnings generated.
Scanning dependencies of target EPExeConvertPolygone
[  3%] Building C object src/CBinaires/CMakeFiles/EPExeConvertPolygone.dir/EPExeConvertPolygone.c.o
[  3%] Linking C executable EPExeConvertPolygone
[  3%] Built target EPExeConvertPolygone
Scanning dependencies of target EPExeCompens
[  3%] Building C object src/CBinaires/CMakeFiles/EPExeCompens.dir/EPExeCompens.c.o
[  3%] Linking C executable EPExeCompens
[  3%] Built target EPExeCompens
Scanning dependencies of target MapCmd
[  3%] Building C object src/CBinaires/CMakeFiles/MapCmd.dir/MapCmd.c.o
[  3%] Linking C executable MapCmd
[  3%] Built target MapCmd
Scanning dependencies of target MICMAC
[  3%] Building C object src/CBinaires/CMakeFiles/MICMAC.dir/MICMAC.c.o
[  3%] Linking C executable MICMAC
[  3%] Built target MICMAC
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_split.cpp.o
[  3%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_util.cpp.o
Scanning dependencies of target Bascule
[  3%] Building C object src/CBinaires/CMakeFiles/Bascule.dir/Bascule.c.o
[  3%] Linking C executable Bascule
[  3%] Built target Bascule
Scanning dependencies of target Malt
[  3%] Building C object src/CBinaires/CMakeFiles/Malt.dir/Malt.c.o
[  4%] Linking C executable Malt
[  4%] Built target Malt
Scanning dependencies of target SaisieAppuisPredic
[  4%] Building C object src/CBinaires/CMakeFiles/SaisieAppuisPredic.dir/SaisieAppuisPredic.c.o
[  4%] Linking C executable SaisieAppuisPredic
[  4%] Built target SaisieAppuisPredic
[  4%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/bd_fix_rad_search.cpp.o
Scanning dependencies of target AperiCloud
[  4%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/bd_search.cpp.o
[  4%] Building C object src/CBinaires/CMakeFiles/AperiCloud.dir/AperiCloud.c.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:25:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:89:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int r = n;
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:91:5: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                                register int p = r/2;
                                ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:108:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register PQkey kn = pq[n--].key;// last item in queue
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:109:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int p = 1;                     // p points to item out of position
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue.h:110:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int r = p<<1;          // left child of p
                        ^~~~~~~~~
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:25:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.h:31:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:184:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNdist dist;                          // distance to data point
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:185:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord* pp;                          // data coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:186:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord* qq;                          // query coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:187:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNdist min_dist;                      // distance to k-th closest point
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:188:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord t;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_pr_search.cpp:189:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register int d;
        ^~~~~~~~~
[  4%] Linking C executable AperiCloud
[  4%] Built target AperiCloud
Scanning dependencies of target GrShade
[  4%] Building C object src/CBinaires/CMakeFiles/GrShade.dir/GrShade.c.o
[  4%] Linking C executable GrShade
12 warnings generated.
[  4%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/brute.cpp.o
[  4%] Built target GrShade
Scanning dependencies of target Vino
[  4%] Building C object src/CBinaires/CMakeFiles/Vino.dir/Vino.c.o
[  4%] Linking C executable Vino
[  4%] Built target Vino
Scanning dependencies of target Apero
[  4%] Building C object src/CBinaires/CMakeFiles/Apero.dir/Apero.c.o
[  4%] Linking C executable Apero
[  4%] Built target Apero
Scanning dependencies of target Dequant
[  4%] Building C object src/CBinaires/CMakeFiles/Dequant.dir/Dequant.c.o
[  4%] Linking C executable Dequant
[  4%] Built target Dequant
Scanning dependencies of target Gri2Bin
[  4%] Building C object src/CBinaires/CMakeFiles/Gri2Bin.dir/Gri2Bin.c.o
Scanning dependencies of target GenXML2Cpp
[  4%] Building C object src/CBinaires/CMakeFiles/GenXML2Cpp.dir/GenXML2Cpp.c.o
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_util.cpp:130:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNdist dist = 0.0;            // sum of squared distances
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_util.cpp:131:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNdist t;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_util.cpp:133:7: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        for (register int d = 0; d < dim; d++) {
             ^~~~~~~~~
[  5%] Linking C executable GenXML2Cpp
[  5%] Linking C executable Gri2Bin
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_util.cpp:241:3: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                register int i = (r+l)/2;               // select middle as pivot
                ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_util.cpp:242:3: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                register int k;
                ^~~~~~~~~
[  5%] Built target GenXML2Cpp
Scanning dependencies of target SaisieAppuisInit
[  5%] Built target Gri2Bin
[  5%] Building C object src/CBinaires/CMakeFiles/SaisieAppuisInit.dir/SaisieAppuisInit.c.o
Scanning dependencies of target Drunk
[  5%] Building C object src/CBinaires/CMakeFiles/Drunk.dir/Drunk.c.o
[  5%] Linking C executable SaisieAppuisInit
5 warnings generated.
[  6%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_fix_rad_search.cpp.o
[  6%] Built target SaisieAppuisInit
Scanning dependencies of target ReducHom
[  6%] Building C object src/CBinaires/CMakeFiles/ReducHom.dir/ReducHom.c.o
[  6%] Linking C executable ReducHom
[  6%] Linking C executable Drunk
[  6%] Built target Drunk
[  6%] Built target ReducHom
[  6%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_search.cpp.o
Scanning dependencies of target ScaleNuage
[  6%] Building C object src/CBinaires/CMakeFiles/ScaleNuage.dir/ScaleNuage.c.o
[  6%] Linking C executable ScaleNuage
[  6%] Built target ScaleNuage
Scanning dependencies of target PastDevlop
[  6%] Building C object src/CBinaires/CMakeFiles/PastDevlop.dir/PastDevlop.c.o
[  6%] Linking C executable PastDevlop
[  6%] Built target PastDevlop
[  6%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/kd_tree.cpp.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/bd_fix_rad_search.cpp:26:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
1 warning generated.
Scanning dependencies of target EPExeCalibFinale
[  6%] Building C object src/CBinaires/CMakeFiles/EPExeCalibFinale.dir/EPExeCalibFinale.c.o
[  7%] Linking C executable EPExeCalibFinale
[  7%] Built target EPExeCalibFinale
Scanning dependencies of target MpDcraw
[  7%] Building C object src/CBinaires/CMakeFiles/MpDcraw.dir/MpDcraw.c.o
[  7%] Linking C executable MpDcraw
[  7%] Built target MpDcraw
Scanning dependencies of target CmpCalib
[  7%] Building C object src/CBinaires/CMakeFiles/CmpCalib.dir/CmpCalib.c.o
[  8%] Linking C executable CmpCalib
[  8%] Built target CmpCalib
Scanning dependencies of target Devlop
[  8%] Building C object src/CBinaires/CMakeFiles/Devlop.dir/Devlop.c.o
[  8%] Linking C executable Devlop
[  8%] Built target Devlop
[  8%] Building CXX object CodeExterne/ANN/CMakeFiles/ANN.dir/src/perf.cpp.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/bd_search.cpp:26:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
1 warning generated.
Scanning dependencies of target MakeGrid
[  8%] Building C object src/CBinaires/CMakeFiles/MakeGrid.dir/MakeGrid.c.o
[  8%] Linking C executable MakeGrid
[  8%] Built target MakeGrid
Scanning dependencies of target BatchFDC
[  8%] Building C object src/CBinaires/CMakeFiles/BatchFDC.dir/BatchFDC.c.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/brute.cpp:28:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
[  8%] Linking C executable BatchFDC
[  8%] Built target BatchFDC
Scanning dependencies of target SysCoordPolyn
[  8%] Building C object src/CBinaires/CMakeFiles/SysCoordPolyn.dir/SysCoordPolyn.c.o
1 warning[  8%] Linking C executable SysCoordPolyn
 generated.
[  8%] Built target SysCoordPolyn
Scanning dependencies of target Pastis
Scanning dependencies of target EPExePointeInitPolyg
[  9%] Building C object src/CBinaires/CMakeFiles/EPExePointeInitPolyg.dir/EPExePointeInitPolyg.c.o
[  9%] Building C object src/CBinaires/CMakeFiles/Pastis.dir/Pastis.c.o
[ 10%] Linking C executable EPExePointeInitPolyg
[ 10%] Linking C executable Pastis
[ 10%] Built target EPExePointeInitPolyg
Scanning dependencies of target Apero2PMVS
[ 10%] Built target Pastis
[ 10%] Building C object src/CBinaires/CMakeFiles/Apero2PMVS.dir/Apero2PMVS.c.o
Scanning dependencies of target CenterBascule
[ 10%] Building C object src/CBinaires/CMakeFiles/CenterBascule.dir/CenterBascule.c.o
[ 10%] Linking C executable CenterBascule
[ 11%] Linking C executable Apero2PMVS
[ 11%] Built target CenterBascule
[ 11%] Built target Apero2PMVS
Scanning dependencies of target TestCmds
Scanning dependencies of target RepLocBascule
[ 11%] Building C object src/CBinaires/CMakeFiles/TestCmds.dir/TestCmds.c.o
[ 12%] Building C object src/CBinaires/CMakeFiles/RepLocBascule.dir/RepLocBascule.c.o
[ 12%] Linking C executable TestCmds
[ 12%] Linking C executable RepLocBascule
[ 12%] Built target TestCmds
Scanning dependencies of target vic
[ 12%] Built target RepLocBascule
[ 12%] Building C object src/CBinaires/CMakeFiles/vic.dir/vic.c.o
Scanning dependencies of target ElDcraw
[ 12%] Building C object src/CBinaires/CMakeFiles/ElDcraw.dir/ElDcraw.c.o
[ 12%] Linking C executable ElDcraw
[ 13%] Linking C executable vic
[ 13%] Built target ElDcraw
[ 13%] Built target vic
Scanning dependencies of target mmxv
Scanning dependencies of target Digeo
[ 13%] Building C object src/CBinaires/CMakeFiles/mmxv.dir/mmxv.c.o
[ 13%] Building C object src/CBinaires/CMakeFiles/Digeo.dir/Digeo.c.o
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:25:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:150:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNdist dist;                          // distance to data point
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:151:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord* pp;                          // data coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:152:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord* qq;                          // query coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:153:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register ANNcoord t;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_fix_rad_search.cpp:154:2: warning: 'register' storage class specifier is
      deprecated [-Wdeprecated-register]
        register int d;
        ^~~~~~~~~
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:27:
In file included from /Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.h:30:
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/pr_queue_k.h:103:4: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
                        register int i;
                        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:174:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNdist dist;                          // distance to data point
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:175:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNcoord* pp;                          // data coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:176:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNcoord* qq;                          // query coordinate pointer
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:177:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNdist min_dist;                      // distance to k-th closest point
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:178:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register ANNcoord t;
        ^~~~~~~~~
/Applications/3D/micmac-1.0.beta7/CodeExterne/ANN/src/kd_search.cpp:179:2: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
        register int d;
        ^~~~~~~~~
6 warnings generated.
[ 13%] Linking C executable mmxv
[ 13%] Linking C executable Digeo
Scanning dependencies of target GCPBascule
[ 13%] Building C object src/CBinaires/CMakeFiles/GCPBascule.dir/GCPBascule.c.o
[ 13%] Built target mmxv
[ 13%] Built target Digeo
7 warnings generated.
[ 13%] Linking C executable GCPBascule
[ 13%] Built target GCPBascule
[ 13%] Linking CXX static library libANN.a
[ 13%] Built target ANN
[ 13%] Built target elise_
[ 13%] Generating qrc_icones.cpp
[ 13%] Generating ui_WorkbenchWidget.h
[ 13%] Generating saisieQT/include_QT/moc_GLWidget.cpp
[ 13%] Generating saisieQT/include_QT/moc_saisieQT_window.cpp
[ 14%] Generating saisieQT/include_QT/moc_ContextMenu.cpp
[ 14%] Generating saisieQT/include_QT/moc_Settings.cpp
[ 14%] Generating saisieQT/include_QT/moc_QT_interface_Elise.cpp
[ 14%] Generating saisieQT/include_QT/moc_Tree.cpp
[ 14%] Generating saisieQT/include_QT/moc_WorkbenchWidget.cpp
[ 14%] Generating __/include/general/moc_visual_mainwindow.cpp
[ 14%] Generating __/include/general/moc_visual_buttons.cpp
[ 14%] Generating ui_saisieQT_window.h
[ 14%] Generating ui_Settings.h
[ 14%] Generating ui_Help.h
Scanning dependencies of target elise
[ 15%] Building CXX object src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_SuperposImage.cpp.o
[ 15%] Building CXX object src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_ParamMICMAC.cpp.o
[ 15%] Building CXX object src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_ParamChantierPhotogram.cpp.o
error: trigraphs was enabled in PCH file but is currently disabled
1 error generated.
error: trigraphs was enabled in PCH file but is currently disabled
1 error generated.
make[2]: *** [src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_ParamMICMAC.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_SuperposImage.cpp.o] Error 1
error: trigraphs was enabled in PCH file but is currently disabled
1 error generated.
make[2]: *** [src/CMakeFiles/elise.dir/__/CodeGenere/File2String/Str_ParamChantierPhotogram.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/elise.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 15%] Linking CXX static library libpoisson.a
[ 15%] Built target poisson
make: *** [all] Error 2

thanks for help in advance

Qt library not loaded

After installing, I ran the 'mm3d CheckDependencies' command and I see this error:

dyld: Library not loaded: @rpath/libQt5Core.5.dylib
  Referenced from: /Users/denisfelikson/Research/Software/MicMac/micmac/bin/mm3d
  Reason: image not found
Trace/BPT trap: 5

I've located the Qt library on my computer but I'm confused about the @rpath that micmac is looking for. Is there an option I need to include when I cmake?

Drunk cannot output 16bit images

Hi,

Thanks to all developers for the wonderful MicMac toolset!

I usually take photos with my Canon PowerShot SX260 HS. Thanks to CHDK I can safe raw images in DNG format and then dcraw enables me to turn those into bitmaps with 8 or 16 bits colour depth. At lowest focal length the distortions in the picture are basically unbearable, but Drunk does a great job in correcting those. This works nicely with 8 bits colour depth, but with a 16 bit tiff I get this error:

C:\Photogrammetrie\eckePulverturm\raw>mm3d Drunk CRW_1537.tiff Orientiert2000 Out=entzerrt/entzerrt
Images to process: 1
[0 0]********************************************************
**      (YOUR)  LOCATION :
**
** Error probably occured in a call to ELISE_COPY
**         at line : 115
**         of file : D:\dev\culture3d\src\uti_image\CPP_Drunk.cpp
********************************************************
-----------------------------------------------------------------
|   KIND OF ERR : User's dynamic error
|   Sorry, the following FATAL ERROR happened
|
|    values out of range in bitmaps writing
|   value = 1935
|   pts =
|   interval = [0 ---  256[
|
-----------------------------------------------------------------
Bye  (press enter)

As the error occurs during writing the bitmap, maybe this is easy to fix / extend for 16 bit output?

Thanks for your help,
Martin

Problems with Schnaps

Hi all,

In most cases Schnaps with the VeryStrict works fine but in some others Tapas fails with lots of 'UN-Connected' images and
the following error:

| Sorry, the following FATAL ERROR happened 
| 
| Connection pb in MST
| 
------------------------------------------------------------

Tapas run without problems when I am using the unfiltered Homol folder. So it seems to be directly related to Schnaps. If I switch VeryStrict off, Tapas works as well but

The original Homol folder contains 6036 files with 26.5MB
The Schnaps VeryStrict folder contains 5120 files with 4.2MB
The Schnaps without VeryStrict folder contains 16.598 files with 37.0MB

Normally, I would expect that the Schnaps VeryStrict folder contains more files and is smaller, which is not the case here. Interestingly, Schnaps without VeryStrict contains much more files, which might be ok, but is also much larger.

If I run Schnaps in series, i.e. first without VeryStrict and then on top with VeryStrict, Tapas runs fine as well. But there is alomst no reduction in file size in the second step, which I would expect but a small decrease in the number of files(from 37.0MB to 36.8MB and 16.598 to 16.546 files).

I am also wondering why there may be (much) more image couples in the Homol_mini folder than shown in the CptTA_LeChantier.tif generated by Tarama. I understand that Tarama is not very accurate but the discrepancy seems very high. In one example I have 17 couples after images matching and 55 couples after Schnaps. CptTA_LeChantier.tif shows a max of 23 in this region (and a total max of 38 overlapping images).

A final question: Is there a setting which just removes the noise but does not generate additional links? It seems not to be the case, but...

Thanks again!
Thorsten

Problems with PIMs

Hi all,

I am currently comparing PIMs and Malt. It seems there are some problems with PIMs regarding the ZoomF settings and the TA_LeChantier.
I tried the default settings as well as ZoomF = 1, ZoomF = 2 and ZoomF = 4. Interestingly the resolution of the resulting PIMs-Merged-Prof elevation model is more or less the same. In my example around 1260*1520px. Interestingly the information content is different. The surface model is definitely better when using ZoomF = 1 compared to ZoomF = 2 or 4. So setting ZoomF has an impact - but somehow not on the cell size.
The following screenshot shows - from left to right - ZoomF = 4/default, ZoomF = 2 and ZoomF = 1

pims_forest_hillshade_zoomf

These are the commands I used:

mm3d Pims Forest .*.JPG Referenced ZoomF=1 DefCor=0
mm3d Pims2MNT Forest DoOrtho=1

Is there something missing or is this a bug?

Regarding the TA this screenshot shows a comparison of Malt (left) and PIMs (right). All PIMs ZoomF versions look similar.

ta_malt_vs_pims

Would be great if someone could look into it!
Thanks a lot in advance,
Thorsten

Problems on Windows: ChSysCo and Martini not working

Hi all,

I am transferring my "Issue list" from the MicMac Forum to GitHub.

ChSysCo:
ChSys in OriConvert returns an error. I assume it cannot find proj4 - although CheckDependencies finds it. It was working on 6353.

Martini:
I get the following error when running Martini on the GrandLeez example:

GeneratePointTriple R0040632.JPG
==> END GeneratePointTriple R0040634.JPG 0.0250001
GeneratePointTriple R0040637.JPG
==> END GeneratePointTriple R0040637.JPG 0
==> ==> END GeneratePointTriple ==> END GeneratePointTriple RENDR0040635.JP0 GeneratePointTriple G0R0040632.JPG40633.JPG 0.0.01800010.03099990

239999
NO_OneImTriplet Done 200 out of 200 in time=9.18
DONE NO_AllImTriplet in time 95.968
TIME LOAD 0.472
DONE NO_GenTripl in time 129.555

------------------------------------------------------------
| Sorry, the following FATAL ERROR happened
|
| No Vector interval init, with Visual
|
------------------------------------------------------------
-------------------------------------------------------------
| (Elise's) LOCATION :
|
| Error was detected
| at line : 4394
| of file : C:\MicMac6805\src\photogram\phgr_basic.cpp
------------------------------------------------------------- 

Would be great if someone can look into it.

Thanks a lot in advance and best regards,
Thorsten

Can I compressed tiff file before saved in Malt Orthorectify

  Bonjour,
  I compiled the current version micmac, the malt create great orthoimage with less hole. This is cool update, but the Ortho image is  huge size, while using CorPonc=1.

Single image is about 1 gb,this slow down whole progress. And It require more disc space, than old version malt.
So I think compressed the tiff file maybe help, but I can't find the save function( mybe el_dcraw_main()?).

Problem compiling MicMac in macOS Sierra

I'm very new to micmac and new to compiling/building software in general. I've followed the instructions for building micmac on macOS from here, but I'm running into a lot of roadblocks.

cmake -DWITH_QT5=1 ..
would give me an error when running this in the terminal. The error had something to do with QT5Widgets. After some web searching I found this website that showed how to potentially get around this error. I no longer would get the QT5Widgets error and seemed to successfully get the correct files in the build folder that I had just created.

When running make install -jK I would get a failure at around 15%. After some more web searching I came across this forum post that mentioned using this command cmake -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.7.0 -DWITH_HEADER_PRECOMP=OFF -DWITH_QT5=1 -DBUILD_POISSON=ON ../. I of course replaced /usr/local/Cellar/qt5/5.7.0 with the version of qt5 that I had installed on my Mac. The version on my Mac happens to be /usr/local/Cellar/qt/5.9.2. I deleted and recreated the build folder before running this new command. This next time when I would run make install -jK I got all the way to 39% before getting a series of errors as seen below.

I'm at a loss on where to go from here to try and get this up and running on my computer.

Thanks in advance!

Error below

/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:46:9: error: use of undeclared identifier
'std'
std::string aImge1;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:47:9: error: use of undeclared identifier
'std'
std::string aIm2;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:48:9: error: use of undeclared identifier
'std'
std::string aIm3;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:48:21: error: use of undeclared identifier
'aIm3'; did you mean 'aIm2'?
std::string aIm3;
^~~~
aIm2
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:47:21: note: 'aIm2' declared here
std::string aIm2;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:49:9: error: use of undeclared identifier
'std'
std::string aIm4;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:49:21: error: use of undeclared identifier
'aIm4'; did you mean 'aIm2'?
std::string aIm4;
^~~~
aIm2
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:47:21: note: 'aIm2' declared here
std::string aIm2;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:50:9: error: use of undeclared identifier
'std'
std::string aLigne, aColone;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:51:9: error: use of undeclared identifier
'std'
std::string aNameMap;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:52:9: error: use of undeclared identifier
'std'
std::string aNameOut;
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:58:13: error: use of undeclared identifier
'LArgMain'
LArgMain() <<EAMC(aImge1, "image 1" )
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:60:33: error: use of undeclared identifier
'aIm3'
<<EAMC(aIm3, "image 3" )
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:61:33: error: use of undeclared identifier
'aIm4'
<<EAMC(aIm4, "image 4" )
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:63:33: error: use of undeclared identifier
'aColone'
<<EAMC(aColone, "taille de l'image" )
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:67:13: error: use of undeclared identifier
'LArgMain'
LArgMain()
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:73:10: error: use of undeclared identifier
'std'
std::string aCom= MMBinFile("mm3d Testlib TestCilliaAss ")
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:73:29: error: use of undeclared identifier
'MMBinFile'
std::string aCom= MMBinFile("mm3d Testlib TestCilliaAss ")
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:74:34: error: use of undeclared identifier
'BLANK'
+ aImge1 +BLANK
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:75:34: error: use of undeclared identifier
'BLANK'
+ aLigne +BLANK
^
/Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaCol.cpp:76:26: error: use of undeclared identifier
'aColone'
+ aColone +BLANK
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/elise.dir/SamplesLibElise/CPP_CilliaCol.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_TestER.cpp:40:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab

/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_TestYZ.cpp:40:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
1 warning generated.
1 warning generated.
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaImg.cpp:39:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
1 warning generated.
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_TestJB.cpp:1:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaXML.cpp:39:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaAss.cpp:40:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from /Users/tyler/micmac/src/SamplesLibElise/CPP_CilliaImgt.cpp:39:
In file included from /Users/tyler/micmac/include/StdAfx.h:148:
/Users/tyler/micmac/include/im_tpl/image.h:477:46: warning: instantiation of variable
'Tabul_Bits<1, true>::input_tab' required here, but no definition is available
[-Wundefined-var-template]
return Tabul_Bits<NBB,true>::input_tab
^
/Users/tyler/micmac/include/im_tpl/image.h:483:27: note: in instantiation of member function
'TIm2DBits<1>::getOK' requested here
getOK(p) :
^
/Users/tyler/micmac/include/private/cElNuage3DMaille.h:210:30: note: in instantiation of member
function 'TIm2DBits<1>::get' requested here
return (mTImDef.get(anI,0) != 0);
^
/Users/tyler/micmac/include/private/bitm_bits.h:103:34: note: forward declaration of template entity
is here
static tLineInputTab * input_tab;
^
/Users/tyler/micmac/include/im_tpl/image.h:477:46: note: add an explicit instantiation declaration to
suppress this warning if 'Tabul_Bits<1, true>::input_tab' is explicitly instantiated in another
translation unit
return Tabul_Bits<NBB,true>::input_tab
^
1 warning generated.
make[1]: *** [src/CMakeFiles/elise.dir/all] Error 2
make: *** [all] Error 2
Tylers-MacBook-Pro-15:build tyler$

[Fixed] Error with Vino to display a Pleiades tiff

Hi,

I'm currently using MicMac and I would like to make a 3D model of several Pleiades images. Firstly, I would like to display my datas with Vino and then I would like to use the Convert2GetBundle tools, the problem is when I use Vino, I get the following error: ImFileLoader, handle Chunky_conf as plan_confTiff File = file.TIF when using the following syntax: mm3d Vino file.TIF. I tried to use Vino on Boudha pictures from the examples and I could display it without any problem.

I think that the issue come from my Pleiades ? Maybe I need to do something before use them on Micmac, like a conversion of the images ?

My Pleiades images are on the original format "Pleiades 1B" and the size are 400mo for the multispectral (in color) and 1Go approximately for the panchromatics ones. Both of them return the same error.
I use the last version of Micmac (and tools) directly download on github with linux (Fedora).

I hope someone know the way to correct this issue :P

PS: I did the "todo list in case of problem using MicMac" even if the (0) item's was a few days ago !

vTapioca

v1.0.beta11

Lors de l'utilisation de vTapioca le fichier MkTapioca n'est pas lancé par make.exe et j'ai le message d'erreur suivant :

"C:/micmac/bin/mm3d" Pastis C:/Users/mseguin/Desktop/TestMicMac/ "NKS-Rel-AllCpleOfPattern@(DSC_2608.tif|DSC_2609.tif|DSC_2610.tif|DSC_2611.tif|DSC_2612.tif|DSC_2613.tif)" 2400 "MkF=C:/Users/mseguin/Desktop/TestMicMac/MkTapioca" NbMinPtsExp=2 ForceByDico=1 Detect=mm3d:Sift Match=mm3d:Ann ratio=0.600000 NKS=NKS-Assoc-CplIm2Hom@@dat

make.exe: C:/Users/mseguin/Desktop/TestMicMac/MkTapioca: line 5: Error: -- Multiply defined recipe for target C

J'ai la même erreur lorsque je lance la commande directement dans la ligne de commande :

mm3d Tapioca All "C:/Users/mseguin/Desktop/TestMicMac/(DSC_2608.tif|DSC_2609.tif|DSC_2610.tif|DSC_2611.tif|DSC_2612.tif|DSC_2613.tif)" 2400

Par contre tout fonctionne lorsque je lance la commande sans l'adressage absolu :

mm3d Tapioca All "(DSC_2608.tif|DSC_2609.tif|DSC_2610.tif|DSC_2611.tif|DSC_2612.tif|DSC_2613.tif)" 2400

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.