|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Full Color Volume Rendering?Jarek,
I want to experiment with full color (RGB) volume
rendering in ij-VTK.
As I started to modify/test the source code,
I ran into an exception in
VtkEncoder
(does not support RGB).
I do not seem to have the source code for this "io"
package?
Would it be difficult to add support for RGB images
into VtkEncoder?
I already made up a simple RGB test stack in
Image/J and I'm motivated
to add RGB support into ij-VTK.
note to self
---
Try a late-based
vtkImageData::GetNumberofScalarComponents test.
Try either applying no color transder function or a
linear one on each channel.
******************************************
keesh Software Development Engineer (Alchemist of the Millennium) Work Life Plan:
To improve the quality of life for all mankind through better pattern recognition techniques. Home Life Plan:
Married, but happy. Three bright beacons light my way. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ij-plugins-users mailing list Ij-plugins-users@... https://lists.sourceforge.net/lists/listinfo/ij-plugins-users |
|
|
Re: Full Color Volume Rendering?keesh wrote:
> I want to experiment with full color (RGB) volume rendering in ij-VTK. > As I started to modify/test the source code, I ran into an exception > in VtkEncoder > (does not support RGB). > I do not seem to have the source code for this "io" package? The source for the VtkEncoder is in the main ij-plugins (toolkit) module since it is not dependent on VTK libraries. > Would it be difficult to add support for RGB images into VtkEncoder? It should not be difficult to add RGB support to VtkEncoder. It may be a good idea to add RGB support to VtkDecoder too. > I already made up a simple RGB test stack in Image/J and I'm motivated > to add RGB support into ij-VTK. You are very welcome to upgrade VtkEncoder (and VtkDecoder) to support RGB images. BTW: I just did a minor modifications to VtkEncoder to test if CVS checkin works fine. Jarek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ij-plugins-users mailing list Ij-plugins-users@... https://lists.sourceforge.net/lists/listinfo/ij-plugins-users |
|
|
Serializing/deserializing VTK classesDear all,
I am developing web service using VTK. I met some difficulties in serializing /deserialing VTK objects. As an example,I modified Medical1.java ,which is in the VTK-Examples,as a application in server side.So the return of the web service is class Medical1.I got an Exception--java.io.NotserializableException:vtk.vtkLight.And I also found the other classes,such as vtkVolume16Reader,vtkContourFilter, and so on, all seem not to be serialized.How do I serialize /deserialze VTK objects? Any suggestion would be helpful and many thanks in advance. Kind regards, Gao Shu >From: "keesh" <keesh@...> >To: <ij-plugins-users@...> >Subject: [Ij-plugins-users] Full Color Volume Rendering? >Date: Sun, 24 Sep 2006 17:17:17 -0500 > >Jarek, > >I want to experiment with full color (RGB) volume rendering in ij-VTK. >As I started to modify/test the source code, I ran into an exception in >VtkEncoder >(does not support RGB). >I do not seem to have the source code for this "io" package? >Would it be difficult to add support for RGB images into VtkEncoder? >I already made up a simple RGB test stack in Image/J and I'm motivated >to add RGB support into ij-VTK. > >note to self >--- >Try a late-based vtkImageData::GetNumberofScalarComponents test. >Try either applying no color transder function or a linear one on each >channel. > >****************************************** >keesh >Software Development Engineer >(Alchemist of the Millennium) > >Contact: >keesh@... >****************************************** > >Work Life Plan: >To improve the quality of life for all mankind through better pattern >recognition techniques. > >Home Life Plan: >Married, but happy. Three bright beacons light my way. >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Ij-plugins-users mailing list >Ij-plugins-users@... >https://lists.sourceforge.net/lists/listinfo/ij-plugins-users _________________________________________________________________ Windows LiveĀ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ij-plugins-users mailing list Ij-plugins-users@... https://lists.sourceforge.net/lists/listinfo/ij-plugins-users |
|
|
Re: Serializing/deserializing VTK classesshu gao wrote:
> I am developing web service using VTK. I met some difficulties in > serializing /deserialing VTK objects. As an example,I modified > Medical1.java ,which is in the VTK-Examples,as a application in server > side.So the return of the web service is class Medical1.I got an > Exception--java.io.NotserializableException:vtk.vtkLight.And I also > found the other classes,such as vtkVolume16Reader,vtkContourFilter, > and so on, all seem not to be serialized.How do I > serialize /deserialze VTK objects? Any suggestion would be helpful and > many thanks in advance. I assume that you are trying to use standard Java binary serialization that requires a class to implement Serializable interface. Most of the classes in package vtk are auto generated by VTK build code. Only vtk.vtkPanel and vtk.vtkCanvas have actual source code. If you want binary serialization you may have to modify VTK build scripts and rebuild VTK. Another option is be to serialize to XML using libraries like XStream (http://xstream.codehaus.org/) that can serialize almost any code without need to implement Serializable interface. I am doing that in one of my projects that uses ij-VTK and it works quite nice. Jarek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ij-plugins-users mailing list Ij-plugins-users@... https://lists.sourceforge.net/lists/listinfo/ij-plugins-users |
| Free embeddable forum powered by Nabble | Forum Help |