Help need.
Hi I went to your repository for cornerstone with react. It is really nice. I have some doubt while reading a dicom file. Is dicom file a set of multiple images or single image ? I want to implement a scroll of images , do you have idea ?
Hi,
Well, this just a demo showing how to use react with cornerstone. So, React.js itself won't put any limitation on the cornerstone library and you can use all of its features.
Is dicom file a set of multiple images or single image ? I want to implement a scroll of images , do you have idea ?
A dicom file is a single image, so if you want to show multiple images then you will show mutliple dicom files.
An imaging study which has a series of images will have this special file DICOMDIR which you can parse and get info about images and their sequence for the study. then you can create a scroll.
Is DICOMDIR a extension type with set of .dcm images . Can explain briefly how we can parse this file? And after parsing do we get .dcm images ?
I am using this library for parsing dicom files https://github.com/rii-mango/Daikon
You can check its documentation along with this file here: https://github.com/shalkam/react-cornerstone-example/blob/master/src/dicom-viewer/dicom-loader.js
To checkout out how I am using it along with cornerstone
To implement scroll , just we have to loop around multiple .dcm files know based on scroll event ?
yes
dicom-image file in assets is which type of file. It is not like .dcm file.
the file extension doesn't matter, the dicom parser will parse the file binaries and give the image data back