An itk-vtk-viewer plugin is available for ImJoy, a plugin powered hybrid computing platform for deploying deep learning applications such as advanced image analysis tools.
Note that the link can also be used directly.
To install a specific version, e.g. version
10.8.0, use the URI:
image: Image to be visualized. Can be:
- An itk.js Image
- A URL pointing to an image file supported by itk.js.
For scijs ndarray, you can use the following function to encoded it into an imjoy-rpc encoded ndarray.
image key is optional; one can also call
pointSets: An array of pointSet or a single pointSet to be visualized. Can be an array of imjoy-rpc encoded ndarray (as described in image):
pointSets key is optional; one can also call
An optional viewer configuration can be passed with the context
retrieve the configuration from an existing viewer, call
const imageArray = ... // itk.js Image or imjoy-rpc encoded ndarray
Usage in Python
from imjoy import api
Displaying a point cloud in Python:
import numpy as np
In addition to the standard
run methods, the itk-vtk-viewer plugin exposes the full viewer API.