Thursday, 18 January 2018

Could open photogrammetry be an alternative to 3D Orthodontics?


Cícero Moraes
3D designer

Graziane Olimpo
SD, Master in Orthodontics


The effectiveness of scans by intraoral scanners is undeniable. These are the gold standard and reference of any professional who wishes to use the new 3D technologies for planning procedures involving orthodontics. However, while these technologies meet the needs of the market, they also stand out because of the high costs. Few professionals, taking into account the whole, have access to these means in a constant and unrestricted way.

The purpose of this material is to offer an affordable alternative to those who want to enter the world of 3D graphics, but do not have the means to enjoy powerful and expensive machines.

The objective is not to criticize the values, since, in the face of the investments and the results are quite coherent, in addition the world is very big and has place for all. What we are doing is just showing a way to achieve compatible results, with due limitations, on those produced by market references.

If you have some problem with the embed text below, please read it here: https://docs.google.com/document/d/1SYJUNS2fihm-BpTt4mkqAdeDv0QQWffaO3e1vdr334s/edit?usp=sharing


Saturday, 6 January 2018

General Protocol for Face Scanning applied to Orthognathic Surgery and Rhinoplasty Virtual Planning - Comparison between Tools


Open source software can be used from the beginning to the end of orthognathic surgical planning and rhinoplasty?

Do open photogrammetry tools provide results compatible or at least close to paid and closed software?

These and other questions will be answered throughout the vast documentation made by us. In it we scanned 106 face models and compared a series of programs and tools.

It was many days of intense work and at the end we put another photogrammetry solution for Blender through our OrtogOnBlender addon.

We hope you enjoy reading!

We embed the document at the bottom, but if you have some problem to see it, please enter this direct link: https://docs.google.com/document/d/116flk75OR1TV4XnNtNMG779uJvgq16t8QS69yFAjnxU/edit?usp=sharing

Tuesday, 2 January 2018

Lake Monticello eploration open data: 3D bathymetric chart

Hi all,
this second, brief post is intended to share other open data regarding our underwater archaeology mission in the inland waters of Trentino (Italy). 
As you know, this summer, we joined the exploration of the lake Monticello (almost 2600 m asl, near Paradiso Pass), looking for evidences of the WW1 in the Adamello front. If you missed the post, I described here the new methodology we used to achieve a complete 3D bathymetric chart, using just a low-cost sonar sensor. Today I just uploaded on our server the 3D data, so that other researchers can use them, if they will find them of some interest.
Here below I post a screenshot of the data loaded within +QGIS:

The bathymetric chart of Lake Monticello

Here is possible to download the 3d bathymetric chart of Lake Monticello. As always the data are available with the following license:


Creative Commons License
Lake Monticello 3D bathymetric chart by Arc-Team is licensed under a Creative Commons Attribution 4.0 International License.

I hope this data will be useful. Have a nice day!

Saturday, 23 December 2017

Project Red Lake open data: 3D bathymetric chart

Hi all,
it has been a long time without post here in ATOR, but this year we had to work on several different projects, without the possibility to report fast feedback in our blog.
I start today to write again, due to the fact that some of these projects grab the attention of different institutions of the academic world and, in particular, this happened for our underwater archaeology missions. 
Of course our primary interest during our diving is related with the archaeological perspective, but often the data we collect can be useful for other specialists (e.g. limnologists or biologists).
This is the reason why we decided to share our data and we start today with the bathymetric chart of Lake Tovel (previous post in ATRO: 1, 2). I processed this map working on the Red Lake Project, a research, directed by Prof. +Tiziano Camagna, which tries to study the medieval submerged forest of Lake Tovel (Trentino - Italy). I produces a 3D model of the bathymetric chart of this lake directly digitizing the map of Edgardo Baldi did in the '30s. Than I calibrated the result with the LIDAR model of the landscape, freely accessible form the geographic open data portal of the Autonomous Province of Trento (here a short tutorial about how to download data from the webgis).

Here is possible to download the file (an ESRI ASCII grid), ready to be integrated in most of the GIS software (below a screenshot of the data in GRASS GIS).

Tovel Lake bathymetrci chart in GRASS GIS

The data are available under the following license:
Creative Commons License
Lake Tovel 3D bathymetric chart by Arc-Team is licensed under a Creative Commons Attribution 4.0 International License.

I hope this data will be useful. Have a nice day!

Friday, 3 November 2017

The Lady and the Medal


For these days I had the great joy of traveling again to Peru, it is the ninth time I went to that wonderful country and on this occasion things happened in style with the illustrious company of my beautiful wife. There I revealed the face of a historical figure, known as the Lady of the Four Tupus (Brooches), and I also received an important honor.



