cornerstoneWADOImageLoader failed to load a set of dicom
See original GitHub issueI am using cornerstoneWADOImageLoader to load my dicom from orthanc, but I am new to cornerstone.
I successed to load a dicom file by setting imageId, then I tried to load a series of dicom by setting imageId as an array and wanted to preview them on enableElement by mouse scrolling. Obviously, I failed.
So how to display a set of dicom?
Appreciate any response!
Here is my vue.js code
mounted () {
// const imageId = " wadouri:http:http//127.0.0.1/data/1.dcm";
const imageId = [
"wadouri:http:http//127.0.0.1/data/1.dcm",
"wadouri:http:http//127.0.0.1/data/2.com",
"wadouri:http:http//127.0.0.1/data/4.dcm",
"wadouri:http:http//127.0.0.1/data/5.com",
];
this.loadAndViewDicom(imageId);
},
methods: {
loadAndViewDicom(imageId) {
const element = this.$refs.cornerstoneCanvas;
cornerstone.enable(element);
cornerstone.loadAndCacheImage(imageId).then(
(image) => {
cornerstone.displayImage(element,image);
},
(err) => {
console.error(err);
}
);
},
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
cornerstonewadoimageloader.js not working, .dcm files not ...
I changed my websites to use cdnjs.cloudflare.com instead and it's all good now. (I now see cloudflare does not have your particular package....
Read more >cornerstoneWADOImageLoader
On my end the DICOM file can be accessed via a url that I can pass to a ... Failed to load wadouri:https://myurltodicomfile:...
Read more >Image Loaders
The Image Load Object contains a Promise which resolves to produce an Image. ... Cornerstone WADO Image Loader, DICOM Part 10 images
Read more >cornerstone-wado-image-loader
Cornerstone Image Loader for DICOM WADO-URI and WADO-RS. ... Start using cornerstone-wado-image-loader in your project by running `npm i ...
Read more >How to use the cornerstone-wado-image-loader.external ...
dicomParser = dicomParser; cornerstoneWADOImageLoader.webWorkerManager.initialize({ maxWebWorkers: navigator.hardwareConcurrency || 1, startWebWorkersOnDemand: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! I have solved this problem. https://github.com/cornerstonejs/cornerstoneTools/blob/master/examples/tools/stack-scroll-mouse-wheel.md
@longerking 大哥知道segmentation怎么导出png吗