making all pixels the same color within a 3X3 square kernel
Posted: 2012-05-28T07:17:13-07:00
Hi,
I have defined a square kernel as 3X3:1,1,1,1,0,1,1,1,1.
As I understand it, this is a grid of three pixels by three pixels. The center is black. All the surrounding pixels are white. How do I make this middle pixel white?
I have also defined a row of pixels thus, 1x5:0,0,1,0,0. As I understand it this is a row of five pixels, and the middle pixel is white. I wish to make all five pixels black.
Any help would be much appreciated.
Regards
John
I have defined a square kernel as 3X3:1,1,1,1,0,1,1,1,1.
As I understand it, this is a grid of three pixels by three pixels. The center is black. All the surrounding pixels are white. How do I make this middle pixel white?
I have also defined a row of pixels thus, 1x5:0,0,1,0,0. As I understand it this is a row of five pixels, and the middle pixel is white. I wish to make all five pixels black.
Any help would be much appreciated.
Regards
John