Nornir takes large sets of overlapping images in 2D and produces registered, i.e. aligned, 2D and 3D volumes of any size and scale.
npm install nornir
Import:
import {
irRefineGrid,
setPipelinesBaseUrl,
getPipelinesBaseUrl,
} from "nornir"
Refine the alignment of a grid of collected tiles.
async function irRefineGrid(
image: Image,
options: IrRefineGridOptions = {}
) : Promise<IrRefineGridResult>
Parameter | Type | Description |
---|---|---|
image |
Image | Input image |
IrRefineGridOptions
interface:
Property | Type | Description |
---|---|---|
webWorker |
null or Worker or boolean | WebWorker for computation. Set to null to create a new worker. Or, pass an existing worker. Or, set to false to run in the current thread / worker. |
noCopy |
boolean | When SharedArrayBuffer's are not available, do not copy inputs. |
IrRefineGridResult
interface:
Property | Type | Description |
---|---|---|
output |
Image | Output image |
webWorker |
Worker | WebWorker used for computation. |
Set base URL for WebAssembly assets when vendored.
function setPipelinesBaseUrl(
baseUrl: string | URL
) : void
Get base URL for WebAssembly assets when vendored.
function getPipelinesBaseUrl() : string | URL
Import:
import {
irRefineGridNode,
} from "nornir"
Refine the alignment of a grid of collected tiles.
async function irRefineGridNode(
image: Image
) : Promise<IrRefineGridNodeResult>
Parameter | Type | Description |
---|---|---|
image |
Image | Input image |
IrRefineGridNodeResult
interface:
Property | Type | Description |
---|---|---|
output |
Image | Output image |