Your opponents' cards are unknown just like the remaining cards in the deck. Therefore, they are treated the same when you're counting outs.
However, based on the board cards, the action in the hand, and your opponents' ranges, you can sometimes make a more accurate calculation of the odds of hitting certain outs.
There is an article in this month's internet magazine which discusses this issue in detail
card removal effects.