Cov txheej txheem:
- Kauj ruam 1: Tau COLMAP
- Kauj ruam 2: Tau thiab Tsim OpenMVS
- Kauj Ruam 3: Tsim Tsab Ntawv Photogrammetry
- Kauj ruam 4: Khiav Tsab Ntawv
Video: Dawb Photogrammetry ntawm Mac OS: Los Ntawm Duab Mus Rau 3D Qauv: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Photogrammetry yog kev siv cov duab/yees duab los ntsuas qhov nrug ntawm cov khoom (ua tsaug Webster). Tab sis rau lub hom phiaj niaj hnub, nws feem ntau siv los ua tus qauv 3D ntawm qee yam los ntawm lub ntiaj teb tiag tiag yam tsis xav tau 3D Scanner.
Muaj ntau ntau cov software tawm muaj uas koj tuaj yeem siv rau photogrammetry, suav nrog qee qhov kev xaiv pub dawb, tab sis kuv pom tias ntau (xws li Meshroom) tsis muaj Mac tsim muaj. Lossis lawv yuav xav tau daim npav duab nrog CUDA txhawb nqa (tsis zoo ib yam nrog Macbook). Yog li ntawd txhais tau tias qee qhov khawb ib puag ncig.
Thaum kawg kuv dawm ntawm kab lus zoo no:
Qhov no coj mus rau tsab ntawv tsim tom qab:
Nws coj kuv mus ib ntus kom nws ua haujlwm, tab sis thaum kuv tau txais nws mus, Kuv zoo siab heev nrog cov txiaj ntsig uas kuv pib tau txais. Yog li, kuv yuav ua txhaum cov kauj ruam me ntsis ntxiv, tshwj xeeb tshaj yog rau koj Mac cov neeg siv tawm muaj.
Kauj ruam 1: Tau COLMAP
COLMAP (https://colmap.github.io/install.html) yog qhov zoo, me ntsis cuab yeej pub dawb rau kev pib nrog photogrammetry. Kuv sim nws ntawm nws tus kheej thaum xub thawj, tab sis qee qhov ntawm cov kauj ruam tom ntej xav tau CUDA. Yog li kuv yuav tsum pib saib dua. Tias yog vim li cas peb yuav siv lwm cov software rau cov kauj ruam tom ntej.
Rub tawm COLMAP yog qhov yooj yim. Koj tuaj yeem ua raws cov lus qhia ntawm no:
Los yog koj tuaj yeem saib qhov kev tso tawm zaum kawg ntawm lawv nplooj ntawv github: https://github.com/colmap/colmap/releases thiab rub tawm qhov tseeb COLMAP-dev-mac-no-cuda.zip
Thaum koj rub lub zip, unzip nws thiab lo COLMAP app rau hauv koj daim ntawv thov.
Kauj ruam 2: Tau thiab Tsim OpenMVS
Txoj haujlwm tom ntej uas kuv siv los pab ua kom tiav cov qauv 3d yog OpenMVS (https://cdcseacave.github.io/openMVS/). Koj yuav tsum tau tsim qhov no ntawm koj lub tshuab, yog li kuv yuav sim ua qhov no kom tsis muaj mob li sai tau.
Qhov txuas rau cov lus qhia kom tau thiab tsim OpenMVS ntawm Mac yog ntawm no:
tab sis kuv tau hloov kho me ntsis. Nov yog qhov kuv tau ua:
-
Rub tawm Xcode los ntawm App khw
Qhib Xcode thiab pom zoo rau daim ntawv tso cai
- Nruab Homebrew yog tias koj tseem tsis tau muaj nws:
- Nruab GIT:
- Nruab CMake:
- Qhib lub davhlau ya nyob twg thiab ua raws li cov ntawv hauv qab no. Nco ntsoov tias koj ua nws los ntawm qhov chaw koj xav kom openMVS nyob (Kuv muaj 'Cov phiaj xwm' nplaub tshev hauv qab kuv tus neeg siv tseem ceeb):
#Install dependenciesbrew hloov tshiab brew nruab boost eigen opencv cgal ceres-solver main_path = `pwd` #VCGLib (Yuav Tsum) git clone https://github.com/cdcseacave/VCG.git vcglib #Tau txais OpenMVS qhov chaw: git clone https:/ /github.com/cdcseacave/openMVS.git #Build OpenMVS mkdir openMVS_build && cd openMVS_build cmake…/openMVS -DCMAKE_BUILD_TYPE = Tso tawm -DVCG_ROOT = "$ main_path/vcglib" -G "Xcode"
xcodebuild -configuration Tso
Kauj Ruam 3: Tsim Tsab Ntawv Photogrammetry
Tom qab ntawd kuv tau tsim ib tsab ntawv los ntawm ib qho ntawm no:
Nov yog qhov kuv tau xaus nrog (xyuam xim rau cov ntawv hauv tsab ntawv, vim nws xav kom koj teeb tsa qee qhov chaw):
Photogrammetry.sh
# Cov ntsuas no tshwj xeeb rau lub khoos phis tawj # Khaws cov npe tam sim no: currDir = $ PWD
# tau txais lub npe nplaub tshev raws li sib txawv
myfolder = $ {PWD ##*/}
# Teeb colmap phau ntawv teev npe (hloov qhov no mus rau qhov twg koj tau rub tawm colmap, hloov 'dev' nrog tus lej version yog tias tsim nyog):
colDir =/Applications/COLMAP.app/Contents/MacOS/colmap
# Teeb tsa openMVS cov npe (hloov qhov no mus rau 'bin/Release' nplaub tshev uas koj tau rub tawm thiab tsim openMVS)
oMVS =/Users/joecooning/Projects/openMVS_build/bin/Tso tawm
# Teeb Cov Ntawv Qhia Ua Haujlwm (Kuv tsim daim nplaub tshev ua haujlwm ib ntus hauv kuv 'Cov Haujlwm' phau ntawv teev npe kom ua cov ntaub ntawv hauv)
workDir =/Cov neeg siv/joecooning/Cov Haujlwm/3dscans/chaw ua haujlwm/$ myfolder/
mkdir $ ua haujlwm dir
cp *-j.webp
$ colDir feature_extractor --database_path database.db --image_path.
$ colDir exhaustive_matcher --database_path database.db mkdir sparse $ colDir mapper --database_path database.db --image_path. --output_path sparse $ colDir model_converter --input_path sparse/0 --output_path model.nvm --output_type NVM $ oMVS/InterfaceVisualSFM model.nvm $ oMVS/DensifyPointCloud model.mvs $ oMVS/ReconstructMesh model_dense.mvs $ daws teeb meem-qib 1 qauv_dense_mesh.mvs $ oMVS/TextureMesh-kev xa tawm yam ob -o $ myfolder.obj model_dense_mesh_refine.mvs
mkdir $ currDir/qauv/
cp *.obj $ currDir/qauv/cp *.mtl $ currDir/qauv/cp *Kd-j.webp
cd $ currDir
Kauj ruam 4: Khiav Tsab Ntawv
Tam sim no koj muaj tsab ntawv, koj tuaj yeem thaij duab ntawm ib yam khoom uas koj xav ua tus qauv 3d. Muaj lwm cov ntawv thiab vis dis aus tawm uas tuaj yeem muab qee cov lus qhia zoo rau yuav ua li cas thiaj thaij tau duab zoo tshaj plaws rau lub hom phiaj ntawm kev yees duab (xws li qhov no: https://www.tested.com/art/makers/460142-art- duab…).
Tab sis cov duab ntawd rau hauv daim nplaub tshev, the copy the script you made into the folder.
Los ntawm koj lub davhlau ya nyob twg, mus rau daim nplaub tshev uas cov duab thiab cov ntawv sau thiab khiav:
sh Photogrammetry.sh
Tsab ntawv yuav ua lwm txoj haujlwm rau koj. Thov nco ntsoov tias qhov no tuaj yeem siv sijhawm me ntsis los ua (tshwj xeeb yog tias koj siv ntau cov duab zoo nkauj). Kuv yuav hais qhia sim ua qee cov duab me me ua ntej. Qee qhov yooj yim, piv txwv cov duab teeb tuaj yeem pom ntawm no: (https://www.regard3d.org/index.php/demo-models)
Pom zoo:
Siv Photogrammetry los Tsim Qauv: 9 Kauj Ruam
Siv Photogrammetry los Tsim Qauv: Kuv yog leej twg? Kuv yog Samuel Conklin thiab kuv yog tus kawm qib kaum ntawm E.L. Meyers High School. Kuv tau sim nrog photogrammetry rau ob peb lub hlis dhau los thiab kuv vam tias yuav pab koj yog tias koj xaiv rov tsim cov khoom no. Kuv txaus siab pom yuav ua li cas lwm tus pe
Neeg Hlau Lub Taub Hau Coj Mus Rau Lub Teeb. Los ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 11 Kauj Ruam
Neeg Hlau Lub Taub Hau Coj Mus Rau Lub Teeb. Los ntawm Cov Khoom Siv Rov Los thiab Siv Rov Los: Yog tias qee tus xav tsis thoob tias cov neeg hlau tuaj yeem tuaj nrog lub hnab ntim khoob, tej zaum cov lus qhia no tuaj yeem muab lus teb. Recycled stepper motors los ntawm lub tshuab luam ntawv qub, siv ping pong npas, taws tswm ciab, siv balsa, xaim los ntawm tus dai khaub ncaws qub, siv xaim xaim
Tig Ib Lub Vev Xaib Yees Duab Li niaj zaus hauv Qauv Qauv luv rau ~ 40 $: 6 Cov Kauj Ruam (nrog Duab)
Tig Ib Qhov Video Projector Li niaj zaus ua qauv luv rau ~ 40 $: Raws li tus kws ua yeeb yaj kiab, Kuv nyiam ua qhov vis dis aus ncaj qha los ntawm theem. Kuv txaus siab rau txoj hauv kev no vim tias nws yooj yim dua thiab nrawm rau teeb tsa dua kom dai cov vis dis aus ntawm cov hniav nyiaj hniav kub saum toj lossis tsawg dua qhov nyuaj dua li lwm qhov kev teeb tsa. Ua tau zoo
Yuav Ua Li Cas Thiaj Li Txiav Pro Dawb Dawb Los Ntawm Apple Lub Vev Xaib: 5 Kauj Ruam
Yuav Ua Li Cas Thiaj Li Txiav Pro Dawb Dawb Los Ntawm Apple Lub Vev Xaib: Nyob zoo, Kuv tsim cov vis dis aus Youtube thiab ntev heev kuv tsis muaj peev xwm tsim cov ntsiab lus kuv xav tau vim qhov txwv ntawm iMovie. Kuv siv MacBook los kho kuv cov vis dis aus thiab kuv ib txwm xav tau lub siab kawg ua yeeb yaj kiab kho software xws li Final Cut Pro t
Tig Koj Lub Xov Tooj Ntawm Tes "Kuv Tau Ntub Dej" Qhov Taw Qhia Los Ntawm Liab Rov Qab Los Dawb: 8 Kauj Ruam
Tig Koj Lub Xov Tooj Ntawm Tes "Kuv Tau Ntub Dej" Qhov Taw Qhia Los Ntawm Liab Rov Qab Los Rau Dawb: Puas tau dunk koj lub xov tooj ntawm tes hauv dej? Tom qab nws qhuav - yuav ua li cas ib tus neeg tuaj yeem qhia tias nws ntub? Zoo kuv tus phooj ywg "Kuv tau txais qhov ntsuas ntub" yog tuag muab tseg. Qhov ntsuas no feem ntau yog daim ntawv nplaum dawb nyob hauv lub roj teeb ntawm feem ntau