We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
this example automatically
fi = ants.image_read(ants.get_ants_data('r16')) mi = ants.image_read(ants.get_ants_data('r64')) segm = ants.threshold_image( mi, "Otsu", 3 ) segf = ants.threshold_image( fi, "Otsu", 3 ) mytx = ants.registration(fixed=fi, moving=mi, type_of_transform = 'SyN' ) print( mytx['warpedmovout'].max() ) warpedseg = ants.apply_transforms( fi, segm, mytx['fwdtransforms'], interpolator='nearestNeighbor') print( ants.label_overlap_measures( segf, warpedseg ) )