Skip to content

Commit

Permalink
docs: fix misuse of word "kernel"
Browse files Browse the repository at this point in the history
close: #101
  • Loading branch information
EscapedGibbon authored and stropitek committed Feb 20, 2024
1 parent 4471353 commit 2436897
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Features/Morphology/Dilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _Enlarges the size of foreground objects by iteratively expanding their boundari
[🖼️ Image options and parameters of `dilate` method](https://image-js.github.io/image-js-typescript/classes/Image.html#dilate 'github.io link')
[🎭 Mask options and parameters of `dilate` method](https://image-js.github.io/image-js-typescript/classes/Mask.html#dilate 'github.io link')

[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.
[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.

<DilateDemo />

Expand Down
2 changes: 1 addition & 1 deletion docs/Features/Morphology/Erosion.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _Reduces the size of foreground objects by iteratively shrinking their boundarie
[🖼️ Image options and parameters of `erode` method](https://image-js.github.io/image-js-typescript/classes/Image.html#erode 'github.io link')
[🎭 Mask options and parameters of `erode` method](https://image-js.github.io/image-js-typescript/classes/Mask.html#erode 'github.io link')

[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.
[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.

<ErodeDemo />

Expand Down
4 changes: 4 additions & 0 deletions docs/Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ A Region of Interest (ROI) refers to a specific area within a space or image tha
### Roi map

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.

### Structuring element

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 comments on commit 2436897

Please sign in to comment.