Seg3D icon indicating copy to clipboard operation
Seg3D copied to clipboard

tool for combining volumes into single grid

Open jessdtate opened this issue 9 years ago • 5 comments

I would like to have a tool to combine volumes. Often, clinical scans are acquired in multiple volumes, and we need to combine them. currently, this is tricky to do in Seg3D, and not perfect in SCIRun. The way I do it now is to pad one of the volumes (using a padding python script similar to what issue #75 would do), cropping the volume to the desired size, then using the resample tool to map the data onto the grid. This could be done in the python script using the resample tool.

jessdtate avatar Jul 20 '15 15:07 jessdtate

It would be helpful to see before and after images. Also, how do you do this in SCIRun?

a-y-khan avatar Jul 20 '15 17:07 a-y-khan

In scirun, we use join fields, then map the volumes onto a latvol. This mostly works, however it doesn't handle overlapping data very well and it can be hard to choose the right grid size.

With a good padding tool (one that can pad in each direction independently (6 directions)), would go a long way to enabling similar functionality with the arithmetic and resampling tool.

jessdtate avatar Jul 21 '15 15:07 jessdtate

Here are some images that will hopefully help.

before combine_before

after combine_after

jessdtate avatar Jul 21 '15 16:07 jessdtate

I will probably write a python script that will do this. I will share it when I do.

jessdtate avatar Jul 21 '15 16:07 jessdtate

Here is the script that I mentioned.

Combine_volumes.py.zip

jessdtate avatar Jan 24 '17 19:01 jessdtate