You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% Paper : Ng, C. J., and Teoh, A. B. J. "DCTNet: A Simple Learning-Free Approach for Face Recognition." In 2015 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA), 761-68, 2015.
function OutHists = DCTNet_Blockwise_Histogram(InHashedImgs, Params)
OutHists = {};
blkSize = Params.HistBlockSize;
for i = 1:length(InHashedImgs)
hashedImg = InHashedImgs{i};
% Crop HashedImg to center, in case HashedImg size is not divisible by BlockSize