Picking a vtkImageActor does not work properly
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
This is done in vtkPicker::Pick by constructing a ray in data space and seeing whether it intersects the plane of the image within the bounding rectangle.
The algorithm for the point of intersection is wrong. Having obtained the parameter t (the relative position of the intersection along the ray), the subsequent calculation uses (t) in place of (1.0-t) and vice versa.
Also, the calculation of t uses p2World[i] where as far as I can tell it should have p2Mapper[i].
I have attached a patch for these issues.