Light up Edges of a distorted Picture like gimp
Hello,
I photograph an paper from a distance of 280mm with a 5Mpix b/w cam and a 4,2mm Lens. The Undistortion after the Calibration works great but the edges of the picture must be lighten up, because they are too dark.
After the image correction is done a ocr software shoud read the Text. In Gimp i have an option to light up the edges but i cant use gimp because it is too slow.
Can I use the cameraMatrix and distCoeffs to do this?
Thank for your Help