I have to automatically remove a barcode in a T-Shirt image, like the attached file:
barcode http://img546.imageshack.us/img546/2888/codel.jpg
I know I can do it manually in photoshop using the function "patch tool" that replaces the cropped area by image in the surrounded area but I need to either implement a code for that or get an SDK in Delphi to support this process automatically by passing to the function the (X,Y) points of the edges of the barcode.
Does anyone have any ideas?
As you already have the barcode position, you could generate a mask automagically and perform a Navier-Stokes Image Restoration.
Example in Mathematica:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With