Skip to content

Dynamically load and render local DICOM images #156

Open
@sebastianandress

Description

@sebastianandress

I'm trying to dynamically load local DICOM images as shown in this codesandbox:
https://codesandbox.io/s/silent-feather-mv97ee?file=/src/App.tsx

Unfortunately, it seems that it does not load or render the local data correctly. I think the issue lies in loading the data, however following this example the following code should (but does not) do the job:

const image = cornerstoneWADOImageLoader.wadouri.fileManager.add(file);
imageIds.push(image)
<CornerstoneViewport imageIds={imageIds}/>

Thanks for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions