end2end-all-conv
end2end-all-conv copied to clipboard
Image preprocessing - convert to PNG, downscale
Hi, would it be possible to receive some code that performs the image pre-processing? I'm aware some of it is using ImageMagick via the Linux command line, but I cannot correctly sort this at present. edit: I am trying to use the CBIS-DDSM dataset in the same way, using the patch classifier. Not necessarily the same splits; just the pre-processing. Kind regards.
Hello,
Since January you surely found a solution to your problem, but if that's not the case and you're still wondering, or at least for other people that might come accross the same problem:
If you look read_resize_image
function of dm_image.py
file, you can see that using pure DICOM is possible, reading directly from pixel_array
. No conversion to PNG seems to be required, even though it is said so in the paper
Regards