From: louiba on
i have developped face recogniton by using PCA2D.in my program after using imread to read image, i applay a convertion into double type:
x=imread(path)
y=double(x);
i had to do this because most of matlab application are programmed in double type such as transposition of matrix;in fact;without this conversion i have error when i use A'*A for exemple.
the biometric template witch is the résult of PCA is a matrix with double type and i have to store it in a smart card java card, and this one does not accept this type.i have to send bytes to the card.is there an other why to program my PCA2D in order to have matrix with byte type??