Mudanças entre as edições de "Instalação em Debian 11"
Linha 2: | Linha 2: | ||
e | e | ||
https://github.com/cdcseacave/openMVS/wiki/Building | https://github.com/cdcseacave/openMVS/wiki/Building | ||
+ | |||
+ | [[ajuda do Bantu no debian11]] | ||
sudo apt install libgmpxx4ldbl libvtk7.1p libboost-all-dev dcmtk vtk-dicom-tools libopencv-calib3d-devb imagemagick libheif-examples python3-gdcm python3-vtk7 python3-vtkgdcm cmake python3-pip libgdcm-tools python3-numpy libvtk6.3 libboost1.74-dev wget | sudo apt install libgmpxx4ldbl libvtk7.1p libboost-all-dev dcmtk vtk-dicom-tools libopencv-calib3d-devb imagemagick libheif-examples python3-gdcm python3-vtk7 python3-vtkgdcm cmake python3-pip libgdcm-tools python3-numpy libvtk6.3 libboost1.74-dev wget |
Edição atual tal como às 19h41min de 1 de agosto de 2022
Segundo as instruções em: http://www.ciceromoraes.com.br/doc/pt_br/OrtogOnBlender/Instalacao_Linux.html e https://github.com/cdcseacave/openMVS/wiki/Building
sudo apt install libgmpxx4ldbl libvtk7.1p libboost-all-dev dcmtk vtk-dicom-tools libopencv-calib3d-devb imagemagick libheif-examples python3-gdcm python3-vtk7 python3-vtkgdcm cmake python3-pip libgdcm-tools python3-numpy libvtk6.3 libboost1.74-dev wget
exit
$ pip3 install ray
$ pip3 install opencv-python
$ pip3 install dlib
$ pip3 install imutils
$ mkdir ~/Programs
$ cd ~/Programs
$ wget http://www.ciceromoraes.com.br/downloads/OrtogOnBlender/Linux/OrtogOnBlender.zip
$ unzip OrtogOnBlender.zip
$ cd ~/.config/blender/
$ wget http://www.ciceromoraes.com.br/downloads/OrtogOnBlender/Linux/2.91.zip
$ unzip 2.91.zip
$ cd ~/Programs/OrtogOnBlender/Dicom2Mesh/
$ sudo cp libdicom2meshlib.so /usr/lib/
Pare excutar:
~/Programs/OrtogOnBlender/Blender291/blender
Instalando o OpenMVS: <nowiki>
- Prepare and empty machine for building:
sudo apt-get update -qq && sudo apt-get install -qq sudo apt-get -y install git cmake libpng-dev libjpeg-dev libtiff-dev libglu1-mesa-dev main_path=`pwd`
- Eigen (Required)
git clone https://gitlab.com/libeigen/eigen.git --branch 3.4 mkdir eigen_build && cd eigen_build cmake . ../eigen make && sudo make install cd ..
- Boost (Required)
sudo apt-get -y install libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-serialization-dev
- OpenCV (Required)
sudo apt-get -y install libopencv-dev
- CGAL (Required)
sudo apt-get -y install libcgal-dev libcgal-qt5-dev
- VCGLib (Required)
git clone https://github.com/cdcseacave/VCG.git vcglib
- Ceres (Optional)
sudo apt-get -y install libatlas-base-dev libsuitesparse-dev git clone https://ceres-solver.googlesource.com/ceres-solver ceres-solver mkdir ceres_build && cd ceres_build cmake . ../ceres-solver/ -DMINIGLOG=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF make -j2 && sudo make install cd ..
sudo apt-get -y install freeglut3-dev libglew-dev libglfw3-dev
- OpenMVS
git clone https://github.com/cdcseacave/openMVS.git openMVS mkdir openMVS_build && cd openMVS_build cmake . ../openMVS -DCMAKE_BUILD_TYPE=Release -DVCG_ROOT="(!!!!!!!!!!AQUI VOCE TEM QUE COLOCAR O ENDEREÇO ONDE CLONOU A VCGLIB!!!!!!!!!!!)/vcglib"
- If you want to use OpenMVS as shared library, add to the CMake command:
-DBUILD_SHARED_LIBS=ON
- Install OpenMVS library (optional):
make -j2 && sudo make install <nowiki>