Derivative‐Based Photometric Invariance