You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some bread crumbs for bleeding edge @itk-wasm/dicom readTags users.
ReadDicomTagsOptions Typescript type is a bit sparse at the moment. Its shape should be
interface ReadDicomTagsOptions {
/** A JSON object with a "tags" array of the tags to read. If not provided, all tags are read. Example tag: "0008|103e". */
tagsToRead?: { tags: Array<string> }
}
Usage
const result = await readDicomTags(
this.webWorker,
sanitizeFile(file),
{ tagsToRead: { tags: ["0008|103e"] } }
);
// @ts-expect-error @itk-wasm/dicom autogenerated types are WIP
const tagValues = new Map(result.tags);
The text was updated successfully, but these errors were encountered:
Some bread crumbs for bleeding edge @itk-wasm/dicom readTags users.
ReadDicomTagsOptions
Typescript type is a bit sparse at the moment. Its shape should beUsage
The text was updated successfully, but these errors were encountered: