"liu" wrote> How can I select all the 1-pixel objects i a B/W image? Basically I’m
trying to delete these scanning artifacts for text document.
On your Photoshop install CD, there should be a folder named "Goodies" or similar. Within there, there will be a plug-in called "Filter Factory". With that, you can set the value of all "lonely" pixels to white/whatever you need (by checking the values of all adjacent pixels).
Caveats:
1) You might need to set the image to RGB mode to run a filter.
2) I don’t know how it will behave at the edges.
Hopefully that gives you a pointer to your desired result.
Andrew