Use this tag to ask question about processing/converting/creating/analyzing image instance in-memory/persistence-storage related to medical domain. This include DICOM images/pixel-data as well. Additional tag [tag:dicom] is only needed if question relates to DICOM Specifications. If question can stand without it, avoid using [tag:dicom] tag. This tag is agnostic to programming language or toolkit.
Questions tagged [medical-imaging]
250 questions
1
vote
0 answers
How to correctly load DICOM using vtkplotter for creating 3D from DICOM in python?
I have problem with loading .dcm.
I need to have 3D visualisation and I would like to use vtkplotter.
Someone has also this problem.
I try:
from vtkplotter import *
volume = load(mydicomdir) #returns a vtkVolume object
show(volume,…

mecha tronika
- 21
- 3
1
vote
1 answer
Proper DICOM image preprocessing for CNN - images with different Modality and Photometric Interpretation
I'm currently working on a deep learning project involving DICOM images. Long story short, in this project I have X-ray images of human pelvises and I'm trying to predict if there are some pathological changes on the hip joint (for example: cysts,…

Maju116
- 1,607
- 1
- 15
- 30
1
vote
1 answer
Modifying a large number of DICOM (.dcm) files.
bit of a simple question perhaps but I am not making progress and would appreciate help.
I have a list of size 422. Within index 0 there are 135 file paths to .dcm images. For example '~/images/0001.dcm','~/images/0135.dcm' Within index 1, there…

Ciaran De Ceol
- 35
- 8
1
vote
2 answers
DICOM to Point Cloud in VTK
Is there any method for converting DICOM (ct scan) images to Point Clouds using VTK?
VTK allows reading DICOM and DICOM series and volume rendering but is it possible to generate a Point Cloud from a series of DICOM images?
If it isn't possible in…

user2521733
- 19
- 5
1
vote
0 answers
3D pointcloud visualisation of DICOM Images with VTK in C#
my task is to visualize a grayscale pointcloud which I can found in a DICOM series.
I found this tutorial https://pyscience.wordpress.com/2014/09/11/surface-extraction-creating-a-mesh-from-pixel-data-using-python-and-vtk/ which shows how to…

timetosmile
- 73
- 1
- 11
1
vote
2 answers
Python opencv and dicom files
while trying to use opencv with a dicom monochrome file, i saw only one solution : first transform the monochrom dicom file with pixel values between -2000( black) to 2000 (white)in RGB with
0<=R=G=B<=255. (To ensure grayscale, i have to set…

twanmal
- 11
- 1
- 4
1
vote
1 answer
DICOM: how to resample multi modality data with different origins?
I have 2 sets of DICOM image data for 1 subject, consisting of a PET scan and CT scan which were taken at the same time. The Frame of Reference UIDs are different, which I think means that their reference origins are different. So that the 'Image…

user152153
- 13
- 4
1
vote
1 answer
3D numpy array iteration using shared C libraries
I'm currently working on an image processing project. I'm using Python, the SimpleITK, numpy, and a couple of other libraries to take a stack of DICOM images, turn them into a 3D numpy array, and then do some image processing operations using the…

SciurusDoomus
- 113
- 2
- 14
0
votes
1 answer
How to decide the value of the sigma value to use for the SimpleITK Filter: SmoothingRecursiveGaussianImageFilter depending on the voxel size?
I am using a code similar to this example in order to smooth voxel volume data (so from a CTA scan): https://examples.itk.org/src/filtering/smoothing/computessmoothingwithgaussiankernel/documentation
and wondering, what sigma value to use? Does it…

Alex1111
- 1
0
votes
0 answers
Differentiable loss function for image-to-image translation in distorted images in pytorch
I am planning to train a deep learning model to convert medical images from different modalities to each other (e.g. A residual U-Net to convert MRI image to CT scan image of the same region).
I have a dataset of pairs of MRIs and CT scans from the…
0
votes
0 answers
Is there a way to test my image registration code on 3D slicer and view the results?
I wrote a python code for image registration. I want to view if it works by running the code on 3D slicer and see if the two images align properly.
Is there any way to transfer my code in python to 3D slicer and run it to see if the two images…

HBM
- 1
- 1
0
votes
0 answers
How to help Convolutional Neural Network differentate 2 mostly smooth textures?
I am trying to build a Convolutional Neural network (at moment using RestNet architecture) to classify mammogram images by density (the classes go from A, very smoothly low density to D, very homogeneous dense ).
It works well on the middle…

Tiago Stein
- 1
- 2
0
votes
1 answer
Vtk vtkResliceImageViewer loads MPR and displays crosshairs with pyqt5
I use vtkResliceImageViewer to display MPR, set vtkResliceImageViewer().SetResliceModeToAxisAligned, why my crosshair is very virtual and invisible, it will be covered by the image
here is my code
class Viewer():
def __init__(self) -> None:
…

Drink
- 1
- 2
0
votes
0 answers
How to crop each mask label from CAMUS dataset
I tried to crop each mask label from CAMUS dataset but in vain.
I wanted to get the patches of left atrium (white) and left ventricle (dark gray) separately.
import numpy as np
import cv2
img = cv2.imread('t_0_2CH_ED.jpg')
Z =…

TseHsien
- 73
- 8
0
votes
0 answers
Z-axis measurement of 3d .obj scan
I am currently working on a project that requires 3d scans of skin wounds and deformities. I've been looking around for software/libraries that could process the 3d scans and tell me the depth/height of these deformities but I haven't come across…

tigerhoang03
- 9
- 2