Convert png to DICOM

Hello Everyone,

I have a png file which is of shape 224,224,3

I would like to confirm this as a dicom file but when I do I only see one dicom file of shape 224,224

Should I be receiving 3 dicom files for 3 channel (RGB)?

Is there any relaible conversion tool for this?

Thanks
Selva

Hi,

I have done a kind of image processing like the following:

MMorigin.png --(segmentation)-->MMseg.png --(RGB decomposition)-->
        RGB.png--(mean and deviation analysis for each color)-->RGB-ROI.png

I would like to use the result as a dataset for Machine Learning.

Hiroaki Inomata
PHAZOR, LLC https://phazor.info
MD:psychiatrist
BSc:physics
HorliX:developer
Horos:contributor
OsiriX(OpenSource version):contributor

img.png

MMseg.png

RGB.jpg

RGB-ROI.jpg

Hello Hiroaki,

Did you use any tool to convert png to Dicom?

Thanks
Selva

Hi Selva,

You can eventually use the create-dicom rest API route to create a DICOM from PNG.
Here’s an example in the orthanc integration tests:
https://bitbucket.org/sjodogne/orthanc-tests/src/4831008d1500379b643050916f204750e2498442/Tests/Tests.py#lines-1471

Hi, Selva

Yes, I used our HorliX, a customized version of Horos/OsiriX, and its plugin but
another program I wrote played a role of RGB decomposition in this case.
It’s not so difficult.

Hiroaki Inomata
PHAZOR, LLC
https://phazor.info

2019年7月17日(水) 16:07 Alain Mazy <am@osimis.io>: