Plane Fitting with vtk

Hello,

By “plane correction” do you mean this (undo lens distortions):


or this (undo perspective projection):

?

cheers,

Paulo