dicom

Ellipsoid fitting for 3D data on matlab

北城以北 提交于 2019-12-24 01:32:26
问题 I am working on a 3D volume of CT lung images, In order to detect nodules I need to fit an ellipsoid model for each suspected nodule, How can I make a code for that ??? Nodule is the suspected object to be a tumor, my algorithm needs to check every object, and approximate it to an ellipsoid, and from the ellipsoid parameters we calculate 8 features to build a classifier which detects whether it a nodule or not through training and testing data, so I need to fit such ellipsoid here one slice

Ellipsoid fitting for 3D data on matlab

梦想与她 提交于 2019-12-24 01:32:16
问题 I am working on a 3D volume of CT lung images, In order to detect nodules I need to fit an ellipsoid model for each suspected nodule, How can I make a code for that ??? Nodule is the suspected object to be a tumor, my algorithm needs to check every object, and approximate it to an ellipsoid, and from the ellipsoid parameters we calculate 8 features to build a classifier which detects whether it a nodule or not through training and testing data, so I need to fit such ellipsoid here one slice

Convert bmp image into DICOM

﹥>﹥吖頭↗ 提交于 2019-12-24 00:58:17
问题 I have 800 images in BMP format and I would like to convert them into DICOM. I have started like this, but it is not working for some reason. My experience with VTK is limited: file_in = 'C:/programfile/image.bmp' file_out = 'test1.dcm' vtkGDCMImageReader() 回答1: Here it is in python: r = vtkBMPReader() r.SetFileName( 'test1.bmp' ) w = vtkGDCMImageWriter() w.SetInput( r.GetOutput() ) w.SetFileName( 'test1.dcm' ) w.Write() If your input BMP uses lookup table, you can simply pass it: r =

I can't get an ImageReaderByFormatName(“jpeg-lossless”)

一个人想着一个人 提交于 2019-12-23 18:11:10
问题 I am trying to decode a lossless jpeg using JAI_ImageIO library and the following java call: ImageIO.getImageReadersByFormatName("jpeg-lossless").hasNext() results in "null". NOTE: I have the JAI_ImageIO jar installed to my jre/lib/ext directory. I don't know if the JPEG reader is sufficient to read lossless jpegs or if another reader is required to be installed. When I enumerate the FormatNames, i.e.: ImageIO.getReaderFormatNames() I get the following formats: [raw, jpeg, tif, WBMP, PNM, JPG

DICOM File compression

て烟熏妆下的殇ゞ 提交于 2019-12-23 12:58:06
问题 My line of work requires the use of DICOM files. Each DICOM file constitutes many .dcm files in a single directory. I am required to send these files over the network, a process which is somewhat so due to the massive size of the files. I am also a programmer and I was wondering what is the ideal way to compress such files? I'm talking about a compression that will be made on the local computer and later decompressed on the destination computer (namely the compression is solely for speeding

How to write a DICOM file from raw ecg data

孤街浪徒 提交于 2019-12-23 12:53:41
问题 I have raw ecg voltage samples in csv format e.g: time voltage (mV) 0.000 9.169110459 0.001 9.144672532 0.002 9.144672532 0.003 9.169110459 0.004 9.169110459 0.005 9.169110459 0.006 9.169110459 0.007 9.144672532 0.008 9.217986315 0.009 9.169110459 0.01 9.169110459 0.011 9.169110459 0.012 9.169110459 0.013 9.144672532 0.014 9.144672532 0.015 9.169110459 0.016 9.169110459 0.017 9.169110459 0.018 9.169110459 0.019 9.169110459 0.02 9.169110459 0.021 9.169110459 0.022 9.144672532 0.023 9.169110459

Storage Commitment Service (push model): how i get the result back to my SCU?

半腔热情 提交于 2019-12-22 18:36:19
问题 I planned to implement a Storage Commitment Service to verify if files previously sent to the storage were safely stored. My architecture is very simple and straightforward my SCU sends some secondary capture images to the storage and I want to be sure they are safely stored before delete them. I am going to adopt push model and I wonder what steps/features I need to implement to accomplish the service What I understood is I need to issue a N-ACTION request with SOP Class UID 1.2.840.10008.1

converting 12 bit DICOM image to 8 bit jpeg

笑着哭i 提交于 2019-12-22 17:28:31
问题 I am trying to load DICOM files into python using the dicom library. I have done the following ds=dicom.read_file(r"C:\Users\Z003SPFR.AD005\ML\GLCM AND SVM\data\NECT\1.IMA") # # store the raw image data DicomImage = ds.pixel_array This gives me values that appear to be 12 bit, since the highest value obtained was around 3047 and lowest value was 0. Then i made my own mapping function to bring it to the range 0-255. I used the following code: leftMin = 0 leftMax = np.amax(DicomImage) rightMin

convert 16 bit grayscale DICOM image to 8 bit: the correct procedure

房东的猫 提交于 2019-12-22 11:08:43
问题 I have been trying to create an image viewer for DICOM image. My program reads all the 8 bit colour and grayscale image almost correctly. But when I try to open a 16 bit image using the first 8 bits of the image, some parts are missing (pixels which uses 16 bit will be shown as dark instead of whilte). I don't really know how to use the window centre, window width, rescale slop and intercept. Please help me by giving the exact steps to convert 16 bit image to 8 bit image. Also I don't need to

How to read DICOM file on android os?

自作多情 提交于 2019-12-22 08:27:41
问题 I want to know how to display a DICOM file on the Android OS ? Can I do it? 回答1: Some are using DCMTK (http://www.dcmtk.org) on Android via Android NDK to acces DICOM. There's a discussion about it on the DCMTK forums here: http://forum.dcmtk.org/viewtopic.php?t=2960&sid=868791a13b4d266998284b921c4bfe8c 回答2: Imebra now includes JNI wrappers for Android and comes with a pre-built jar that includes java classes and so libraries with native code. 回答3: It is possible to access the Pixelmed Java