bicubic interpolation

Hi,

I'm using the Resampler node to make an image stack isotropic (in the original stack z is larger than x and y). If I do that in Fiji I can choose between bilinear and bicubic interpolation for the additional slices that have to be computed. It would be great if the bicubic interpolation would also be available in the resampler node in KNIME especially if you want to use the resulting isotropic stack for segmentation. Just wanted to ask whether it would possible to add this option.

Best,

Christian

Hi Christian,

we don't have this interpolator yet, but we can implemented it for you. Until then: Would http://en.wikipedia.org/wiki/Lanczos_resampling do the job for you? Because this one is ready (provided from one of the imglib2 maintainers) and I just would add it to the list.

Cheers,

Christian

Hi Christian,

Lanczos resampling would certainly do the job as well. But I guess it might be rather slow. Anyway if you already have it and if you are willing to add it to the resampler node I could just give it a try.

Cheers

Christian

 

Thanks Christian. And it's bicubic ;-)

Hi Christian

lanzcos will be available in ~1h on the nightly build. Bicubic interpolation is added as a feature request. I will keep you updated.

Cheers,

Christian

 

€: typo while doing 20 things at the same time : - )

Hi Christian,

some of the imglib2 maintainers is actually already working on the an implementation of bicubic interpolation. So we wait until he is ready and then add it as soon as possible. Does it work with Lanczos?

Cheers,

Christian

 

Hi Christian,

That sounds good. Lanczos works but is very slow as expected. It takes longer than 5 minutes for a 512x512x100 stack. But for the moment it is fine. Thanks again!

Christian