The Node interface of @itk-wasm/elastix provides asynchronous functions for image registration and transformation optimized for Node.js environments. Unlike the browser interface, these functions do not use WebWorkers for computation (as they run in the Node environment directly).
Key functions include:
defaultParameterMapNode: Generates default Elastix parameter maps.elastixNode: Performs image registration.readParameterFilesNode: Reads Elastix parameter text files.transformixNode: Applies transforms to images.writeParameterFilesNode: Writes parameter objects to text files.
Import these functions from @itk-wasm/elastix using the *Node suffix.
import {
defaultParameterMapNode,
elastixNode,
readParameterFilesNode,
transformixNode,
writeParameterFilesNode,
} from "@itk-wasm/elastix"