At this time, there is no such facility in
AFNI. My main objection to this procedure is that I believe producing undistorted images is a function of the scanner reconstruction software, which has more information available to it than an external program (
AFNI or
AIR, for example) can have. Of course, this theological objection to unwarping doesn't do you much good, since the scanner makers don't help much either.
How did you get the reference dataset?
bob cox