GrabCut-GraphCut
GrabCut-GraphCut copied to clipboard
错误使用 gmdistribution.fit (line 35) X must have more rows than columns.
Hi , @taigw . I use grabCut algorithem to segmentation the object after i run 'user_interface.m' and draw a BBox around the object , when i hit the 'go' button to get the segmentation mask. But i get the error like bellow:
出错 fitgmdist (line 135)
gm = gmdistribution.fit(X,k,varargin{:});
出错 GMMGrabCutAlgorithm/update_step (line 46)
obj.FgGMM = fitgmdist(FData,obj.k, 'RegularizationValue',0.1);
whould you tell me how can i fix this problem. Appreciative for your reply.