This repo contains the official code of our work SAM-SLR which won the CVPR 2021 Challenge on Large Scale Signer Independent Isolated Sign Language Recognition.
Creative Commons Zero v1.0 Universal
205
stars
51
forks
source link
ERROR "Undefined function 'ordfilt2' for input arguments of type 'double'." when trying to run Depth2HHA.m #4
Greetings. Congratulations on your work. I was trying to run Depth2HHA.m. I ran into the following error, I'm pasting the error traceback.
---Traceback Starts---- video = 1 frame = 1 video_name = dataset/test/signer14_sample100_depth.mp4 Unrecognized function or variable 'ordfilt2'.
Error in computeNormalsSquareSupport>filterItChopOff (line 107) minSP = ordfilt2(sp, 1, B, 'symmetric');
Error in computeNormalsSquareSupport (line 52) AtA = filterItChopOff(cat(3, AtARaw, AtbRaw), R, superpixels);
Error in processDepthImage (line 19) [N1 b1] = computeNormalsSquareSupport(z./100, missingMask, normalParam.patchSize(1),...
Error in saveHHA (line 14) [pc, N, yDir, h, pcRot, NRot] = processDepthImage(D*100, missingMask, C);
Error in CVPR21Chal_convert_HHA (line 30) hha = saveHHA(['frame', mat2str(frame_loop)], matrix, save_folder, frame_gray, frame_gray); ----Traceback Ends----
Any insights will be appreciated. Thanks.