Purpose

The module KernelMask defines a region of the input image and creates a normalized kernel which contains the grey values of the specified sub image.

Use the generated Kernel as String with the module Convolution.

Windows

Default Panel

../../../Modules/ML/MLFilter2/mhelp/Images/Screenshots/KernelMask._default.png

Input Fields

input0

name: input0, type: Image

Original scalar input image.

Output Fields

output0

name: output0, type: Image

t

Parameter Fields

Field Index

Apply: Trigger Status: String
Auto: Bool Sub Image Box: String
Box Corner 1: IntVector6  
Box Corner 2: IntVector6  
Kernel as String: String  
Max Kernel Volume (Voxel): Integer  
Normalize and Apply: Trigger  
Real Kernel Volume (Voxel): Integer  

Visible Fields

Kernel as String

name: kernelAsString, type: String, persistent: no, deprecated name: KernelasString

Shows the specified kernel as a string.

See Kernel for more information.

Status

name: info, type: String, persistent: no

Shows information about the module.

Sub Image Box

name: kernel, type: String, default: 0 0 0 0 0 0 0 0 0 0 0 0, deprecated name: Kernel

Sets a sub image region.

Box Corner 1

name: boxV1, type: IntVector6, default: 0 0 0 0 0 0, deprecated name: Boxv1

Sets the upper, left hand, rear corner of the sub image box.

Box Corner 2

name: boxV2, type: IntVector6, default: 0 0 0 0 0 0, deprecated name: Boxv2

Sets the lower, right hand, front corner of the sub image box.

Max Kernel Volume (Voxel)

name: maxVolume, type: Integer, default: 10000, deprecated name: MAXVolume

Sets a limit to the maximum number of voxels allowed in the kernel.

Real Kernel Volume (Voxel)

name: volumeInfo, type: Integer, persistent: no

Shows the actual number of voxels in the current kernel.

Normalize and Apply

name: normalize, type: Trigger

If pressed, the kernel region is read out of the input image and the kernel values are being normalized.

Apply

name: apply, type: Trigger

If pressed, the kernel region is read out of the input image.

Auto

name: autoApply, type: Bool, default: FALSE

If checked, the module computes anew on a change of any field.