Compass¶
-
MLModule¶ genre Kernelauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLKerneldefinition MLKernel.def see also ExtendedConvolution,Convolution,TextureFilter,Roberts,KernelExample,Sigmakeywords 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 Operationsfor 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 Handlingmodes.
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 |