OrtogOnBlender - Photogrammetry Inside Blender


(carlosan) #1

Can you combine Blender with photogrammetry? It appears that the answer is actually positive! Cicero Moraes and his team have created a tool called OrtogOnBlender that will let you use photogrammetry techniques inside Blender.

Our experimental version of OrtogOnBlender already made photogrammetry inside that software, thanks to Python scripting and OpenMVG + OpenMVS free libraries!
Cicero Moraes

Are you excited? You can get the files from Cicero here and try the thing for yourself.
Source: Facebook80.lv


(StompinTom) #2

Super cool!


(bliblubli) #3

Awesome do you have a tutorial on how to install?


(¯\_(ツ)_/¯) #4

Form github:

OrtogOnBlender uses a series of addons and libraries / programs, some native and others external to Blender 3D, they are:

Addons

Measureit (native)
3D Navigation (native)
Import Images as Planes (native)
Cork on Blender - https://github.com/dfelinto/cork-on-blender
Cut Mesh - https://github.com/patmo141/cut_mesh
Object Alignment - https://github.com/patmo141/object_alignment

Programs

Meshlab (meshlabserver) - http://www.meshlab.net/
OpenMVG - https://github.com/openMVG/openMVG
OpenMVS - http://cdcseacave.github.io/openMVS/
dicom2stl - https://github.com/dave3d/dicom2stl/


(pildanovak) #5

while I would love for this to be true,
there’s simply a huge gap between commercial and open-source photogrammetry tools. the part where you can see the solid shaded model in the video (for a second or so) says it all.
This doesn’t mean this won’t change in the next years. This is still a huge step forward!


(burnin) #6

Looks amazing. Especially for generating quick base meshes to bash…


(<== Lost? Click Me) #7

Which program currently gives best results for a given image set? Experiences, opinions (anyone’s)?

Nice stuff as always from Cicero and friends.


(cogitas3d) #8

Thank you all, @carlosan, @StompinTom, @bliblubli, @¯_(ツ)_/¯, @burnin and @LoboTommy :slight_smile:

@pildanovaklook this: (Comparing 7 photogrammetry systems. Which is the best one?) http://arc-team-open-research.blogspot.com.br/2016/12/comparing-7-photogrammetry-systems.html

A big hug!


(pildanovak) #9

@cogitas3d, why me , I didn’t ask the question :wink:
I read this article long time ago…


(cogitas3d) #10

@pildanovak I did not ask any question, lol, I just copied and pasted the title of the text, and if you read it you should know that depending on the situation the free tools are equal and even better than the closed ones. Although in general, the pay photogrammetry software is still more practical and robust, it does not mean “huge gap”.


(Cyaoeu) #11

You were the one who said there was a huge gap between commercial and open-source tools when there isn’t. :stuck_out_tongue:


(ez_set) #12

This looks incredible!
Also great new triangle fill
btw
I think you meant to reply to @LoboTommy not @pildanovak with concern to the abilities of photogrammetry software.
Thanks


(brothermechanic) #13

Just Woooooow!


(AndreaMonzini) #14

@cogitas3d great work and very interesting article about photogrammetry comparison ! thank you !


(YAFU) #15

Thank you very much guys!

Two hours compiling and installing dependencies, and when I thought that everything would be fine, I fail in the last one… (curious, this happens very often).
This is the error when trying to compile DicomToMesh.
http://pasteall.org/716215

Any ideas about what the problem might be? (Linux)

Edit:
By the way, ‘¯ \ _ (ツ) _ / ¯’, you mention “dicom2stl”, but OrtogOnBlender github instructions point to DicomToMesh.

Edit 2:
Wait, addon requests Dicom2STL as well.

Edit 3:
To which folder exactly OpenMVG path should point in addon?


(cogitas3d) #16

Thank you @brothermechanic, @ez_set and @AndreaMonzini!

Hi @YAFU! Ya, I know what you feel. I tried do it and only get to build Cork and OpenMVG… to compile the things in Windows have a lot of work, different on Linux and Mac that is quite simple. For example, I tried to compile Dicom2Mesh with: Visual Studio, MinGW and Cygwin… in all of these I had the same error, and… the developers said me that run it only in Linux and Mac, so I give up and started to create a new project. An Linux ISO image to clone to flashdrive with all programs needed and with write permission. So, you boot from the flashdrive and start to work like you can see here (in Portuguese):

I’m uploading the .7z image in 6 separated files with 1 GB. You can read about the project (in Portuguese) here: https://github.com/cogitas3d/Linux3DCS

More some days and all will be ready (I hope).

A big hug!


(AndreaMonzini) #17

@cogitas3d thank you for the ISO !
I guess you are still uploading the 5 and 6 archive parts.

i use Linux too :wink:


(YAFU) #18

@cogitas3d, It is not always easy to upload large files to the internet. I appreciate that, thank you.


(brothermechanic) #19

Hello
I ported all libs deps to this script, exept openMVS (very hard)
This is my repo (meshlab, openMVG, dicom2mesh, and Blender) and you can use it (some addons deps i post to CG later)


I try to test script
When i push Iniciar Fotogrametria i get error

Traceback (most recent call last):
  File "/home/bm/.config/blender/2.79/scripts/addons/OrtogOnBlender-master/__init__.py", line 1105, in draw
    row.operator("anim.keyframe_insert", text="", icon="CLIP").type='BUILTIN_KSI_LocRot'
TypeError: bpy_struct: item.attr = val: enum "BUILTIN_KSI_LocRot" not found in ('DEFAULT')


location: &lt;unknown location&gt;:-1


Traceback (most recent call last):
  File "/home/bm/.config/blender/2.79/scripts/addons/OrtogOnBlender-master/__init__.py", line 1105, in draw
    row.operator("anim.keyframe_insert", text="", icon="CLIP").type='BUILTIN_KSI_LocRot'
TypeError: bpy_struct: item.attr = val: enum "BUILTIN_KSI_LocRot" not found in ('DEFAULT')


location: &lt;unknown location&gt;:-1

What i missed?


(Paul Sgrillo) #20

Hi cogitas3d, i have been able to download and get the ISO image of the Linux3DCS_2 on a thumb drive. Also can run the ISO via qem-system util. The issue I am having is that it boots into the startup gui asking for a password. I have tried xubuntu, ubuntu etc. etc. to no avail. What am I missing. I realize it is a Portuguese version but from looking on the different Linux forums, the defaults should work. Please help me correct the error of my ways.