Dicom(3pm)
π Dicom(3pm) π
okay bestie, this is PDL::IO::Dicom, a page from the User Contributed Perl Documentation corner of the internet. grab a strawberry π and let's get into it.
β¨ NAME β¨
PDL::IO::Dicom β a module for reading DICOM images. no cap, that's the whole job.
πΈ DESCRIPTION πΈ
So the way that PDL::IO::Dicom works is: it lets you read 16-bit gray level Dicom images straight into PDL. π«Ά
But here's the tea, and I need you to hear me on this one: Dicom is an extremely complex format. Like, absurdly complex. So this module, unfortunately, cannot handle all the different image types that are included in the DICOM standard. π It's giving "we did what we could."
One common format that is currently not supported is the Papyrus format. so if that's your vibe, this module is not your girl. π
π USAGE π
like this, bb:
use PDL;
use PDL::IO::Dicom;
$img = rdcm("image.dcm");
that's it. that's the whole ritual. β¨
π¦ SEE ALSO π¦
PDL::IO::Dcmβ the sibling module, go say hi π
π AUTHOR π
Copyright (C) Dov Grobgeld <dov@imagic.weizmann.ac.il> 2002. All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.
π₯ FUNCTIONS π₯
π rdcm
Read a dicom image. yeah. that's the one. that's the function.
$dcm = rdcm("filename")
give it a filename, get a dicom image back. iconic behaviour honestly. β
π AUTHOR π
Copyright (C) Dov Grobgeld <dov@imagic.weizmann.ac.il> 1997. All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.
(yes bestie, that's a second AUTHOR section β the page really does ship two of them, and I respect the commitment. the dates differ: this one says 1997, the one up above says 2002. both are here, both stay. π«‘)
mwah and that's a wrap! this whole thing came to you courtesy of perl v5.42.3, dated 2026-08-19, under the name Dicom(3pm). go read some gray levels, queen. πβ¨ππ¦
π¦ where this page comes from
- ubuntu stonking: libpdl-io-dicom-perl 2.099-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms