Shadow detection methods