The Lady of the Four Tupus was discovered in 2016 and is considered one of the ten greatest triumphs of archeology that year. The name refers to four pins or brooches (tupus) that were found together to her body and that served as a prop for the clothing.

Stepes of facial reconstruction
The reconstruction project of his face was a partnership of the Archaeological Zone of Caral, the University Inca Garcilaso de la Vega and myself. We started the talks in 2016, signed the documents in 2017 and the presentation took place a few days ago in the premises of the Ministry of Culture of Peru, in Lima.

Taking photos of the skull to the 3D photogrammetry
The revelation of the face was made during a press conference and the work was published in several languages, 20 altogether so far (English, Spanish, Portuguese, German, Arabic, Azerbaijani, Burmese, Bulgarian, Chinese, French, Hungarian, Italian, Lithuanian, Persian, Polish, Kyrgyz, Russian, Turkish, EN Braille and Greek).

Video with the steaps of forensic facial reconstruction

I was quite satisfied with the repercussion, even more for seeing a translation in other languages of my speech, which is always curious and pleasant.

Official image
Two days later arrived the great moment to receive the Inca Medal Garcilaso de la Vega. It is offered to personalities who contribute to the sciences and the arts. In my case, I received by the work related to the facial reconstructions of great historical and religious personalities from Peru, as well my life trajectory, according to the documents that were given to me.

My wife and me (at center) at Ministry of Culture of Peru
I do not know how to translate the feelings that took me during that moment. I remembered my childhood in poverty, the struggle of my mother and my brothers to survive with dignity. I remembered that I had a great fear to travel, and thankfully I did it in 2006 for the first time, almost forced of (lol). I remembered the difficulties inherent in my anxiety and panic attacks in the past, the strength I received from friends, family, and members of the computer community over the years. Of course, there was also room to remember those who have always tried to humiliate me throughout this story, especially the individuals connected to the academy, attentive to my lack of formal education in the fields in which I excelled thanks to hard work.

Talking with reporters during the press conference
Receiving further recognition from a higher education institution has in a sense put an ends in this discussion and brought more peace into my heart to the point of completely forgiving the uneasiness born of this egotistical swoop and now I'm enjoying victory in all its length.

For now, dear reader, that's it. Thanks for reading and see you next post!

Saturday, 23 September 2017

Rhinoplasty planning with RhinOnBlender addon

Rhinoplasty planning steps: Measurements, sculpture, post guide, pre-post guide.
I always thought that plastic surgeons were professionals that only served the moneyed elite and who passed away from the treatments that benefit the users of the Brazilian public health system. When I was asked to teach computer graphics courses to these specialists, I had the opportunity to follow their work more closely, which, unlike what I assumed, involves a routine of scientific production, clinical care and a tremendous effort to offer the general population the possibility of solving a series of problems, ranging from a structure that leverages the self-esteem of this individual, to a procedure that returns a motor skill that was limited, either by accident or pathology.


By teaching classes and adjusting Blender parameters to the needs of plastic surgeons, I realized that activities could be performed much more effectively if the commands were grouped into scripts, and these, in turn, were attached to buttons and pre-structures defined, provided by the graphical interface itself.

The idea of creating RhinOnBlender came out after we made Cork on Blender (boolean addon) available and started working on OrtogOnBlender (orthognathic surgery planning). Although the latter is not available, for the moment to the general public, we are already using it for the planning of orthognathic surgeries, which deal with facial deformations. Similar situation has happened with the rhinoplasty addon. It was born from a process of simplifying commands to beginners and we are already using it for planning, yesterday we did one!

Automatic attenuation of the 3D mesh by photogrammetry - option implemented just now
The development of the tool is the result of a partnership with three specialists: Dr. Pablo Maricevich (Cir. Plastic), Dr. Rodrigo Dornelles (Cir. Plastic) and Dr. Everton da Rosa (Cir. Dentist). Two plastic surgeons and a dentist? That's right, although they look like different areas, the planning tools of one field and another are quite compatible, what we did was the joint development over the cases that we have worked on since the year 2014.

Experimental guide made from pre and post surgical mesh
The goal of this project is to offer an alternative based on freeware and free software. The video featured in this post uses a face scanned in 3D by photos (photogrammetry), there are  licenced, freeware, free software, offline and online options of this tool, such as the popular Photoscan, Recap 360, MVE and OpenMVG. But nothing prevents the specialist from importing a face scanned by laser scanner or structured light or even reconstructed from a CT scan. The point here is that there is a possibility to do a good job without having to pay for the tools, since we have free photogrammetry and Blender and its addons are also free!

