medical

How to calculate a Voxel size?

帅比萌擦擦* 提交于 2021-02-16 19:22:19
问题 Provided following information from a DICOM header, how can I calculate the third value of voxel size? I assume the first two values are 0.515625 and 0.515625. BitsAllocated: "16" BitsStored: "12" Columns: 512 HighBit: "11" ImageOrientation: "1\0\0\0\-1\0" ImagePosition: "-144\-34.7242241\925.599976" ImageType: "ORIGINAL\PRIMARY\AXIAL\HELIX" InstanceNumber: "456" Modality: "CT" PhotometricInterpretation: "MONOCHROME2" PixelRepresentation: "0" PixelSpacing: "0.515625\0.515625" RescaleIntercept

How Do I Change the Axis SimpleITK::ImageSeriesWriter Using?

不想你离开。 提交于 2021-01-29 05:57:06
问题 The SimpleITK::ImageSeriesWriter default to slice given 3D volume along Z-axis and write slices of 2D images in XY view. How do I change the axis so that the output is in XZ or YZ view? In another word, if the default Z axis slices are in Axial view, how do I get the slices of Coronal and Sagittal view? I tried the GitHub:FNNDSC/med2image's output xyz function. But the images array are blindly written, so sometimes the X and Y are transposed, or one of the axis are reversed(flipped). So I

Correct display of DICOM images ITK-VTK (images too dark)

风格不统一 提交于 2020-01-14 10:45:08
问题 I read dicom images with ITK using itk::ImageSeriesReader and itk::GDCMImageIO after reading i flip the images with itk::FlipImageFilter (to get right orientation of the images) and convert the itkImageData to vtkImageData using itk::ImageToVTKImageFilter. I visualization images with VTK using vtkResliceImageViewer in QVTKWidget2. I set: (vtkResliceImageViewer)m_imageViewer[i]->SetColorWindow(windowWidthTAGvalue[0028|1051]); (vtkResliceImageViewer)m_imageViewer[i]->SetColorLevel

HIPAA Compliancy, What do I need to know? [closed]

匆匆过客 提交于 2020-01-02 03:44:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . Ok so I would for a branding company and we're just scratching the surface of collecting pharma data. I know a bit about HIPAA com pliancy but I guess where I'm fuzzy is.. A). when collecting data via a form, do I need to de-identify the data.. I.e. store it across separate tables etc. B). who/what has access to

Parse DICOM files in native Python

て烟熏妆下的殇ゞ 提交于 2019-12-30 00:54:46
问题 What is the simplest and most-pythonic way to parse a DICOM file? A native Python implementation without the use of non-Python libraries would be much preferred. DICOM is the standard file format in digital medical imaging (look here for more information). There are some C/C++ libraries that support reading (a subset) of DICOM files. Two or three of them even have Python bindings. A native Python parser would serve two purposes for me: No need to build any external C/C++ libraries. Learn

Odds ratio for ordinal variables from PROC GENMOD

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 06:03:35
问题 I have a set of data where I am creating a logistic regression model, looking at the odds of a binary outcome variable (Therapy), with Stage as an ordinal explanatory variable (0,1,2,3,4). A1c is a continuous variable. Because each patient has two eyes, I must use the repeated subject = patientID(EyeID) statement. The following is my code: PROC GENMOD data=new descend; class patientID EyeID Stage (param = ordinal) Therapy (ref ="0") Gender(ref="M") Ethnic agegroup/ PARAM=ref; model Therapy =