Internal:PODM 3D: Difference between revisions

From crtc.cs.odu.edu
Jump to navigation Jump to search
Spyridon97 (talk | contribs)
No edit summary
Spyridon97 (talk | contribs)
No edit summary
Line 31: Line 31:
### Cube: [[File:CubeTestSizingFunction.png|500px|CubeTestSizingFunction]]  
### Cube: [[File:CubeTestSizingFunction.png|500px|CubeTestSizingFunction]]  
### Sphere: [[File:SphereTestSizingFunction.png|500px|SphereTestSizingFunction]]
### Sphere: [[File:SphereTestSizingFunction.png|500px|SphereTestSizingFunction]]
# Create the infrastructure to support Sizing Function pointer✔
# Incorporate Function Pointer to PODM
==Implementation of Adaptivity==
==Implementation of Adaptivity==
# Implement Adaptivity in inside sizingFunction using Christos Code✔
# Implement Adaptivity in inside sizingFunction using Christos Code✔
Line 36: Line 38:
## 2D (Triangle): [[File:NT_X_min_0.5_limit_2e-3_interpolated.png|500px|Nt2DAdaptivity]] (Done by Christos)
## 2D (Triangle): [[File:NT_X_min_0.5_limit_2e-3_interpolated.png|500px|Nt2DAdaptivity]] (Done by Christos)
## 3D (PODM): [[File:NtAdaptivity.png|500px|Nt3DAdaptivity]] (Done with Christos)
## 3D (PODM): [[File:NtAdaptivity.png|500px|Nt3DAdaptivity]] (Done with Christos)
# Check cases with negative weight✔
# Understand that the current implementation supports negative weights✔
# Create the infrastructure to support Sizing Function pointer✔
# Change the current implementation to use the minimum-maximum edge length of the element instead of the volume
# Incorporate Function Pointer to PODM
# Identify an issue of checking sample points outside the image and solve it according to Christos's suggestions
# Test Adaptivity with all the Images in Box✔
# Test Adaptivity with all the Images in Box✔
# Test Adaptivity with extra images (cases) from Gagik Gavalian
# Test Adaptivity with extra images (cases) from Gagik Gavalian

Revision as of 17:25, 3 November 2019

Explore Code

  1. Read PODM3D paper✔
  2. Install all PODM3D libraries✔
  3. Compile PODM3D code✔
  4. Restructure repository of PODM3D based on Software engineering standards✔
  5. Execute PODM3D✔
  6. Read Guaranteed Quality Tetrahedral Delaunay Meshing for Medical Images paper (Sect. 9)
  7. Remove IOs from PODM✔

Adaptivity

Implementation of Sizing Function

  1. Create UML diagrams to understand the code and the Meshing Procedure in general✔
  2. Create a list of functions that need to be modified to implement the extra Rule ✔
  3. Modify the created list (Extra Rule sizing Function list) of functions✔
  4. Create a test sizing function to understand if modifications have been done correctly✔
    1. The test sizing function is
      bool checkSizingFunction(double coordinatesOfTetrahedron**)
      {
          double volume = volume(coordinatesOfTetrahedron);
          double* baryCenter = baryCenter(coordinatesOfTetrahedron)
          
          // if x axis <= 55 and volume of tetrahedron > 10
          if (baryCenter[0] <= 55 && volume > 10)
             return true;
          else
             return false
      }
      
    2. Podm Result of Cube image with Dimensions 110x110x110 and Sphere image with radius = 55, volume grading on and δ=10
      1. Cube: CubeTestSizingFunction
      2. Sphere: SphereTestSizingFunction
  5. Create the infrastructure to support Sizing Function pointer✔
  6. Incorporate Function Pointer to PODM

Implementation of Adaptivity

  1. Implement Adaptivity in inside sizingFunction using Christos Code✔
  2. Podm Result of Gagic Data image with volume grading on and δ=6, minimum Volume Size = 0.5, limit = 0.1
    1. 2D (Triangle): Nt2DAdaptivity (Done by Christos)
    2. 3D (PODM): Nt3DAdaptivity (Done with Christos)
  3. Understand that the current implementation supports negative weights✔
  4. Change the current implementation to use the minimum-maximum edge length of the element instead of the volume
  5. Identify an issue of checking sample points outside the image and solve it according to Christos's suggestions
  6. Test Adaptivity with all the Images in Box✔
  7. Test Adaptivity with extra images (cases) from Gagik Gavalian

Animated Adaptive Meshing Process

  1. Produce the meshes for the Animated Adaptive Meshing Process and the January report✔
  2. Animated Process:InputImageImageSegmentationAdaptiveMeshingAdaptedMeshLinearInterpolation✔
  3. The 3rd Image is a gif, which is visible here: https://crtc.cs.odu.edu/images/8/89/AdaptiveMeshing.gif

Multiple δ

  1. Identify places in the code where δ varies with regards to background values
  2. Test if multiple δ work using synthetically generated image data