Lines Matching full:kernel
98 …ogy/Convolution Kernel. This allows users to specify a kernel from a number of pre-defined kernel…
100 <p>The kernel so generated can be any rectangular array of floating point values (doubles) with the…
102 … exact center as origin, this is no longer the case, and any rectangular kernel with any value bei…
104 …kernel can also include a special value known as 'nan' or 'not a number' to indicate that this val…
106 <p>The returned kernel should be freed using the DestroyKernelInfo() when you are finished with it.…
108 <p>Input kernel defintion strings can consist of any of three types.</p>
112 <p>"WxH[+X+Y][@><]:num, num, num ..." a kernel of size W by H, with W*H floating point number…
114 …old style' odd sized square kernel. At least 9 values should be provided for a 3x3 square kernel,…
118 <p>" kernel ; kernel ; kernel ; "</p>
120 <p>Any extra ';' characters, at start, end or between kernel defintions are simply ignored.</p>
122 …kernel, into a list of rotated kernels. A '@' flag will expand a 3x3 kernel into a list of 45-degr…
124 …kernel specification has a ':' character in its specification string. If neither is the case, it i…
140 <dd>the Morphology/Convolution kernel wanted. </dd>
165 <dd>the pre-defined type of kernel wanted </dd>
169 <dd>arguments defining or modifying the kernel </dd>
173 <dd> Unity The a No-Op or Scaling single element kernel. </dd>
175 …rate a two-dimensional gaussian kernel, as used by -gaussian. The sigma for the curve is required.…
179 …tional, but if provided can limit (clip) the final size of the resulting kernel to a square 2*radi…
181 … "Laplacian of a Gaussian" or "Mexician Hat" Kernel. The supposed ideal edge detection, zero-summi…
183 <dd> An alturnative to this kernel is to use a "DoG" with a sigma ratio of approx 1.6 (according to…
185 …Kernel. As "Gaussian" but with a gaussian produced by 'sigma2' subtracted from the gaussian produc…
187 …to orthogonal angles). If a 'radius' is given the kernel is clipped to a width of 2*radius+1. Ke…
191 …ls perpendicular to each other, is equivalent to a far larger "Gaussian" kernel with the same sigm…
193 …omet like trail. The Kernel is actually half a gaussian curve, Adding two such blurs in opposite …
195 <dd> Note that the first argument is the width of the kernel and not the radius of the kernel. </dd>
197 <dd> Binomial:[{radius}] Generate a discrete kernel using a 2 dimentional Pascel's Triangle of valu…
199 <dd> # Still to be implemented... # # Filter2D # Filter1D # Set kernel values using a resize fil…
209 <dd> Sobel:{angle} Sobel 'Edge' convolution kernel (3x3) | -1, 0, 1 | | -2, 0,-2 | | -1, 0, 1 | </d…
211 <dd> Roberts:{angle} Roberts convolution kernel (3x3) | 0, 0, 0 | | -1, 1, 0 | | 0, 0, 0 | </dd>
213 <dd> Prewitt:{angle} Prewitt Edge convolution kernel (3x3) | -1, 0, 1 | | -1, 0, 1 | | -1, 0, 1 | <…
215 <dd> Compass:{angle} Prewitt's "Compass" convolution kernel (3x3) | -1, 1, 1 | | -1,-2, 1 | | -1, 1…
217 <dd> Kirsch:{angle} Kirsch's "Compass" convolution kernel (3x3) | -3,-3, 5 | | -3, 0, 5 | | -3,-3, …
219 …a kernel that is similar to the Sobel Kernel, but is designed to be isotropic. That is it takes in…
229 <dd> Type 1: Orthogonal Kernel (same as type 11 below) | 1, 0, -1 | | sqrt(2), 0, -sqrt…
231 <dd> Type 2: Diagonal form of Kernel... | 1, sqrt(2), 0 | | sqrt(2), 0, -sqrt(2)…
233 <dd> However this kernel is als at the heart of the FreiChen Edge Detection Process which uses a se…
257 <dd> Using a special type of '-1' will return all 9 pre-weighted kernels as a multi-kernel list, so…
259 …e taken to be an actual rotation angle for the default FreiChen (type 0) kernel. As such FreiChe…
265 …nd shaped kernel with given radius to the points. Kernel size will again be radius*2+1 square and …
267 <dd> Square:[{radius}[,{scale}]] Generate a square shaped kernel of size radius*2+1, and defaulting…
269 …al shaped kernel of given radius and constant scale. Default radius is 3 producing a 7x7 kernel. A…
271 …holded at the radius given, the radius may be a float-point value. Final Kernel size is floor(radi…
273 …" "Disk:6.4" => "Octagon:6" All other Disk shapes are unique to this kernel, but because a "Di…
281 <dd> These kernel is not a good general morphological kernel, but is used more for highlighting and…
285 <dd> Plus:[{radius}[,{scale}]] Cross:[{radius}[,{scale}]] Generate a kernel in the shape of a 'plus…
287 <dd> NOTE: "plus:1" is equivalent to a "Diamond" kernel. </dd>
289 …to a ring of approximataly 3 radius in a 7x7 kernel. This is the 'edge' pixels of the default "Dis…
293 …kernel to thin the 'outside' of diagonals LineEnds:type Find end points of lines (for pruning a sk…
305 …es those of the "Octagon" shaped kernel of the same radius. The minimum radius and default is 2, …
307 …kernel size only has a radius of 1, which limits the distance to 'Knight' like moves, with only or…
309 …is pre-processed to include any anti-aliasing pixels. Of course a larger kernel is slower to use, …
313 <dd> The "Euclidean" Distance Kernel however does generate a non-integer fractional results, and as…
319 …eates a new clone of the given Kernel List so that its can be modified without effecting the origi…
324 KernelInfo *CloneKernelInfo(const KernelInfo *kernel)
334 <dt>kernel</dt>
335 <dd>the Morphology/Convolution kernel to be cloned </dd>
341 <p>DestroyKernelInfo() frees the memory used by a Convolution/Morphology kernel.</p>
346 KernelInfo *DestroyKernelInfo(KernelInfo *kernel)
356 <dt>kernel</dt>
357 <dd>the Morphology/Convolution kernel to be destroyed </dd>
375 const ssize_t iterations,const KernelInfo *kernel,
403 <dt>kernel</dt>
404 <dd>An array of double representing the morphology kernel. </dd>
408 …lti-kernel results. If 'UndefinedCompositeOp' use default for the Morphology method. If 'NoComposi…
429 <p>MorphologyImage() applies a user supplied kernel to the image according to the given mophology m…
433 …* Kernel Scale/normalize settings ("-define convolve:scale=??") This can also includes …
441 const ssize_t iterations,KernelInfo *kernel,ExceptionInfo *exception)
463 <dt>kernel</dt>
464 <dd>An array of double representing the morphology kernel. Warning: kernel may be normalized for th…
474 … "-set option:convolve:scale {geometry}" user setting, and modifies the kernel according to the p…
476 …rmalize the kernel. The second argument is then passed to UnityAddKernelInfo() to add a scled uni…
481 void ScaleGeometryKernelInfo(KernelInfo *kernel,
492 <dt>kernel</dt>
493 <dd>the Morphology/Convolution kernel to modify </dd>
505 …aleKernelInfo() scales the given kernel list by the given amount, with or without normalization of…
507 <p>By default (no flags given) the values within the kernel is scaled directly using given scaling …
509 <p>If either of the two 'normalize_flags' are given the kernel will first be normalized and then fu…
511 <p>Kernel normalization ('normalize_flags' given) is designed to ensure that any use of the kernel …
513 <p>More specifically. Kernels which only contain positive values (such as a 'Gaussian' kernel) wil…
515 …gative values, (such as 'Sharpen' kernels) the kernel will be scaled by the absolute of the sum of…
517 <p>For kernels whose values sum to zero, (such as 'Laplician' kernels) kernel will be scaled by jus…
519 … separately to those of the negative values, so the kernel will be forced to become a zero-sum ker…
521 <p>WARNING: Correct normalization of the kernel assumes that the '*_range' attributes within the ke…
528 void ScaleKernelInfo(KernelInfo *kernel, const double scaling_factor,
539 <dt>kernel</dt>
540 <dd>the Morphology/Convolution kernel </dd>
545 zero. If the kernel is normalized regardless of any flags.
559 <p>ShowKernelInfo() outputs the details of the given kernel defination to standard error, generally…
564 void ShowKernelInfo(const KernelInfo *kernel)
574 <dt>kernel</dt>
575 <dd>the Morphology/Convolution kernel </dd>
581 …on Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the o…
588 void UnityAdditionKernelInfo(KernelInfo *kernel, const double scale )
598 <dt>kernel</dt>
599 <dd>the Morphology/Convolution kernel </dd>
604 the given kernel.
611 …cial 'nan' value that may be present in the kernel with a zero value. This is typically done when…
616 void ZeroKernelNans (KernelInfo *kernel)
626 <dt>kernel</dt>
627 <dd>the Morphology/Convolution kernel </dd>