#define Minimize(assign,value) assign=MagickMin(assign,value)
#define Maximize(assign,value) assign=MagickMax(assign,value)
-/* Currently these are internal to this module
- * Eventually these may become 'private' to library
- * OR may become externally available to API's
- */
-static MagickExport void
+/* Currently these are only internal to this module */
+static void
RotateKernel(KernelInfo *, double),
ScaleKernel(KernelInfo *, double),
- ShowKernel(KernelInfo *),
- ZeroKernelNans(KernelInfo *);
+ ShowKernel(KernelInfo *);
\f
/*
% %
% %
% %
-% R o t a t e K e r n e l %
++ R o t a t e K e r n e l %
% %
% %
% %
%
% o angle: angle to rotate in degrees
%
+% This function is only internel to this module, as it is not finalized,
+% especially with regard to non-orthogonal angles, and rotation of larger
+% 2D kernels.
*/
-static void RotateKernel(KernelInfo *kernel, double angle)
+MagickExport void RotateKernel(KernelInfo *kernel, double angle)
{
/* WARNING: Currently assumes the kernel (rightly) is horizontally symetrical
**
%
% o scale: multiple all values by this, if zero normalize instead.
%
+% This function is internal to this module only at this time, but can be
+% exported to other modules if needed.
*/
-static void ScaleKernel(KernelInfo *kernel, double scale)
+MagickExport void ScaleKernel(KernelInfo *kernel, double scale)
{
register unsigned long
i;
%
% o kernel: the Morphology/Convolution kernel
%
-% FUTURE: return the information in a string for API usage.
+% This function is internal to this module only at this time. That may change
+% in the future.
*/
static void ShowKernel(KernelInfo *kernel)
{
%
% FUTURE: return the information in a string for API usage.
*/
-static void ZeroKernelNans(KernelInfo *kernel)
+MagickExport void ZeroKernelNans(KernelInfo *kernel)
{
register unsigned long
i;