t43
Newbie level 4
compute_coherence(d)
Hi,
I'm using "hong_enhancement_7_31_2005", which implements Hong et al.'s enhancement scheme based on Gabor Filtering by sharat.
However, each time i call the hong_enhancement function, there displays many warnings.
Can anybody kindly help me to solve the problem?
Thanks & Regards,
Tony
Hi,
I'm using "hong_enhancement_7_31_2005", which implements Hong et al.'s enhancement scheme based on Gabor Filtering by sharat.
However, each time i call the hong_enhancement function, there displays many warnings.
>> hong_enhancement (img);
Warning: Divide by zero.
> In otsu_threshold at 30
In segment_print at 28
In hong_enhancement at 27
Error in ==> inline.feval at 8
INLINE_OBJ_ = varargin{1};
Error in ==> blkproc at 100
firstBlock = feval(fun,x,params{:});
Error in ==> hong_enhancement>blk_orientation_image at 93
gblk = blkproc(g.^2,[N N],inline('sum(sum(x))'));
Error in ==> hong_enhancement at 38
oimg = blk_orientation_image(img,N);
Can anybody kindly help me to solve the problem?
Thanks & Regards,
Tony