Hi Wassim,
sorry, the link for the documentation and tutorial is currently broken. There 
you could see, how to activate and start the functionalities.

For so long, use cmake to create your makefile or projectfile. There you can 
activate QmitkVolumeVisualisation. After compiling the mitk source code, you 
can start the MainApp in the build directory 
<binary-files-directory>/mitk/bin/MainApp under gcc and 
<binary-files-directory>/mitk/bin/release/debug/MainApp.exe on Win32 systems.

In the applcation, load an Image such as 
<source-files-directory>/mitk/Testing/Data/Pic3D.pic.gz
Then click the icon for VolumeVisualization (stay with the mouse over the icon 
to get the name / the icon shows three cubes (green, red, orange).
Then check the checkbox volume rendering in the control-section of the 
functionality (on the right).
It takes a second to create a default lookup-table for opacity and color. 
In the lower right, you see the volume-renderes image. You can deactivate the 
slices by clicking the green - red icon in the upper-middle; then you see the 
whole volume-rendered image.

In the control section, you see a histogram-widget (scalar opacity; blue) and a 
line, which you can adapt by mouse-clicking. Add new points by 
shift-left-mouse-click. There you get your desired lookup-table for opacity, 
color (section below) and even gradient.


Best Regards and welcome to the MITK community,
Ingmar


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 26. September 2008 13:43
An: Wegner Ingmar
Cc: [email protected]
Betreff: Re: AW: [mitk-users] Using MITK to apply interactively change on 
transfer function(Opacity + Color) on Volume Rendering
Wichtigkeit: Hoch


Hi

I have great difficulties with the use of MITk especially
QmitkVolumeVisualization. 

I'am starting With MITK so please help me.

I'll let the migration of QmitkVolumeVisualization control to Qt4 for
later. I downgrade momentarily to Qt3  

I need to understand how I can use it !!!! Should I integer it in a Qt
widget?

What are the steps  To display a Volume and apply interactively change on
transfer function with this component ?

I have not found documentaion that explains how to integrate or use this
component ... :-(

Can you give me a piece of code? I would be very grateful ...

Waiting for your feedback and help.

Regards.
 

On Thu, 25 Sep 2008 18:20:23 +0200, "Wegner Ingmar"
<[EMAIL PROTECTED]> wrote:
> Hi Wassim,
> 
> we are currently in a "pre-QT4-phase", meaning that we will soon (~2
> month?) start to implement in QT4 only. 
> We have several classes already written in QT4 ( see QT4 folders in mitk
> source tree) but it will need more time.
> 
>> How you can  I proceed to port this functionality to Qt4?
>> Do you have an example (even written in Qt3) that uses this
> functionality?
> 
> See the functionality mitk\QFunctionalities\QmitkVolumeVisualization. It
> is written for QT3.x.
> An example of how QT4 funcktionalities will be written in future can be
> seen in mitk\Q4Applications\Tutorial 
> 
>>I did not understand how I can use "Volume Visualization Controls" 
>>independently of Version of Qt. Can you explain ne please ????
> 
> In general MITK is GUI-independent. Sources, filters and mappers etc. on
> top of ITK and VTK. Classes are marked with mitk-prefix.
> Then we have a lot of classes written for QT3 (Qmitk-prefix), some for
QT4
> (will be extended) and even a few on Fltk to create an application.
> In future WXWidgets will be added from external developers of the MITK
> community (!very nice!, thanks), as I have heard. 
> 
> Best Regards,
> Ingmar
> 
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 25. September 2008 15:11
> An: Wegner Ingmar
> Cc: [email protected]
> Betreff: Re: [mitk-users] Using MITK to apply interactively change on
> transfer function(Opacity + Color) on Volume Rendering
> Wichtigkeit: Hoch
> 
> 
> Hi
> 
> Thank you very very much for your help.
> 
> I can't downgrade to Qt3.6 because I have a project in which I am using
> Qt4.
> 
> How you can  I proceed to port this functionality to Qt4?
> 
> Do you have an example (even written in Qt3) that uses this
> functionality?
> 
> I did not understand how I can use "Volume Visualization Controls" 
> independently of Version of Qt. Can you explain ne please ????
> 
> Waiting for your feedback and help.
> 
> Regards.
> 
> On Wed, 24 Sep 2008 17:58:16 +0200, "Wegner Ingmar"
> <[EMAIL PROTECTED]> wrote:
>> Hi Wassim,
>> if you would downgrade to Qt3.6 you could use the VolumeVisualization
>> functionality, which does exactly what you have described. 
>> You can also use the QT/Win free library mentioned at
>> http://www.mitk.org/wiki/Build_requirements
>> 
>> As far as I know, the functionality is not yet ported to QT4. But if
> you
>> want to port it you are more than welcome to do so and to provide the
> code
>> for the others. If you know QT4.0 it should not be too much work. 
>> 
>> Best regards,
>> Ingmar
>> 
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> Gesendet: Mittwoch, 24. September 2008 14:36
>> An: [email protected]
>> Betreff: [mitk-users] Using MITK to apply interactively change on
> transfer
>> function(Opacity + Color) on Volume Rendering
>> Wichtigkeit: Hoch
>> 
>> 
>> Dear
>> 
>> I'am using VTK 5.0.2 and Qt 4.3.1  for Volume Rendering.
>> 
>> I want to  use MITK to apply interactively change on transfer
>> function(Opacity + Color).
>> 
>> VTK doesn't offers methode to do this kind of interaction on Volume
>> Rendering.
>> 
>> What I want is interact with the volume (to disappear/ display parts of
>> volume: bones, vessels ...) by varying the functions of transfer.
>> 
>> Is it possible using MITK  + VTK 5.0.2 and Qt 4.3.1 ?
>> 
>> If it is yes so :
>> 
>>       1) How can i use MITK to do this ? 
>> 
>>       2) Is there an example that I can follow because I'm starting
> with
>> MITK (I did not find in the tutorial of MITK  an example like what I'm
>> looking for).
>> 
>> I have already compiled MITK using Qt 4 as GUI + VTK 5.0.2 and ITK
> 3.8.0
> .
>>  
>>  
>> Waiting for your feedback and help.
>> 
>> I'am on a trouble so please Help.
>> 
>> Regards.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> mitk-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to