Fig. (4) Learning and recognition operation in the S block of RMCNN.