PDA

View Full Version : Importing radial slices


luisico
23rd November 2009, 23:29
Hi all

I have a set of images that come from a circular scan, ie the are rotated along the y axis, which lies in the middle of the image's x coordinate. Is there a way to load them in avizo? Which datatype should be use to create a custom importer? I tried with curvilinear coords on a regular scalar field without much success.

Any help would be appreciated.

thanks

Luis

ShawnZhang
24th November 2009, 17:40
Hi Luis,

Curvilinear coordinate should work in your case. The key is converting the image pixel into the cylindrical coordinate in x, y and z values, following the curvilinear file format description in Avizo document.

This conversion can be done either externally or by developing and custom importer.

After the data is loaded into Avizo correctly, you can resample it to voxel type data for volume rendering.

Best
-Shawn

luisico
24th November 2009, 19:53
Thanks Shawn,

I actually tried it again today after doing some test and was able to import it in a regular grid with curvilinear coords.

Now the problem is how to display the slices, most of the display modules in a uniform coords grid are not available. I have some success with ObliqueSlices, but they are very slow when going to high resolutions.

I also tried resampling, as you suggest, but I get the same type of data (regular grid, curvilinear coords). However, the arithmetic module setting "Result type" to "regular" seems to do the trick.

Thanks

Luis

ShawnZhang
24th November 2009, 19:57
Thanks for the update, luisico. Excellent job!

Did you coded your own converter?

Would you mind posting a small sample of the original image and how the converted data look like?

Thanks a lot.

-Shawn

luisico
24th November 2009, 20:03
Hi,

yes, we coded our own importer. Unfortunately we cannot share the data yet, but I post here the converter and and more details as soon as I get the green light.

Best,

luis

ShawnZhang
24th November 2009, 20:11
It will be greatly apprecaited. Thanks Luis.