Is it possible to define a kernel within a kernel?
Posted: 2012-06-06T02:34:11-07:00
Hi,
I am using the following command to make four black pixels white.
mogrify -morphology thicken '6x6+2+2:\
1,1,1,1,1,1,
1,1,1,1,1,1,
1,1,0,0,1,1,
1,1,0,0,1,1,
1,1,1,1,1,1,
1,1,1,1,1,1' page20.png
If I am right, the command will only work on the origin pixel which is the first zero on the third row, reading from left to right. Can I make the command operate on all four pixels in one go?
I have tried using the 'statistic' command but it is not producing the affect I am seeking.
Any help would be much appreciated.
Regards
John
I am using the following command to make four black pixels white.
mogrify -morphology thicken '6x6+2+2:\
1,1,1,1,1,1,
1,1,1,1,1,1,
1,1,0,0,1,1,
1,1,0,0,1,1,
1,1,1,1,1,1,
1,1,1,1,1,1' page20.png
If I am right, the command will only work on the origin pixel which is the first zero on the third row, reading from left to right. Can I make the command operate on all four pixels in one go?
I have tried using the 'statistic' command but it is not producing the affect I am seeking.
Any help would be much appreciated.
Regards
John