Thanks a lot for taking your time!
I'll try to update my 3D view form the paintbrush notification.
Best regards,
JK

From: Karthik Krishnan [mailto:[email protected]]
Sent: Wednesday, September 16, 2009 12:40 AM
To: Kim, Jinkoo
Cc: [email protected]
Subject: Re: [VtkEdge] segmentation displayed as contour outlines not 
filled-solid color.


On Tue, Sep 15, 2009 at 4:57 PM, Kim, Jinkoo 
<[email protected]<mailto:[email protected]>> wrote:

Thanks a lot, Karthik, for the reply.



I've look through the test examples: PaintbrushTest1~8 (of Aug svn), but the 
only example displays the segmentations as contours is the one using GrayScale. 
Opacity is not an option in my application.
Well, you can go the grayscale route and bite the memory bullet. Depending on 
the size of your 3D data, this may not be a concern.

You are right that the label maps could have chosen to use an outline for the 
geometrical representation. However we haven't implemented that. Also, with an 
outline, things can get very confusing at the interface between adjacent 
segmentations.


Also, I need to show the segmentation result in 3D view (hopefully whenever the 
mouse releases during editing).

That's something you'd need to do yourself. The paintbrush widget invokes 
events during and after interaction, that you can observe. You can query the 
image data from the drawing, (which is maintained by the representation). (See 
examples/ tests that save the edited data out).

I'd have liked to see a 3D (passive) representation written that does this 
automatically, to make it easy for users. However we never had the time.

One nice thing with the grayscale data is that it should already give you 
smooth contours.




Can I still use Label DataType to achieve this goal?

no.



Regards,

JK





From: Karthik Krishnan 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, September 15, 2009 12:07 PM
To: Kim, Jinkoo
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [VtkEdge] segmentation displayed as contour outlines not 
filled-solid color.



You would need to take a look at VTKEdgePaintbrushExample4. Note that I would 
strongly advice you against going down this route. Every stroke in a sketch and 
every sketch in a drawing is going to be represented via an instance of 
vtkImageData. This is fairly memory intensive and quite unnecessary unless you 
must have subvoxel precision representation of segmentations.



For most purposes, you just need voxel precision representation of 
segmentations. The Label map representation will do. Please take a look at 
PaintbrushTest1 / 2 /3 ...



Note that the overlay does not have to an opaque color.  you can change the 
opacity of a sketch both programmatically (see vtkKWEPaintbrushProperty) and 
interactively (press the "<" and ">" keys) to increase / decrease the opacity.



--

karthik



On Tue, Sep 15, 2009 at 9:19 AM, Kim, Jinkoo 
<[email protected]<mailto:[email protected]>> wrote:

Hi vtkEdge exports,



I am using vtkEdge paintbrush in the Binary DataType and like to have the 
segmentations displayed as just the boundary contours (like in the GrayScale 
mode). Is there a simple way to do it? Or, what files should I look into?



Thanks~

JK

==============================================================================

CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.



Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy Policy and Henry Ford My Health 
at www.henryford.com<http://www.henryford.com> for more detailed information. 
If you do not believe that our policy gives you the privacy and security 
protection you need, do not send e-mail or Internet communications to us.



==============================================================================

_______________________________________________
VtkEdge mailing list
[email protected]<mailto:[email protected]>
http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge

=

==============================================================================

CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.



Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy Policy and Henry Ford My Health 
at www.henryford.com<http://www.henryford.com> for more detailed information. 
If you do not believe that our policy gives you the privacy and security 
protection you need, do not send e-mail or Internet communications to us.



==============================================================================



--
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 881 4919
Fax: 518 371 4573

==============================================================================
CONFIDENTIALITY NOTICE: This email contains information from the sender that 
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected 
from disclosure. This email is intended for use only by the person or entity to 
whom it is addressed. If you are not the intended recipient, any use, 
disclosure, copying, distribution, printing, or any action taken in reliance on 
the contents of this email, is strictly prohibited. If you received this email 
in error, please contact the sending party by reply email, delete the email 
from your computer system and shred any paper copies.
 
Note to Patients: There are a number of risks you should consider before using 
e-mail to communicate with us. See our Privacy Policy and Henry Ford My Health 
at www.henryford.com for more detailed information. If you do not believe that 
our policy gives you the privacy and security protection you need, do not send 
e-mail or Internet communications to us.

==============================================================================
_______________________________________________
VtkEdge mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge

Reply via email to