kandi X-RAY | ctfile Summary
kandi X-RAY | ctfile Summary
ctfile
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ctfile
ctfile Key Features
ctfile Examples and Code Snippets
Community Discussions
Trending Discussions on ctfile
QUESTION
I'm writing an application to count medical records. The application will count pages and divide it by 20 to determine the number of films needed to print the records for the client. I have a closet case where when MRI's are scanned shots (especially if they show as SC), it will only be one frame but the film is already a 20 frame MRI.
How can I determine if the a single DICOM is actually a multi frame MRI?
If I try to do a frame count on the file, I get 1
. Here is the DICOM Dump for one of the files:
ANSWER
Answered 2020-Jan-16 at 07:32If I got your question right, you want to determine whether or not an MR Image is a Multi-Frame. Please note however, that a Multi-Frame Image with only one frame is still a valid Multi-Frame Image.
Regarding MRI, there are 2 different SOP Classes in DICOM:
- 1.2.840.10008.5.1.4.1.1.4 ("traditional" MRI)
- 1.2.840.10008.5.1.4.1.1.4.1 (Enhanced MR)
The module table for traditional MRI references the Image Pixel Module in which the attribute Number Of Frames (0028,0008) is not included. So traditional MRI is always single-frame
The module table for Enhanced MR also includes the Multi-Frame-Functional Groups Module which includes the attribute Number Of Frames.
Long story short, it depends on the SOP Class UID whether or not the attribute Number Of Frames may be present in an MRI object.
QUESTION
For some tests I'm trying to manipulate the PixelData
element of a CT image stored in dicom format and write it back in the file with Fellow Oak Dicom in C#. After some research I found out that the matrix I want to deal with is in the Buffer
of PixelData
stored in a byte
-array. So I wrote following code:
ANSWER
Answered 2018-Sep-12 at 14:08The pixel data in a Dicom Dataset is something very special. It cannot easily be read or written as a single Tag. Fo-Dicom has special functions and classes to work with pixel data.
Here is an example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ctfile
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page