Is it possible to draw a roi(rectangle) on the vtkImageViewer2?

Hi all.

I have a question about the vtkImageViewer2.

I would like to draw an ROI box and move/drag it.

For example:
I made it using GDI++.

Does VTK provide this function on the vtkImageViewer2?

I have tested some sample codes but I couldn’t find a solution.

Could you please advise for me?

Thank you :slight_smile:

1 Like