pmoulon / CMVS-PMVS

This software (CMVS) takes the output of a structure-from-motion (SfM) software as input, then decomposes the input images into a set of image clusters of managable size. An MVS software can be used to process each cluster independently and in parallel, where the union of reconstructions from all the clusters should not miss any details that can be otherwise obtained from the whole image set. CMVS should be used in conjunction with an SfM software Bundler and an MVS software PMVS2 (PMVS version 2).
http://opensourcephotogrammetry.blogspot.com/
941 stars 462 forks source link

Unable to use CMVS with VisualSFM #27

Closed Nish160 closed 7 years ago

Nish160 commented 7 years ago

I have downloaded the complete repository containing precompiled binaries for Win64 and then copied the genOption.exe file to the path containing VisualSFM.exe. But on launching VisualSFM I cant see the option of CMVS dense reconstruction. Am I missing out something? Can anyone provide a step wise procedure from downloading CMVS to using it with VisualSFM GUI on windows 64 bit.

Thanks

pmoulon commented 7 years ago

Did you follow the installation instruction explained there http://ccwu.me/vsfm/install.html

(optional step) Install Yasutaka Furukawa's CMVS software for dense reconstruction.
--
  | - Obtain the CMVS/PMVS binaries. For example, the one by Pierre Moulon.
- Place cmvs/pmvs/genOption/pthreadVc2.dll in the same folder as VisualSFM.exe

Else you can still use the command line ;-)

Nish160 commented 7 years ago

There's no file present at cmvs/pmvs/genOption/pthreadVc2.dll in the zipped folder - CMVS_PMVS-master.zip downloaded from https://github.com/pmoulon/CMVS-PMVS. It contains the following contents:- image

So, what I did is, I copied the files present in CMVS-PMVS-master\binariesWin-Linux\Win64-VS2010 to the location whereVisualSFM.exe is present.

image

luotinen commented 7 years ago

The button appears after coarse reconstruction. Please use a small set of photographs and run sift+matching+coarse and the button will appear.

pmoulon commented 7 years ago

@Nish160 Sorry we removed the pthread dependency. That's why the dll is not longer required.

By the way you can also switch to other 3d reconstruction framework (OpenMVG + OpenMVS/MVE)

Darker commented 6 years ago

Why is this closed. The issue is not resolved.

pmoulon commented 6 years ago

Answers have been provided. After 2 months without an answer from the issuer, I closed the issue.

ahananq commented 3 years ago

Hi,

I have used VisualSFM with CMVS and it was working smooth. Now I am getting this error. Can you guide ?

when I run the "Dense Reconstruction" ,it showed the "ERROR: the above CMVS command failed!

Running Yasutaka Furukawa's CMVS tool... cmvs "D:\VisualSFM\Data.Input\Exp#1\2.nvm.cmvs\01\" 50 12 ERROR: the above CMVS command failed! FAQ: http://ccwu.me/vsfm/doc.html#errors

pmoulon commented 3 years ago

Hello such error often appears from an invalid command-line call about the path. Try the path without the \ at the end

ahananq commented 3 years ago

Hi thank you for quick response. actually I am using VisualSFM on window, and using provided binaries of CMVS, PMVS2, genOption & pthreadVc2.dll copied in same folder as VisualSFM.exe. I downloaded all the files again to avoid corrupted files. I am not a programmer, I want to use photogrammetry for some project. I have followed instruction provided in FAQ regarding this issue but unable to resolve this issue.

Regards

Moxie15 commented 5 months ago

I'm having the same problem on windows