Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
friends i need some help.. regarding the DICOM images..

i am newbie to dicom and i am in the middle of a a project i.e to create thumbnails of the dicom images separated by their "seriesinstanceUID" (0020,000E) and list them in the different list boxes. i know how to create thumbnails but don't know how to separate them according to seriesinstanceUID.. and one more thing i am using fo-dicom library..

thank you..


C#
private void button2_Click(object sender, EventArgs e)
   {
       var fbd = new FolderBrowserDialog();
       if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
           return;
       var foldername = fbd.SelectedPath;
       foreach (string f in Directory.EnumerateFiles(foldername, "*.*", SearchOption.AllDirectories))
       {
           OpenFile(@"" + f);

           var m = DicomFile.Open(@""+f);
          listBox2.Items.Add( m.Dataset.Get<string>(DicomTag.SeriesInstanceUID));



       }
   }
Posted
Comments
gggustafson 14-Jun-14 8:27am    
You must not start a new question when you are responding to a reply on an earlier question. Go back to the original question and click on Improve question. Then copy the code you supply here into the earlier question. Finally delete this question.
maheshwarreddy009 14-Jun-14 10:15am    
actually that was also my question and i want both cases.. so please help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900