Skip to content

Commit 2436897

Browse files
EscapedGibbonstropitek
authored andcommitted
docs: fix misuse of word "kernel"
close: #101
1 parent 4471353 commit 2436897

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/Features/Morphology/Dilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _Enlarges the size of foreground objects by iteratively expanding their boundari
99
[🖼️ Image options and parameters of `dilate` method](https://image-js.github.io/image-js-typescript/classes/Image.html#dilate 'github.io link')
1010
[🎭 Mask options and parameters of `dilate` method](https://image-js.github.io/image-js-typescript/classes/Mask.html#dilate 'github.io link')
1111

12-
[Dilation](<https://en.wikipedia.org/wiki/Dilation_(morphology)> 'wikipedia link on dilation') is a fundamental morphological operation in image processing that is used to expand the size of foreground objects ([regions of interest](../../Glossary.md#roiregion-of-interest 'internal link on region of interest')) within an image while preserving their shape and structure. It involves moving a structuring element (also known as a [kernel](../../Glossary.md#kernel 'internal link on kernel')) over the image and replacing each pixel with the **maximum** value of the pixels covered by the structuring element. Dilation is commonly used for tasks like noise reduction, object enlargement, and feature enhancement.
12+
[Dilation](<https://en.wikipedia.org/wiki/Dilation_(morphology)> 'wikipedia link on dilation') is a fundamental morphological operation in image processing that is used to expand the size of foreground objects ([regions of interest](../../Glossary.md#roiregion-of-interest 'internal link on region of interest')) within an image while preserving their shape and structure. It involves moving a [structuring element](../../Glossary.md#structuring-element 'internal link on structuring element') over the image and replacing each pixel with the **maximum** value of the pixels covered by the structuring element. Dilation is commonly used for tasks like noise reduction, object enlargement, and feature enhancement.
1313

1414
<DilateDemo />
1515

docs/Features/Morphology/Erosion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _Reduces the size of foreground objects by iteratively shrinking their boundarie
99
[🖼️ Image options and parameters of `erode` method](https://image-js.github.io/image-js-typescript/classes/Image.html#erode 'github.io link')
1010
[🎭 Mask options and parameters of `erode` method](https://image-js.github.io/image-js-typescript/classes/Mask.html#erode 'github.io link')
1111

12-
[Erosion](https://en.wikipedia.org/wiki/Erosion 'wikipedia link on erosion') is a fundamental morphological operation in image processing that is used to reduce the size of foreground objects ([regions of interest](../../Glossary.md#roiregion-of-interest 'internal link on region of interest')) within an image while preserving their shape and structure. It works by moving a structuring element (also known as a [kernel](../../Glossary.md#kernel 'internal link on kernel')) over the image and replacing each pixel with the **minimum** value of the pixels covered by the structuring element. Erosion is particularly useful for tasks like noise reduction, edge detection, and object separation.
12+
[Erosion](https://en.wikipedia.org/wiki/Erosion 'wikipedia link on erosion') is a fundamental morphological operation in image processing that is used to reduce the size of foreground objects ([regions of interest](../../Glossary.md#roiregion-of-interest 'internal link on region of interest')) within an image while preserving their shape and structure. It works by moving a [structuring element](../../Glossary.md#structuring-element 'internal link on structuring element') over the image and replacing each pixel with the **minimum** value of the pixels covered by the structuring element. Erosion is particularly useful for tasks like noise reduction, edge detection, and object separation.
1313

1414
<ErodeDemo />
1515

docs/Glossary.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,7 @@ A Region of Interest (ROI) refers to a specific area within a space or image tha
8383
### Roi map
8484

8585
A ROI (Region of Interest) map, also known as segmentation map, is a binary image that highlights regions of interest within a larger image. It is a concept in image processing and computer vision for isolation and identification of certain objects, features, or regions for further analysis, manipulation, or processing.
86+
87+
### Structuring element
88+
89+
A structuring element is a shape or pattern used in morphological image processing operations such as dilation, erosion, opening, and closing. Unlike a kernel, a structuring element is not a matrix of numerical coefficients but rather a binary or grayscale pattern used for reshaping or modifying the overall structure of objects in an image.

0 commit comments

Comments
 (0)