Announcement

Collapse
No announcement yet.

Help: Load Directly Multiple DICOM Files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help: Load Directly Multiple DICOM Files

    Hey,

    I was using LDM format, but now i m trying to load only DICOM files. It is loading the DICOM files, but having some problem.

    But i m doing as of now:-

    1) i have create a list of DICOM files named list.dcm.
    list.dcm contains

    D:/Dicom Data/RAWDATA/001.dcm
    D:/Dicom Data/RAWDATA/002.dcm
    .....
    D:/Dicom Data/RAWDATA/300.dcm

    and i m assigning the filepath to VolumeData

    volData->fileName.setValue("list.dcm");

    it is showing fine. but when i change the slice number of the OrthoSlice, it is showing same slice on different index.
    like on 0 & 1 same slice and 2,3 same..... so on..

    i donot know why i m getting this error.

    please any one suggest , if i m missing any step or doing somethign wrong.

    Thanks..
    Aman
    Thanks and Best Regards,
    Aman

  • #2
    Seems to work with VolRend

    Hi Aman,

    I just loaded some Dicom test data and it seemed to work fine. I used the VolRend demo that comes pre-built (on Windows) with OIV 7.2.

    I suggest:
    1. Check your list file once more to confirm there are no duplicate file names.
    2. Load the data in VolRend to see if the problem is in your application program.

    Regarding VolRend, here are some hints for Dicom data.
    • First go to the Volume Rendering tab
      • Click the Visibility box (to turn off volume rendering).
      • Click the BBox box.
    • Go to the Geometry Control tab and click the Slices Off box (to turn slices on).
    • Now on the Data tab:
      • In the Slice ColorMap section, set the predefined colormap to Intensity.
      • In the Data Range section, click the Active box.
      • In the Data Set section, click the browse button "..." and select your list file.
    • Now that the data is loaded (one slice should be displayed), go back to the Geometry Control tab and change the slice number using the slider.


    -Mike
    Last edited by mikeheck; December 15th, 2008, 03:15 PM. Reason: typo

    Comment


    • #3
      Loading Dicom Files

      Dear Mike,

      Thanks for reply.

      I have tried the VolRend Demo with DICOM list file. But it is showing the same slice. if i create LDM , then it is working fine. I m trying to find the problem.

      How can I do the Invert color. is there direct function to invert color in OI.

      ( BLACK -> WHITE -> BLACK)

      or do I need to change the SoTransferFunction. please suggest.

      Thanks.
      Aman
      Thanks and Best Regards,
      Aman

      Comment


      • #4
        Re: Invert colors

        Originally posted by aman.sonu View Post
        How can I do the Invert color. is there direct function to invert color in OI.

        ( BLACK -> WHITE -> BLACK)

        or do I need to change the SoTransferFunction. please suggest.
        Currently you will need to change the SoTransferFunction, specifically to modify the values in the colorMap field. The most efficient way to do this is:
        Code:
        // Get pointer to color map values
        float *p = pTF->pcolorMap.startEditing(); 
            // Modify values
            ...
        pTF->colorMap.finishEditing();
        -Mike

        Comment


        • #5
          Transfer Function

          Dear Mike,

          Thanks for reply..

          I have gone through it. But i did not get it completely. can you provide some example, e.g. to change the colormap, when i have loaded the INTENSITY Color Map.

          Regards,
          Aman
          Thanks and Best Regards,
          Aman

          Comment


          • #6
            Invert colormap

            This may be generally useful, so I have posted an example in the Resources section: https://forum.openinventor.com/node/58.

            -Mike

            Comment


            • #7
              Originally posted by mikeheck View Post
              This may be generally useful, so I have posted an example in the Resources section: https://forum.openinventor.com/node/58.

              -Mike
              Dear Mike.

              Thanks for reply..

              Is there any book avaliable for VolumeViz. i know abt Mentor. but it is only regarding the Open Inventor. where i can get information about VolumeViz.

              Thanks in advance.

              Regards,
              Aman
              Thanks and Best Regards,
              Aman

              Comment


              • #8
                VolumeViz documentation

                There is a lot of information about using VolumeViz in chapter 20 of the Open Inventor User's Guide. It's included in the Open Inventor SDK: $OIVHOME/doc/UsersGuide/UsersGuide.pdf

                -Mike

                Comment

                Working...
                X