[vtkusers] Re: Composite two dataset?

Laurent Mundeleer lmundele at ulb.ac.be
Mon Jun 7 08:34:56 EDT 2004


Hi Wang,

Maybe you could look at the vtkImageMathematics :
http://www.vtk.org/doc/release/4.2/html/classvtkImageMathematics.html
 and do something like :
 math->SetInput(0, yourFilter->GetOutput());
 math->SetInput(1, yourSecondFilter->GetOutput());
 math->SetOperationToAdd();

Regards

Laurent


> Subject:
> [vtkusers] Composite two dataset?
> From:
> "wang minyou" <wmy1024 at hotmail.com>
> Date:
> Mon, 07 Jun 2004 00:06:14 +0800
> To:
> vtkusers at vtk.org
>
> To:
> vtkusers at vtk.org
>
>
> Hi all,
> Sorry, I have send this question ever, but no reponse. I'm sorry to 
> bother you, but I really need help.
> I'm using vtkImageGradient to get LinkEdges of a image, now I want to 
> composite the LinkEdges and the original image into one image. Anyone 
> knows how to do that? Or could give me a direction? Any help will be 
> greatly appretiated.
> Thanks in advance
> Wang
>

-- 
********************************************
Laurent Mundeleer
Université Libre de Bruxelles (ULB)
Service des Systèmes Logiques et Numériques (SLN) CP165/57
50, Av. F.Roosevelt
1050 Bruxelles
Belgium
tel : ++32.2.650.22.97
fax : ++32.2.650.22.98
e-mail : lmundele at ulb.ac.be
********************************************




More information about the vtkusers mailing list