InsightSoftwareConsortium / InsightSoftwareConsortium/ITK-Wasm

get canvas imageData after reading the file using ITK.js

Open
#240 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
235
Forks
61
Avg merge
4d 19h
Merged PRs (30d)
4

Description

Hi, I am using ITK.js to read input DICOM slices. The main reason why I am using ITK is `itkImage` contains some useful information of slice for my next visualizing steps, such as **origin**, **spacing**, etc., instead of using other JavaScript libaries to get these tags, so it's kind of time-consuming. Is it possible to convert `itkImage` to original canvas `imageData` after taking all the necessary tags into an array? Since I need the original `imageData` for my next steps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.