Skip to content
Permalink
Browse files

#296

  • Loading branch information...
Cristy
Cristy committed Oct 31, 2016
1 parent 5108653 commit 3cbfb163cff9e5b8cdeace8312e9bfee810ed02b
Showing with 2 additions and 2 deletions.
  1. +1 −1 MagickCore/fx.c
  2. +1 −1 PerlMagick/demo/demo.pl
@@ -5866,7 +5866,7 @@ MagickExport Image *WaveletDenoiseImage(const Image *image,
ThrowImageException(ResourceLimitError,"MemoryAllocationFailed");
pixels_info=AcquireVirtualMemory(3*image->columns,image->rows*
sizeof(*pixels));
kernel=(float *) AcquireQuantumMemory(MagickMax(image->rows,image->columns),
kernel=(float *) AcquireQuantumMemory(MagickMax(image->rows,image->columns)+1,
GetOpenMPMaximumThreads()*sizeof(*kernel));
if ((pixels_info == (MemoryInfo *) NULL) || (kernel == (float *) NULL))
{
@@ -483,7 +483,7 @@

print "WaveletDenoise...\n";
$example=$model->Clone();
$example->Label('WaveletDenoise');
$example->Label('Wavelet Denoise');
$example->WaveletDenoise('5%');
push(@$images,$example);

0 comments on commit 3cbfb16

Please sign in to comment.
You can’t perform that action at this time.