I have a question about vertical flip with the vtkImageData.
I would like to display the image buffer received from the camera on the vtkImageViewer2.
By referring to some example code, I made a sample code and it works well when it loads an image from the file.
But when I load the image from the camera buffer it flips the image vertically.
Bubbles.bmp (257.1 KB)
And I referred to the sample code and I got an error.
Is there any way to flip an image vertically with the vtkImageData?