an optimized architecture is proposed for real-time automatic cloud detection system with Spectrum and Texture Analysis Combination (STAC) approach. The STAC approach is hard to be implemented in hardware, for the calculation of fractal dimension (FD) and angle second moments (ASM) of the approach consumes large computation time and hardware resources. By optimizing the calculation process of the FD and ASM, the proposed architecture efficiently improves the processing speed and dramatically reduces the logic resources and memories consumption compared to the automatic cloud detection architecture in standard STAC approach, with a 3 times running speed improvement and a more than 75% reduction of the hard resource consumption.