<div dir="ltr"><br>Hello all,<br><br>I want to be able to display histogram of a part of an image. Following is what I did so far:<br><br>image_accumulate->SetInput(vtkImageData);<br>image_accumulate->SetStencil(vtkImageStencilData);<br>
image_accumulate->Update();<br><br>histogram_image = image_accumulate->GetOutput();<br>histogram_image->Update();<br><br><br>When I cast the histogram image to unsigned char and render it using vtkImageActor, I see a blank white image. Am I missing something here?<br>
<br><br>Thanks,<br>Prathamesh<br><br><br><br></div>