CoBrALab / antsRegistration-MAGeT

A reimplementation of MAGeTbrain using only ANTs tools.
Other
16 stars 6 forks source link

"Error: Unrecognized interpolation option. genericlabel" in mb_resample.sh #48

Closed pipitone closed 8 years ago

pipitone commented 8 years ago

When running the resample stage, I get the following errors:

mb_resample.sh label_hc.mnc input/atlas/subject3_t1.mnc input/template/subject3_t1.mnc input/subject/subject1_t1.mnc
Error:  Unrecognized interpolation option. genericlabel

I'm using minc-toolkit 1.9.11 on centos 6.7... is this an ANTS version thing?

gdevenyi commented 8 years ago

Probably, here's the commit https://github.com/stnava/ANTs/commit/3013473ae7bf849212bc13d98ca99e78e057a161

I've been testing this mostly on stnava/ANTs because I want to reduce the dependency footprint.

You could switch to MultiLabel in the meantime

pipitone commented 8 years ago

FYI I had to switch to NearestNeighbor interpolation.. MultiLabel was giving me empty labels for whatever reason.

gdevenyi commented 8 years ago

Have you tested with MultiLabel on a stock version of ANTs? If that fails, they should know about it...

pipitone commented 8 years ago

Nope, I have only tested with minc-toolkit 1.9.11.

pipitone commented 8 years ago

Is there a particular version of ANTs you recommend?

gdevenyi commented 8 years ago

Sadly, there aren't any "versions" 2.1.0 is super-old. Pretty much the only option is building from git HEAD.

pipitone commented 8 years ago

Hmm.. Okay that sucks. I'll file an issue ;-)

gdevenyi commented 8 years ago

Resolved by readme update.