if (kernel_info == (KernelInfo *) NULL)
break;
/* kernel_info->bias=(*image)->bias; -- FUTURE: check this path! */
+ ScaleKernelInfo(kernel_info,1.0,NormalizeValue); /* normalize */
mogrify_image=ConvolveImage(*image,kernel_info,exception);
kernel_info=DestroyKernelInfo(kernel_info);
break;
if (kernel_info == (KernelInfo *) NULL)
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
/* kernel_info->bias=_image->bias; -- FUTURE: check this path! */
+ ScaleKernelInfo(kernel_info,1.0,NormalizeValue); /* normalize */
new_image=ConvolveImage(_image,kernel_info,_exception);
kernel_info=DestroyKernelInfo(kernel_info);
break;