Image-Processing Based Methods to Improve the Robustness of Robotic Gripping