How do you determine whether a lesion is flat or raised?

Palpation is the most reliable method, but side-lighting also helps. It can be difficult to distinguish a macule from a papule or a patch from a plaque in a photograph.