You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if img_3d is present, assess similarity with next neighbor. otherwise similarity against the reference. returns a numpy array (?)
deformation quantification ( a single number ) -- this probably exists but not sure ... would likely want something like norm( grad(U) ) ... would want to assess across a time series.
The text was updated successfully, but these errors were encountered:
For the first part - it would be nice to do that with the already supported standard numpy-like indexing (e.g. img[:, 1:50, :, :]) but then an env var or something would be needed to determine whether you want numpy-like slicing to return ants images or arrays. So a general slice function makes sense.
Second part - I can definitely see the utility in adding a ants.metrics sub-module that provides an interface to calculating all types of image similarity metrics.
It would be more pythonic and explicit to have each metric be its own function rather than as a string argument to a general function.
These are notes about some utilities that would be useful.
probably just a wrapper for
slice_image
.... more important would be the display of the slice with some relevant annotation. would be something like :then add some information about similarity, distortion and/or motion. see below.
if img_3d is present, assess similarity with next neighbor. otherwise similarity against the reference. returns a numpy array (?)
norm( grad(U) )
... would want to assess across a time series.The text was updated successfully, but these errors were encountered: