InsightSoftwareConsortium / ITKTubeTK

TubeTK is an open-source toolkit for the segmentation, registration, and analysis of tubes and surfaces in images, developed by Kitware, Inc.
Apache License 2.0
47 stars 57 forks source link

Wasm #140

Closed thewtex closed 1 year ago

thewtex commented 1 year ago

@aylward here is what an example tubetk wasm pipeline can look like :tada: :taco: :

Native:

image

❯ ./crop-image ES0015_Large.mha test.mha --min '[15,15]'

WASI:

image

npx itk-wasm run ./wasi-build/crop-image.wasi.wasm -- -- ./ES0015_Large.mha ./test.mha --min '[15,15]'

bindgen generates Typescript / JavaScript bindings and documentation. There is a bug to fix in the Typescript generation, but help is working:

image

aylward commented 1 year ago

Wow! Amazing!!!