Compass¶
-
MLModule
¶ genre Kernel
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLKernel
definition MLKernel.def see also ExtendedConvolution
,LoG
,Convolution
,TextureFilter
,Roberts
,KernelExample
,Sigma
keywords Kirsch
,Prewitt
,filter
,Robinson
,edge
,detection
Purpose¶
The module Compass
applies four different compass filters to an input image performing edge detection.
Usually all directions will be calculated and only the maximum of all results will be written to the output image.
Alternatively, only one of eight directions can be chosen only.
Parameter Fields¶
Field Index¶
Border Handling : Enum |
Direction (direction) : Enum |
Direction (directionInt) : Integer |
Fill Value : Double |
referenceExtentMode : Enum |
Use : Enum |
Visible Fields¶
Border Handling¶
-
name:
borderHandling
, type:
Enum
, default:
PadSrcClamp
, deprecated name:
edgeMode
¶ Defines the border handling mode.
See
Border Handling in Kernel Operations
for details.
Values:
Title | Name |
---|---|
No Pad | NoPad |
Pad Src Fill | PadSrcFill |
Pad Dst Fill | PadDstFill |
Pad Dst Fill With Orig | PadDstFillWithOrig |
Pad Src Undefined | PadSrcUndefined |
Pad Dst Undefined | PadDstUndefined |
Pad Src Clamp | PadSrcClamp |
Fill Value¶
-
name:
fillValue
, type:
Double
, default:
0
¶ Sets the fill value for certain
Border Handling
modes.
Use¶
-
name:
compassFilterSelect
, type:
Enum
, default:
Prewitt
¶ Defines the used compass filter.
Values:
Title | Name |
---|---|
Prewitt | Prewitt |
Kirsch | Kirsch |
Robinson 3 Level | Robinson_3_Level |
Robinson 5 Level | Robinson_5_Level |