Hi Manu,

You data DICOM data rendering suggests that the air around the subject
is returning a high intensity value rather than a low one.  This is
not something I've seen with the DICOM datasets I've tested, so try
other data.  A transfer function would certainly be one way to pick
out the data you want.

Robert.

On Mon, Jul 19, 2010 at 10:34 AM, Emmanuel Roche
<[email protected]> wrote:
> Thanks Robert !
>
> Actually, I've just figured that on my side too! My error was to assume that
> the "--images" flag was optional, and all the specified images would just be
> used to build a volume anyway.
>
> When I use the --images just before the image list I get a proper volume
> rendering.
>
> Now, unfortunately, I have another issue: when I use the raw data as
> suggested by Dzenan, I get a nice volume display (see attached
> bonzai_volume.png). But when I use real medical data (whether I start from
> uncompressed DICOM images or converted PNG images doesn't matter here) I get
> far less interesting results (see attached phenix_OS_volume.png).
>
> I suspect this could have something to do with the "transfer function" as I
> would like the opaque areas to be transparent, and vise-versa ?? (the "cube"
> shape should not be visible, only the human head should be opaque and it
> seems to be the contrary here...)
>
> => Any idea what I could try to solve this problem ??
>
> Cheers,
> Manu.
>
>
>
>
> 2010/7/19 Robert Osfield <[email protected]>
>>
>> Hi Emmanuel,
>>
>> If you are trying to create a stack of images as a single volume then
>> use the --images <filenames> command line option.
>>
>> Robert.
>>
>> On Sat, Jul 17, 2010 at 1:50 PM, Emmanuel Roche
>> <[email protected]> wrote:
>> > One very interesting detail concerning those osgVolume tests (still on
>> > Windows) by the way:
>> >
>> > I use a command like:
>> >
>> > osgvolume --test2 --shader --zSize 100 --window 50 50 600 400
>> > CEMRA_HIGHRES\IM-0001-0001.png CEMRA_HIGHRES\IM-0001-0002.png
>> > CEMRA_HIGHRES\IM-0001-0003.png ... [more files here] ...
>> > CEMRA_HIGHRES\IM-0001-0119.png CEMRA_HIGHRES\IM-0001-0120.png -o
>> > result.dds
>> >
>> > I use 120 input png images.
>> >
>> > And I get the output:
>> >
>> > "Creating sequence of 120 volumes."
>> >
>> > But the resulting image (see the -o result.dds in the previous command
>> > line), only has a size of about 500 KB, and that's clearly not enough to
>> > hold all the 2D images. So is this really supposed to save the "3D
>> > image"
>> > content here ?? In that case it there must be a something going wrong.
>> >
>> > Moreother, if I then try:
>> >
>> > osgvolume result.dds
>> >
>> > it seems to load the image as a simple 2D image (and outputs: "Single
>> > image
>> > 1 volumes.")
>> >
>> > Now, let's see on linux...
>> >
>> > Manu.
>> >
>> >
>> > 2010/7/17 Emmanuel Roche <[email protected]>
>> >>
>> >> Hello Dzenan!
>> >>
>> >> i've just tried the website you suggested, downloaded the baby.pvm,
>> >> bonsai1.pvm and bunny.pvm datasets, and tried commands such as:
>> >>
>> >> osgvolume --window 50 50 600 400 --raw 256 256 98 1 1 big baby.pvm
>> >>
>> >> --> As I have no idea about the "numberOfcomponents" and "endianness"
>> >> of
>> >> those files I did multiple tests with "big"/"little" endianness and 1,
>> >> 3 or
>> >> 4 components
>> >>
>> >> Unfortunately, everything I tried just resulted in a crash of osgvolume
>> >> without displaying anything on Windows. (I'm now using osg v2.9.8 for
>> >> those
>> >> tests).
>> >>
>> >> I'm now about to test all this on Linux... But for the moment, I still
>> >> haven't got any kind of volumetric rendering on Windows...
>> >>
>> >>
>> >> One note by the way, I didn't bother settings up the osg Data folder at
>> >> all, could it be the the osgVolume library is in fact trying to
>> >> retrieve
>> >> maybe shaders or other needed ressources from that data folder ? [but I
>> >> guess I should get a warning of something like that in that case...]
>> >>
>> >>
>> >> Cheers!
>> >> Manu.
>> >>
>> >>
>> >>
>> >>
>> >> 2010/7/12 Dženan Zukić <[email protected]>
>> >>>
>> >>> Hi,
>> >>>
>> >>> I have a working osgVolume used in my program - I use it as a
>> >>> preliminary
>> >>> visualization. Since it has only 1D transfer function support, and
>> >>> does not
>> >>> combine with polygonal models, in later stage I replace it with
>> >>> isosurface+polygonal model.
>> >>>
>> >>> My version is basically a simplified osgVolume example. Of course,
>> >>> before
>> >>> modifying it I played with it a bit - the simplest way to get it to
>> >>> visualize 3D image is giving it raw data. You can find some free 3D
>> >>> images
>> >>> here:
>> >>> http://www9.informatik.uni-erlangen.de/External/vollib/
>> >>>
>> >>> Cheers,
>> >>> Dženan
>> >>>
>> >>> ------------------
>> >>> Read this topic online here:
>> >>> http://forum.openscenegraph.org/viewtopic.php?p=29928#29928
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> osg-users mailing list
>> >>> [email protected]
>> >>>
>> >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >>
>> >
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> >
>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to