Hey thank you for this code and I appreciate taking your time to read this. I came across your paper about PalmNet in (IEEE) and it sounded very intriguing. So I was just looking through your code and I had a doubt in it. Please correct me if my understanding of this is wrong.
%get information of corresponding wavelet
currX = sortRes(ind, 4);
currY = sortRes(ind, 5);
currO = sortRes(ind, 6);
%check if current wavelet at current position already
%used
if (tmpRes(currO).value(currY, currX) == 1)
%increment counter
ind = ind + 1;
continue
end %if (tmpRes(currY, currX, currO)
Then, for each filter in Ga, we count the number of corresponding responses in sm, considering each filter at most once for each position (x, y) in the ROI.
But, doesn't sortRes contain a unique combination of O, X and Y? What I'm trying to say is in tmpRes, there'd be no value equal to 1 when that condition is being checked and that combination of O, X and Y would have never appeared before.
Please let me know if my understanding is wrong. Thank you for the code and once again I appreciate your time.