Jump to content
  • Advertisement
Sign in to follow this  
AjitG

Interpolation techniques

This topic is 4913 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have 50 .bmp files. The files contain CT scan data sampled at different distances. I have created a volume by placing each file one behind another. ( I applied opacity function to each pixel) The problem I am facing is - Each file has a size of 256 x 256. There are 50 such files. So the size of the volume is 256 x 256 x 50. I am getting the volume which is shrunk in z-axis direction. To make it 256 x 256 x 256, do we need to get more images? or can we use the same 50 files with interpolation? What are the different techniques of interpolation?

Share this post


Link to post
Share on other sites
Advertisement
The anisotropy of the volumetric data set shouldn't be an issue, as long as your viewing volume is of cubic shape. Think of your data set as a 3D texture, which is stretched over a 3D cube with the same dimensions in all directions. You don't have to modify the 3D data slices for that, everything is done via the texture coordinates. The stretching and filtering itself is done internally, by the 3D hardware.

Of course, this implies that you actually use 3D hardware for the volume visualization, and not some other kind of software approach (eg. voxel rendering). If you don't, and you really need to interpolate the missing slices, then many interpolation techniques can be used: bilinear, bicubic, cosine, spline, etc. Each of them vary in speed vs. simplicity vs. quality metrics. But keep in mind, that you will tremendeously increase the size of your data set, if you interpolate the 'missing' parts. The best approach is to use 3D hardware, and let it to the interpolation on the fly, while rendering.

Share this post


Link to post
Share on other sites
Thanks!!!

I already knew the two approaches.
Since I do not have any such hardware, I want it to be done using software approach and thats why I was specific about interpolation.

Can you suggest any websites regarding interpolation approaches that you have mentioned?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!