dicengine / dice

Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux
Other
337 stars 125 forks source link

Problem occur build&make on Linux #328

Open Bezutoz opened 3 months ago

Bezutoz commented 3 months ago

I have following the step on your document image and this happened at "./do-dice-cmake" image Could you please explain about this problem that I've found? Thankyou

dicengine commented 3 months ago

The instructions for building DICe on Linux need to be updated since we've upgraded Trilinos and OpenCV to more recent versions. The error you are seeing in the CMake file is related to that. In the absence of current build instructions, you might be able to download a more recent version of Trilinos (version 13 or greater) and try again.

Bezutoz commented 3 months ago

So now I can use the latest version of ubuntu and everything, right? There are no problems? and do you have latest step for installation?

Regards

dicengine commented 3 months ago

We don't have an Ubuntu machine to test on (or detailed install instructions). You'll have to navigate through whatever issues come up on your own.

Bezutoz commented 2 months ago

Thank you for last response. I've very important question for my work if it not bothering too much please assist. I want to put my keypoints. into DICe. Do I have to edit just the executable and rebuild it? Or do I have to do something else or is there a method to working on this? @dicengine

Regards,

dicengine commented 2 months ago

All you need to do is define a keypoint file (live_plot.dat) and place it in the working directory. DICe will then automatically output the live plot files for those keypoints. The format the file is:

# two numbers is a point four numbers is a line
784 384
184 284
1484 184
109 309 1784 309
Bezutoz commented 2 months ago

If I have 50 pics and each pics have 60 points left, right . The question is how to rearrange the format of keypoints how do I know image where it begins and end like the process always start from origin point then goes up or going to the right or the process run from keypoints that we put ?

Regards,

dicengine commented 2 months ago

Sorry, I thought you were talking about live plot points when you said "keypoints" but you are asking about supplying the calibration keypoints. If that's the case, ignore my last comment and check out this file: https://github.com/dicengine/dice/blob/master/src/opencv/DICe_Calibration.cpp

That is where all the calibration routines are defined. You can infer from the code how to supply the keypoints to suit your needs.