Lazy-random-walks-for-superpixel-segmentation
Lazy-random-walks-for-superpixel-segmentation copied to clipboard
Get an error while running on MATLAB 2021a
Hi,
I have got following errors while running the algorithm. Is it possible to give me some information how to fix it. Thanks.
>> demo_LRWSuperpixel
Error using bitshift ASSUMEDTYPE must be an integer type name.
Error in getmapping (line 37) j = bitset(bitshift(i,1,samples),1,bitget(i,samples)); %rotate left
Error in energy_opt (line 28) [~, LBP] = lbp(rgb2gray(img),1,8,getmapping(8,'u2'),'h');
Error in demo_LRWSuperpixel (line 33) [label_img, center_points, ~]=energy_opt(img,seeds,alpha,beta,Thres, Nsp, nItrs_max);`