Thanks for the suggestions.
Unfortunately, all of those throw out the baby with the bathwater. The most promising seemed to be the expand/contract selection one, but even expanding by one and then contracting by 10 still does too much damage...I'd have to spend more time using the history brush than it would take me to just paint out the black areas by hand.
It seems to me it ought to be easy to WRITE a filter to do what I want. It would only take 12 steps...
1. Is current pixel black? If so, go to step 11
2. is pixel west of current pixel white? if so, go to step 11
3. is pixel east of current pixel white? if so, go to step 11
4. is pixel northwest of current pixel white? if so, go to step 11
4. is pixel north of current pixel white? if so, go to step 11
6. is pixel northeast of current pixel white? if so, go to step 11
7. is pixel southwest of current pixel white? if so, go to step 11
8. is pixel south of current pixel white? if so, go to step 11
9. is pixel southeast of current pixel white? if so, go to step 11
10. set current pixel to black
11. move to next pixel
12. go to step 1
or...
Code:
for pixels() {
if (currpixel != 0) {
if (neighbor(W) != 1 {
if (neighbor(E) != 1 {
if (neighbor(NW) != 1 {
if (neighbor(N) != 1 {
if (neighbor(NE) != 1 {
if (neighbor(SW) != 1 {
if (neighbor(S) != 1 {
if (neighbor(SE) != 1 {
setCurrPixel(0)
}
}
}
}
}
}
}
currpixel++;
}
That's all I want...
Anyone know how to write filters?