Experimental guide from different viewpoints
Speaking of addons, I can not fail to mention the enormous help of two developers: Dalai Felinto who wrote Cork on Blender, a tool that boosts the work with boolean, essential when it comes to modeling for healthcare. Also the specialist in dental tools, Patrick Moore, better known in the cybernetic environment as Patmo141. The addons developed by him are geniuses and two of them are used in ours, Cut-Mesh, which lets you draw on a mesh and isolate the desired part and Object-Align, which as its name says, aligns objects, something that we don't have available in the standard Blender installation.

We are working hard. At each surgical analysis and surgical planning we see the need for repairs and increases in the code. Once the tool is more mature and fluid, we will make it available to anyone who has an interest. We hope this happens as soon as possible.

Until then!

Saturday, 16 September 2017

Digital 3D Orthognathic Surgery with the OrtogOnBlender addon

Timelapse video of orthognatic planning steps

The first time I understood the concept of programming, it was in the year 2001, when I realized that a text with some codes was translated into a three-dimensional scene with some animated elements. I was astounded by it, as when I was three years old I realized that the water that was coming into the refrigerator freezer were those transparent pebbles my grandparents used in the juices they prepared for the family.

Since then I have always consumed some information about programming. Sometimes it would even cheer me up and write some codes, but the lack of practical use made me confine myself to just exercising my brain to understand some abstractions that involved that reality.


Many years and many books later, here I start teaching 3D computer graphics courses for the health area and realize that the organization of Blender graphic interface more confused than it helped the doctors in their didactic absorptions.

Faced with this difficulty on the part of the students, I motivated myself to create a methodology that would facilitate students' understanding in a field that proved to be quite challenging in the didactic context: orthognathic 3d digital surgery planning.

Automatically created deformation area

Unlike the other courses I had taught so far, orthognathic surgery, when taught in the "manual mode," where the student needs to understand detail by detail of commands, is almost impossible to apply to a short course. The problem is that it is precisely short courses that are the most sought after and not offering them translates into not generating income.

Together with Dr. Everton da Rosa, Dentist, orthognathic surgery specialist, I began to develop a series of small scripts that would help students automate one task or another. I did one, it worked, I cheered up... I did another, it worked out and another... I picked up a little and kept staggering and achieving, although not in the most elegant way, at least it was functional.

Jaw rotation

Blender uses Python for its scripts and this language is marvelous for anyone who wants to try to program, since the code is pretty clean. My excitement was growing to the point that I was fissured by the small challenges that were appearing.

Initially I intended to create a series of scripts, but realized that I could bundle everything into an addon, which would be installable in Blender. When programming and working with different objects and modes, I was intuitively understanding how everything happened, to the point of thinking of a solution, writing without referencing and code working!

Automatic creation of vertex groups

It was what I needed to become a hermit cyber... locked in the bedroom, just thinking about how to solve the problems and expand the functionalities. In unlikely five days, though not finalized, I was able to mount an addon sufficiently functional to simplify and automate a series of steps that comprise the planning of orthognathic surgery.

Interestingly, as a good nerd who follows the best practices of self-taught effort, I did not ask anyone for anything, I did not post on forums or social media groups on programming, nor did I ask for help from friends who are masters of language. I found everything I needed in the documentation, videos on Youtube, tutorials on the internet and, pampering ... in templates provided by Blender himself! In short, I did not ask for direct help, but I got it from the work and goodwill of people who wanted to help and made excellent materials, I am very grateful to all!

Jaw after osteotomy (Cork on Blender)

I intend to make the addon available soon (as we did with Cork on Blender), after testing it with my students. It is not yet complete, since it lacks the part of the surgical splint (a sort of guide for fitting the teeth) and some other activities such as automatic parenting with bone armature.

Even so, I am very satisfied, mainly for having implemented the automatic process of creating areas of influence based on osteotomy. With it, the cut bones, when moved make the soft tissue (skin, fat, etc.) deform. You can not imagine the challenge of teaching this in the "manual mode." Luckily it all came down to clicking two buttons, which is not bad!

Deformation radiated by the skull

I'm so happy and motivated that the will it gives is to go around programming and automating everything, but I felt on the skin another situation that is inherent in this kind of knowledge ... a code needs to be elegant and be prepared for exceptions and mine does not pass nor close to it. The trend now is to lapse the code and try to make it decent, worthy of being shared, used and improved by the community and interested in using it.

That's it, now I'm going because I had an insight on how to solve a problem in one part of the code... a big hug! : D
BlogItalia - La directory italiana dei blog Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.