KirschEdgeDetector Class |
Namespace: Accord.Imaging.Filters
The KirschEdgeDetector type exposes the following members.
Name | Description | |
---|---|---|
KirschEdgeDetector |
Initializes a new instance of the KirschEdgeDetector class.
|
Name | Description | |
---|---|---|
FormatTranslations |
Format translations dictionary.
(Overrides BaseFilterFormatTranslations.) |
Name | Description | |
---|---|---|
Apply(Bitmap) |
Apply filter to an image.
(Inherited from BaseFilter.) | |
Apply(BitmapData) |
Apply filter to an image.
(Inherited from BaseFilter.) | |
Apply(UnmanagedImage) |
Apply filter to an image in unmanaged memory.
(Inherited from BaseFilter.) | |
Apply(UnmanagedImage, UnmanagedImage) |
Apply filter to an image in unmanaged memory.
(Inherited from BaseFilter.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessFilter |
Process the filter on the specified image.
(Overrides BaseFilterProcessFilter(UnmanagedImage, UnmanagedImage).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
East |
Gets the East direction Kirsch kernel mask.
| |
North |
Gets the North direction Kirsch kernel mask.
| |
Northeast |
Gets the Northeast direction Kirsch kernel mask.
| |
Northwest |
Gets the Northwest direction Kirsch kernel mask.
| |
South |
Gets the South direction Kirsch kernel mask.
| |
Southeast |
Gets the Southeast direction Kirsch kernel mask.
| |
Southwest |
Gets the Southwest direction Kirsch kernel mask.
| |
West |
Gets the West direction Kirsch kernel mask.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |
The Kirsch operator or Kirsch compass kernel is a non-linear edge detector that finds the maximum edge strength in a few predetermined directions. It is named after the computer scientist Russell A. Kirsch.
References:
Bitmap image = ... // Lena's picture // Create a new Kirsch's edge detector: var kirsch = new KirschEdgeDetector(); // Compute the image edges Bitmap edges = kirsch.Apply(image); // Show on screen ImageBox.Show(edges);
The resulting image is shown below: