GrabCut-GraphCut icon indicating copy to clipboard operation
GrabCut-GraphCut copied to clipboard

错误使用 gmdistribution.fit (line 35) X must have more rows than columns.

Open Jacoobr opened this issue 5 years ago • 0 comments

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.

Jacoobr avatar Jul 30 '19 14:07 Jacoobr