How Can Rotate vtkimageData?


I Try To Rotate Image Data In First Try I rotate Image Actor In Image Viewer2 But in try to get position Of Pixel with cell picker failed position so Wrong And Value Of Pixel its wrong.

I try to rotate image data with example
But dimensions of image data its different in my try I change spacing origin and exent to try change dimension but in show image data its wrong and a lot of margin I try to change exent to remove margin and show full image data but for different image margin its change.

1 Like

Hi Mr.shanazary
you can search about this on internet :))