Skip to content

FAFB Bridge

John Bogovic edited this page Dec 18, 2018 · 3 revisions

JRC2018 to FAFB Transformations

The transformation is available for download on Janelia's open science page.

Applying transforms with CMTK

We've converted the transform to a cmtk-compatible nrrd format for use with the NeuroAnatomy Toolbox (nat).

To convert an image in FAFB space to JRC2018:

reformatx -o <output> --floating <fafb_img> <jrc2018> JRC2018F_FAFB_Warp_cmtk.nrrd JRC2018F_FAFB_Affine_cmtk

To convert an image in JRC2018 space to FAFB space:

reformatx -o <output> --floating <fafb_img> <jrc2018> -i JRC2018F_FAFB_Affine_cmtk JRC2018F_FAFB_InverseWarp_cmtk.nrrd

To transform points from FAFB space to JRC2018 space.

streamxform -i JRC2018F_FAFB_Affine_cmtk JRC2018F_FAFB_InverseWarp_cmtk.nrrd < <fafb_points>