Hi,
I want to get the physical images from all frames of dicom file.
For that i implemented below code.
But i am getting error like parameter is not valid.
ImageSop sop = new ImageSop("Path of TestDicomFile");
byte[] frameArray = sop.Frames[1].GetNormalizedPixelData(); -- here i am getting total frames are 25.
from that i want to get the first frame.
MemoryStream msFrame = new MemoryStream(frameArray);
Image imgFramex = (Bitmap)Bitmap.FromStream(msFrame); -- in this line i am getting the error like "parameter is not vaild".
If i get image in any other way also , tell me how can i?
please help me some one.