Cannot read property 'samplesPerPixel' of undefined
See original GitHub issueThis is an url from OHIF that works and is loading correctly in OHIF application.
const imageIds = ['wadors:https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.3.6.1.4.1.14519.5.2.1.3098.4963.326280635338660616706998482671/series/1.3.6.1.4.1.14519.5.2.1.3098.4963.202287948568406289093737485605/instances/1.3.6.1.4.1.14519.5.2.1.3098.4963.958421198232751376686173267385/frames/1']
But when I use the same url in my application, I get the following error:
(I get the same error with any wadors url)
Any ideas about this?
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot read property 'samplesPerPixel' of undefined
This is an url from OHIF that works and is loading correctly in OHIF application. const imageIds = ['wadors:https://server.dcmjs.org/dcm4chee- ...
Read more >Cannot read property 'image' of undefined - Stack Overflow
I am trying to build an application using react but I got an error saying "cannot read property 'image' of undefined".
Read more >JSDoc: Source: geotiffimage.js - geotiff.js
@property {Array<number>} [bbox=whole image] the subset to read data from in ... 1 : samplesPerPixel;; const outArray = arrayForType(format, bitsPerSample, ...
Read more >TwainImageInfoMBS properties - Monkeybread Xojo plugin
-1 can only be used if the application has set ICAP_UNDEFINEDIMAGESIZE to TRUE. (the plugin doesn't support undefined image size) (Read and Write...
Read more >Google Groups
But I get an error that jpeg is still undefined even though I have added the ... an Uncaught TypeError: Cannot read property...
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 FreeTop 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
Top GitHub Comments
Hi there!
Good question, this is something we should clarify in the documentation.
In our case we are pre-populating the Cornerstone Metadata provider with the WADO-RS responses for each instance (we request it at the series level and then add it to the provider) before loading the image frames.
My guess is that you aren’t doing that, so you are loading the frame without any metadata available and Cornerstone has no idea how to decode the pixel data.
Using frame-level retrieval requires you to grab the metadata from somewhere else. Are you doing that?
On Thu., Dec. 3, 2020, 10:41 p.m. Facu Escobar, notifications@github.com wrote:
hi, @facuescobar ,can you resolve?