ROIs are flexible—you can create them from volumes and polish them up a bit using operations like adding, intersecting, subtracting, smoothing, or even manually adjusting them with the drawing tool.
Now imagine we want to segment dark material, like plastic, but the determined surface also includes brighter materials—among them noise and metal artifacts. In other words, we would have a perfect surface if not for these bright artifacts.
To overcome this hurdle, we need to work with ROIs. But before we can work our magic, we need to create an ROI from the volume. Then we can clean it up by subtracting or adding other ROIs from it.
Now we have this polished ROI ready to go for a surface determination, but the algorithm insists on finding a better place for the surface—even if the "Search distance" is set to 0—without acknowledging the ROI we've created. There has to be a way around this!
We can make sure the search distance is set to 0, but there is a secret weapon hidden in the "Surface determination" dialog we can use: edge threshold.
Edge threshold specifies the minimum gray value difference to locally correct the starting contour. If the gray value difference falls below this value, the starting contour will be used as the determined surface. In our case, our ROI is our starting contour, so all we have to do is set it to a big enough number so that all gray values are below it. We can keep it simple and give it the maximum possible value (65535 for 16-Bit unsigned data sets).
Surface determination: initial vs. polished
And that's it! Now our surface is as crisp and clean as our ROI.
Did You Know? Converting an ROI to a Surface or Tetrahedral Mesh
If we convert the ROI to a surface mesh or tetrahedral mesh, we are actually converting the determined surface within the ROI—not the ROI contour. If we want to include the background in the resulting surface or tetrahedral mesh, we need to use our nifty trick.
Ready to learn more?
Users of VGSTUDIO MAX can find out more about surface determination and working with ROIs in the tutorials included in the software.
Got a Story?
If you have a VG Story to tell, let us know! Contact our Storyteller Team at: email@example.com. We look forward to hearing from you.