maandag 8 februari 2016

Processing scans into 3D models (take 1), Kotryna Valečkaitė

Comparison of image processing software 1

Directly after receiving the scans on Tuesday we jumped into processing them into 3D models. To keep it clear we used “Hagrid”(obj. 5) as an example for all of the programs.
As noted in the previous post, this process has multiple steps and in order to gain the highest level of detail, a lot of tweaking is necessary.
The usual procedure goes as follows:
(0. Changing the .ima or .dcm files into program compatible format. Most of our scans were made in .dcm format which was not compatible with multiple programs: so far we tried RenameMaster, which did not work)
  1. Loading the .dcm or .ima files into a 3D processing program. These file formats actually contain only 2D information: the sections of the object. In other words, the 3D model is an interpretation of multiple sections and therefore steps between them might be visible, if the resolution is not high enough.
  2. Selecting threshold and filtering the right information. Depending on the program this step might be automatized. If not, it might be very heavy on your computer. Therefore, a device with a good graphics card and 16GB RAM is advised (it would work on 6 or 8GB RAM, but it goes slow and tends to crash often).
  3. Loading the 3D file into a volume renderer to get an editable mesh (.stl). 
To begin with, we started with Seg3D. This program did not want to read .dcm files, thus we only worked with test files, which were in .ima format. The interface was clear, but to extract minuscule details it needed a lot of filtering and playing with histograms. That was extremely hard on our computers (6-8GB RAM, 2.0-2.03GHz) and took over an hour to get a decent file. Moreover, the final result is given in .nrrd format which later has to be translated to .stl with the help of ImageVis3D. The file looked rather detailed in Seg3D, but the final .stl was worthless.Capture
Hagrid_Seg3D to ImageVis3D_128x128x54mesh_detail
Later on, we received a tutorial from an past student of our supervisor Maaike. It suggested using DeVide. Unlike the previous program this one works on the basis of visual programming. Thus all of the steps can be easily retraced. This program can directly export to .stl reducing the possibility of getting a very rigid mesh, like with Seg3D. Unfortunately, the program did not want to work on our computers.
After this failure we contacted one of the researchers in the faculty of Industrial Design Engineering. He adviced to try out the following programs:
  1. 3D slicer (open source)
  2. Avizo (paid, evaluation copy available after contacting the firm)
  3. Mimics (paid, evaluation copy available after contacting the firm)
The first of the list (3Dslicer) proved to be very user friendly (although it did not read the .dcm files). The information is collected automatically after choosing a preset and is quite precise. One can also select if to smooth the surface: both outputs are interesting in form, with the edgy one as an expressive interpretation of a kitschy object of the past. If used for the final product, more mesh post-processing is necessary
3DSlicer_screenshot
Hagrid_3DSlicer_nonsmoothedges_detail (1)
Hagrid_3DSlicer_smoothedges_detail
To be continued…

Making Choises, by Jorinde Smits


We had to make some choices since there were  a lot of bowls, plates, hair brushes and other ceramics. To distinguish them we gave them names. We joked about ‘Harry Pottery’ and decided to choose the names from Harry Potter characters. We based our choices at differences of advantages and interesting characteristics. Since we didn’t know how much time it would take to digitalise the cups and plates, we numbered them in order of importance.
We took in account the different types of advantages.

  1. Holes
    To make the cups useful again, we need to fix the holes.
  2. Details
    Some cups like Harmione and Hagrid have some nice details. Since the CT scanner is not that accurate we have to find other solutions for bringing those details back.
  3. Fixing techniques
    There are different ways used for fixing the objects. How can we translate those methods in our new design?
all
We decided to exclude the hair brushes in our process, because it has nothing to do with tableware.
1. Harry
Bowl with interesting holes the missing shards left. Diameter of +/- 15 centimeters.
2DSC_0344a
2. Hermione
This one has some nice decorations. Diameter of +/- 12 centimeters.

3 DSC_0331

3. Ron
Here the advantage is to replace the three separate shards. Diameter of +/- 18 centimeters.

2ron2
4. Ginny
Small plate. Missing a piece and two repaired cracks. Diameter of +/- 15 centimeters.
2DSC_0361


5. Hagrid
Kind of fruit bowl with lid. It has nails and glue as fixing methods. The cracks are really fragile, but as good as complete. Diameter of +/- 25 centimeters.
5DSC_0294

6. Dobby
We liked this small cup because of its small hole. Diameter of 5 centimeters.
2DSC_0315

7. Snape
This one is familiar to Hagrid, but much smaller. The one defect is the bottom which is fixed. The cup is complete. Diameter +/- 15 centimeters.
1 DSC_0305