I thought "display a DICOM(.dcm) image", like I can display a JPEG,GIF,PNG, in Tk.
For example, display a JPEG image:
use Tk;
use Tk::JPEG;
my $main = new MainWindow;
my $canvas = $main ->Canvas;
$canvas->pack;
my $image = $canvas->Photo('-format' => 'jpg',
-file=>'something.jpg');
$canvas->create( 'image',50,0,
'-anchor' => 'nw',
'-image' => $image );
MainLoop;
So anyway posible display en DICOM format(.dcm) image?
Thanks!
I have never heard of a DICOM image. If it is a proprietary format its very unlikely you can display it like the other much more common image formats you mentioned. You would probably need to convert it first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.