Extend Pixels to replace some values
Posted: 2011-12-31T03:40:34-07:00
Hello,
I would like to extend a value of a pixel to the border of the image, which have to replace all 0,0,0 pixels. I would like to test different directions (from left/right, or top/bottom). To illustrate :
It's the original image : http://imageshack.us/photo/my-images/44 ... r4rgb.png/
Pixels extended to left/right : http://imageshack.us/photo/my-images/44 ... 4xrgb.png/
Pixels extended to top/bottom : http://imageshack.us/photo/my-images/32 ... 4yrgb.png/
I'm under Windows. Big thanks in advance.
Cheers.
I would like to extend a value of a pixel to the border of the image, which have to replace all 0,0,0 pixels. I would like to test different directions (from left/right, or top/bottom). To illustrate :
It's the original image : http://imageshack.us/photo/my-images/44 ... r4rgb.png/
Pixels extended to left/right : http://imageshack.us/photo/my-images/44 ... 4xrgb.png/
Pixels extended to top/bottom : http://imageshack.us/photo/my-images/32 ... 4yrgb.png/
I'm under Windows. Big thanks in advance.
Cheers.