In this paper, a new type of the ratio-memory cellular neural network (RMCNN) with spatial-dependent self-feedback A-template weights is proposed and designed to recognize and classify the black-white image patterns. In the proposed RMCNN, the combined four-quadrant multiplier and two-quadrant divider with separated magnitude and sign is used to implement the Hebbian learning function and the ratio memory. To enhance the capability of pattern learning and recognition from noisy input patterns, the Z-template and the spatial-dependent self-feedback weights in the template A are applied to the proposed new type of RMCNN. The pattern learning and recognition function of the 18×18 RMCNN is simulated by Matlab software. It has been verified that the advanced RMCNN has the advantages of more stored patterns for recognition, and better recovery rate as compared to the original RMCNN. Thus the proposed RMCNN has great potential in the applications of neural associate memory for image processing.