A system that incorporates teachings of the present disclosure may include, for example, a method for applying a force to at least one of an inner stream, an outer stream or both of a combined stream to produce a plurality of capsules, receiving image data, processing the image data, detecting undesirable capsules from the processed image data, applying a bias charge only to the detected undesirable capsules, and segregating the biased undesirable capsules from the unbiased desirable capsules. Additional embodiments are disclosed.