Lines Matching refs:exception
56 #include "MagickCore/exception.h"
57 #include "MagickCore/exception-private.h"
117 % const double sigma,ExceptionInfo *exception)
128 % o exception: return any errors or warnings in this structure.
132 const double sigma,ExceptionInfo *exception)
174 assert(exception != (ExceptionInfo *) NULL);
175 assert(exception->signature == MagickCoreSignature);
176 blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
181 if (SetImageStorageClass(blur_image,DirectClass,exception) == MagickFalse)
189 edge_image=EdgeImage(image,radius,exception);
195 (void) AutoLevelImage(edge_image,exception);
196 gaussian_image=BlurImage(edge_image,radius,sigma,exception);
202 (void) AutoLevelImage(edge_image,exception);
253 image_view=AcquireVirtualCacheView(image,exception);
254 edge_view=AcquireVirtualCacheView(edge_image,exception);
255 blur_view=AcquireAuthenticCacheView(blur_image,exception);
273 r=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1,exception);
275 exception);
303 (ssize_t) ((width-j)/2L),width-j,width-j,exception);
389 if (SyncCacheViewAuthenticPixels(blur_view,exception) == MagickFalse)
439 % const double sigma,ExceptionInfo *exception)
450 % o exception: return any errors or warnings in this structure.
454 const double sigma,ExceptionInfo *exception)
496 assert(exception != (ExceptionInfo *) NULL);
497 assert(exception->signature == MagickCoreSignature);
498 sharp_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
503 if (SetImageStorageClass(sharp_image,DirectClass,exception) == MagickFalse)
511 edge_image=EdgeImage(image,radius,exception);
517 (void) AutoLevelImage(edge_image,exception);
518 gaussian_image=BlurImage(edge_image,radius,sigma,exception);
524 (void) AutoLevelImage(edge_image,exception);
575 image_view=AcquireVirtualCacheView(image,exception);
576 edge_view=AcquireVirtualCacheView(edge_image,exception);
577 sharp_view=AcquireAuthenticCacheView(sharp_image,exception);
595 r=GetCacheViewVirtualPixels(edge_view,0,y,edge_image->columns,1,exception);
597 exception);
625 (ssize_t) ((width-j)/2L),width-j,width-j,exception);
711 if (SyncCacheViewAuthenticPixels(sharp_view,exception) == MagickFalse)
760 % const double sigma,ExceptionInfo *exception)
771 % o exception: return any errors or warnings in this structure.
775 const double sigma,ExceptionInfo *exception)
790 assert(exception != (ExceptionInfo *) NULL);
791 assert(exception->signature == MagickCoreSignature);
793 blur_image=AccelerateBlurImage(image,radius,sigma,exception);
799 kernel_info=AcquireKernelInfo(geometry,exception);
802 blur_image=ConvolveImage(image,kernel_info,exception);
824 % ExceptionInfo *exception)
832 % o exception: return any errors or warnings in this structure.
836 const KernelInfo *kernel_info,ExceptionInfo *exception)
842 convolve_image=AccelerateConvolveImage(image,kernel_info,exception);
848 exception);
873 % Image *DespeckleImage(const Image *image,ExceptionInfo *exception)
879 % o exception: return any errors or warnings in this structure.
979 MagickExport Image *DespeckleImage(const Image *image,ExceptionInfo *exception)
1018 assert(exception != (ExceptionInfo *) NULL);
1019 assert(exception
1021 despeckle_image=AccelerateDespeckleImage(image,exception);
1025 despeckle_image=CloneImage(image,0,0,MagickTrue,exception);
1028 status=SetImageStorageClass(despeckle_image,DirectClass,exception);
1056 image_view=AcquireVirtualCacheView(image,exception);
1057 despeckle_view=AcquireAuthenticCacheView(despeckle_image,exception);
1092 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
1124 1,exception);
1136 sync=SyncCacheViewAuthenticPixels(despeckle_view,exception);
1181 % ExceptionInfo *exception)
1189 % o exception: return any errors or warnings in this structure.
1193 ExceptionInfo *exception)
1211 assert(exception != (ExceptionInfo *) NULL);
1212 assert(exception->signature == MagickCoreSignature);
1214 kernel_info=AcquireKernelInfo((const char *) NULL,exception);
1234 edge_image=ConvolveImage(image,kernel_info,exception);
1260 % const double sigma,ExceptionInfo *exception)
1270 % o exception: return any errors or warnings in this structure.
1274 const double sigma,ExceptionInfo *exception)
1302 assert(exception != (ExceptionInfo *) NULL);
1303 assert(exception->signature == MagickCoreSignature);
1305 kernel_info=AcquireKernelInfo((const char *) NULL,exception);
1342 emboss_image=ConvolveImage(image,kernel_info,exception);
1345 (void) EqualizeImage(emboss_image,exception);
1369 % const double sigma,ExceptionInfo *exception)
1380 % o exception: return any errors or warnings in this structure.
1384 const double sigma,ExceptionInfo *exception)
1399 assert(exception != (ExceptionInfo *) NULL);
1400 assert(exception->signature == MagickCoreSignature);
1403 kernel_info=AcquireKernelInfo(geometry,exception);
1406 blur_image=ConvolveImage(image,kernel_info,exception);
1428 % const double sigma,ExceptionInfo *exception)
1438 % o exception: return any errors or warnings in this structure.
1451 const double sigma,ExceptionInfo *exception)
1482 assert(exception != (ExceptionInfo *) NULL);
1483 assert(exception->signature == MagickCoreSignature);
1485 gaussian_image=BlurImage(image,radius,sigma,exception);
1489 exception);
1495 if (SetImageStorageClass(kuwahara_image,DirectClass,exception) == MagickFalse)
1506 image_view=AcquireVirtualCacheView(gaussian_image,exception);
1507 kuwahara_view=AcquireAuthenticCacheView(kuwahara_image,exception);
1523 exception);
1588 quadrant.width,quadrant.height,exception);
1627 target.y+target.height/2.0,q,exception);
1630 if (SyncCacheViewAuthenticPixels(kuwahara_view,exception) == MagickFalse)
1673 % const double strength,ExceptionInfo *exception)
1684 % o exception: return any errors or warnings in this structure.
1688 const double strength,ExceptionInfo *exception)
1722 assert(exception != (ExceptionInfo *) NULL);
1723 assert(exception->signature == MagickCoreSignature);
1725 contrast_image=AccelerateLocalContrastImage(image,radius,strength,exception);
1729 contrast_image=CloneImage(image,0,0,MagickTrue,exception);
1732 if (SetImageStorageClass(contrast_image,DirectClass,exception) == MagickFalse)
1737 image_view=AcquireVirtualCacheView(image,exception);
1738 contrast_view=AcquireAuthenticCacheView(contrast_image,exception);
1804 exception);
1883 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
1885 exception);
1927 if (SyncCacheViewAuthenticPixels(contrast_view,exception) == MagickFalse)
1963 % const double sigma,const double angle,ExceptionInfo *exception)
1976 % o exception: return any errors or warnings in this structure.
2011 const double sigma,const double angle,ExceptionInfo *exception)
2051 assert(exception != (ExceptionInfo *) NULL);
2062 blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
2069 if (SetImageStorageClass(blur_image,DirectClass,exception) == MagickFalse)
2088 image_view=AcquireVirtualCacheView(image,exception);
2089 motion_view=AcquireVirtualCacheView(image,exception);
2090 blur_view=AcquireAuthenticCacheView(blur_image,exception);
2108 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
2110 exception);
2163 offset[j].y,1,1,exception);
2180 1,exception);
2197 if (SyncCacheViewAuthenticPixels(blur_view,exception) == MagickFalse)
2242 % ExceptionInfo *exception)
2250 % o exception: return any errors or warnings in this structure.
2254 ExceptionInfo *exception)
2330 thumbnail=ThumbnailImage(image,geometry.width,geometry.height,exception);
2335 (void) SetImageProperty(thumbnail,"label",DefaultTileLabel,exception);
2339 &thumbnail->alpha_color,exception);
2348 preview_image=RotateImage(thumbnail,degrees,exception);
2355 preview_image=ShearImage(thumbnail,degrees,degrees,exception);
2364 preview_image=RollImage(thumbnail,x,y,exception);
2371 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2376 (void) ModulateImage(preview_image,factor,exception);
2382 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2386 (void) ModulateImage(preview_image,factor,exception);
2392 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2396 (void) ModulateImage(preview_image,factor,exception);
2403 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2407 (void) GammaImage(preview_image,gamma,exception);
2413 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2416 (void) ContrastImage(preview_image,MagickTrue,exception);
2423 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2427 (void) ContrastImage(preview_image,MagickFalse,exception);
2434 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2440 (void) QuantizeImage(&quantize_info,preview_image,exception);
2447 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2452 (void) QuantizeImage(&quantize_info,preview_image,exception);
2461 preview_image=DespeckleImage(thumbnail,exception);
2467 preview_image=DespeckleImage(thumbnail,exception);
2477 (size_t) radius,exception);
2522 (size_t) i,exception);
2528 preview_image=SharpenImage(thumbnail,radius,sigma,exception);
2535 preview_image=BlurImage(thumbnail,radius,sigma,exception);
2542 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2546 QuantumRange+1.0))/100.0,exception);
2553 preview_image=EdgeImage(thumbnail,radius,exception);
2560 exception);
2567 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2571 100.0,exception);
2580 exception);
2587 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2594 (void) RaiseImage(preview_image,&geometry,MagickTrue,exception);
2602 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2607 threshold,exception);
2615 exception);
2624 exception);
2632 image->interpolate,exception);
2640 exception);
2648 exception);
2664 preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
2675 status=WriteImage(preview_info,preview_image,exception);
2683 quality_image=ReadImage(preview_info,exception);
2713 (void) SetImageProperty(preview_image,"label",label,exception);
2734 montage_image=MontageImages(images,montage_info,exception);
2773 % ExceptionInfo *exception)
2783 % o exception: return any errors or warnings in this structure.
2787 ExceptionInfo *exception)
2829 assert(exception != (ExceptionInfo *) NULL);
2830 assert(exception->signature == MagickCoreSignature);
2832 blur_image=AccelerateRotationalBlurImage(image,angle,exception);
2836 blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
2839 if (SetImageStorageClass(blur_image,DirectClass,exception) == MagickFalse)
2870 image_view=AcquireVirtualCacheView(image,exception);
2871 radial_view=AcquireVirtualCacheView(image,exception);
2872 blur_view=AcquireAuthenticCacheView(blur_image,exception);
2890 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
2892 exception);
2967 1,1,exception);
2988 1,1,exception);
3004 if (SyncCacheViewAuthenticPixels(blur_view,exception) == MagickFalse)
3048 % const double sigma,const double threshold,ExceptionInfo *exception)
3062 % o exception: return any errors or warnings in this structure.
3066 const double sigma,const double threshold,ExceptionInfo *exception)
3108 assert(exception != (ExceptionInfo *) NULL);
3109 assert(exception->signature == MagickCoreSignature);
3155 blur_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
3158 if (SetImageStorageClass(blur_image,DirectClass,exception) == MagickFalse)
3164 luminance_image=CloneImage(image,0,0,MagickTrue,exception);
3171 status=TransformImageColorspace(luminance_image,GRAYColorspace,exception);
3186 image_view=AcquireVirtualCacheView(image,exception);
3187 luminance_view=AcquireVirtualCacheView(luminance_image,exception);
3188 blur_view=AcquireAuthenticCacheView(blur_image,exception);
3214 ((width-1)/2L),image->columns+width,width,exception);
3216 (ssize_t) ((width-1)/2L),luminance_image->columns+width,width,exception);
3218 exception);
3338 sync=SyncCacheViewAuthenticPixels(blur_view,exception);
3385 % const double azimuth,const double elevation,ExceptionInfo *exception)
3395 % o exception: return any errors or warnings in this structure.
3399 const double azimuth,const double elevation,ExceptionInfo *exception)
3430 assert(exception != (ExceptionInfo *) NULL);
3431 assert(exception->signature == MagickCoreSignature);
3432 linear_image=CloneImage(image,0,0,MagickTrue,exception);
3433 shade_image=CloneImage(image,image->columns,image->rows,MagickTrue,exception);
3442 if (SetImageStorageClass(shade_image,DirectClass,exception) == MagickFalse)
3461 image_view=AcquireVirtualCacheView(linear_image,exception);
3462 shade_view=AcquireAuthenticCacheView(shade_image,exception);
3492 exception);
3494 exception);
3581 if (SyncCacheViewAuthenticPixels(shade_view,exception) == MagickFalse)
3629 % const double sigma,ExceptionInfo *exception)
3640 % o exception: return any errors or warnings in this structure.
3644 const double sigma,ExceptionInfo *exception)
3671 assert(exception != (ExceptionInfo *) NULL);
3672 assert(exception->signature == MagickCoreSignature);
3674 kernel_info=AcquireKernelInfo((const char *) NULL,exception);
3711 sharp_image=ConvolveImage(image,kernel_info,exception);
3735 % ExceptionInfo *exception)
3745 % o exception: return any errors or warnings in this structure.
3750 ExceptionInfo *exception)
3788 assert(exception != (ExceptionInfo *) NULL);
3789 assert(exception->signature == MagickCoreSignature);
3791 exception);
3794 if (SetImageStorageClass(spread_image,DirectClass,exception) == MagickFalse)
3806 image_view=AcquireVirtualCacheView(image,exception);
3807 spread_view=AcquireAuthenticCacheView(spread_image,exception);
3827 exception);
3842 exception);
3845 if (SyncCacheViewAuthenticPixels(spread_view,exception) == MagickFalse)
3889 % ExceptionInfo *exception)
3905 % o exception: return any errors or warnings in this structure.
3910 ExceptionInfo *exception)
3937 assert(exception != (ExceptionInfo *) NULL);
3940 exception);
3944 unsharp_image=BlurImage(image,radius,sigma,exception);
3953 image_view=AcquireVirtualCacheView(image,exception);
3954 unsharp_view=AcquireAuthenticCacheView(unsharp_image,exception);
3972 p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
3974 exception);
4019 if (SyncCacheViewAuthenticPixels(unsharp_view,exception) == MagickFalse)