This document presents a computationally efficient method for cloud detection using a penalty 3D model based on Markov random fields (MRF) to separate clouds from clear skies. The method includes cloud tracking through region matching and demonstrates improved performance via experimental results, indicating the advantage of the penalty function approach over traditional methods. Future developments envision enhancing the model with detailed penalty maps and integrating multispectral data for further accuracy.