Browsing this Thread:   1 Anonymous Users


 Bottom   Previous Topic   Next Topic  Register To Post



Image data - C#
Just popping in
Joined:
2009/12/3 15:01
Group:
Registered Users
Posts: 1
Level : 1; EXP : 0
HP : 0 / 0
MP : 0 / 0
Offline
Hello,
i am quite new to DICOM and looking for some help. Right now i know how to retrive some basic information from dicom header, but i have no idea how to retrive Pixel Data information.

Is it possible to get it using DVTk ?

I tryed to use DvtkData.Dimse.Attribute attribute = dcfile.DataSet.GetAttribute(0x7FE0010) , and than attribute.DicomValue to use it, but still i cant retrive image data.

Second question is: is it a way to retrive header length ?

Thx for help

Posted on: 2009/12/3 15:09
Transfer the post to other applications Transfer


Re: Image data - C#
Core Team Member
Joined:
2005/9/15 8:27
From Bangalore, INDIA
Group:
Webmasters
Registered Users
Core Developers
Content Owners
Posts: 117
Level : 9; EXP : 84
HP : 0 / 221
MP : 39 / 4957
Offline

Hi User,

You can get pixel data attribute values as:

DvtkData.Dimse.Attribute attribute = dcfile.DataSet.GetAttribute(0x7FE0010);

string filename = attribute.Values[0];

In DVTk library, pixel data is stored in private file format(.pix).

currently in DVTk library we've not providing any operations on pixel data and we are using these pix files for pixel data attirbute.

So user can access the byte array from pix file.

Also you can get length of dataset by using Length property.

Regards,

Piyush

 


Posted on: 2009/12/4 11:01

Edited by Floris on 2009/12/8 13:07:44
Transfer the post to other applications Transfer



 Top   Previous Topic   Next Topic

 Register To Post


You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]