I think it's not mandatory to use CLON-ALG for pixel comparison. You can simply apply any MATLAB/OpenCV methods for it. If it's necessary for your extended work, following papers may be helpful.
White, Jennifer A., and Simon M. Garrett. "Improved pattern recognition with artificial clonal selection?." Artificial Immune Systems. Springer Berlin Heidelberg, 2003. 181-193.
Brownlee, Jason. "Clonal selection theory & CLONALG-The Clonal selection classification algorithm (CSCA)." Swinburne University of Technology (2005).
Ulutas, Berna Haktanirlar, and Sadan Kulturel-Konak. "A review of clonal selection algorithm and its applications." Artificial Intelligence Review 36.2 (2011): 117-138.
Thank you very much. Yes Sir, you are absolutely right. Are you having any idea regarding use of clonalg selection algorithm for classification purpose? I have gone through some papers and trying to implement but stuck at the point of calculation of mutation rate.Hope you can help.