@@ -82,7 +82,7 @@
- Image Types and Color Space Conversions >>
+ imwatershed >>
|
diff --git a/help/en_US/scilab_en_US_help/imwatershed.html b/help/en_US/scilab_en_US_help/imwatershed.html
new file mode 100644
index 0000000..2bcf2e2
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/imwatershed.html
@@ -0,0 +1,95 @@
+
+
+
imwatershed
+
+
+
+
+
+
+
+
IPCV >> Image Transforms > imwatershed
+
+
+
imwatershed
+
Performs a marker-based image segmentation using the watershed algorithm.
+
+
+
Syntax
+
imout = imwatershed(imin)
+
+
Parameters
+
- imin :
+
Input 8-bit 3-channel image.
+ - markers :
+
Double precision single-channel image (map) of markers. It should have the same size as image.
+ - imout :
+
Output labelled image
+
+
Description
+
The function implements one of the variants of watershed, non-parametric marker-based segmentation algorithm.
+
+
+
Examples
+
S = imread(fullpath(getIPCVpath() + "/images/three_objects.png"));
+Sgray = rgb2gray(S);
+Sb = im2bw(Sgray,0.1);
+Sd = imdistransf(Sb);
+dist = Sd > 0.4;
+[markers,n] = imlabel(dist);
+markers(1:5,1:5) = 255;
+Sw = imwatershed(S, markers);
+imshow(Sw,hsvcolormap(3)); | | | |
+
+
+
+
+
+
Bibliography
+
1. OpenCV 4.1.2 Online Documentation
+
+
+
+
+
diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html
index 9ec274e..cd35942 100644
--- a/help/en_US/scilab_en_US_help/index.html
+++ b/help/en_US/scilab_en_US_help/index.html
@@ -490,6 +490,12 @@
IPCV
+
imdistransf — Distance Transform
+
+
+
+
+
imhough — Image Hough transformation
@@ -514,7 +520,13 @@
IPCV
-
imradon — Calculates the 2D-Radon transform of the matrix
+
imradon — Calculates the 2D-Radon transform of the matrix
+
+
+
+
+
+
imwatershed — Performs a marker-based image segmentation using the watershed algorithm.
Image Types and Color Space Conversions
- hsv2rgb — Convert a HSV image to the equivalent RGB image.
diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm
index 0a7ab4e..8cb82aa 100644
--- a/help/en_US/scilab_en_US_help/jhelpmap.jhm
+++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm
@@ -101,11 +101,13 @@
+
+
diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml
index f63e609..090ac7b 100644
--- a/help/en_US/scilab_en_US_help/jhelptoc.xml
+++ b/help/en_US/scilab_en_US_help/jhelptoc.xml
@@ -114,11 +114,13 @@
+
+
diff --git a/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html b/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html
index 8291d84..c2a84bf 100644
--- a/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html
+++ b/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html
@@ -39,6 +39,12 @@ Image Transforms
+- imdistransf — Distance Transform
+
+
+
+
+
- imhough — Image Hough transformation
@@ -63,7 +69,13 @@ Image Transforms
-- imradon — Calculates the 2D-Radon transform of the matrix
+imradon — Calculates the 2D-Radon transform of the matrix
+
+
+
+
+
+
imwatershed — Performs a marker-based image segmentation using the watershed algorithm.
diff --git a/images/cards.png b/images/cards.png
new file mode 100644
index 0000000000000000000000000000000000000000..1e61d874f6b874e6d87420e0d203e6a21b0a97d4
GIT binary patch
literal 77914
zcmcG#byU@17cPiMOC3Ux?(UY95{W}2prn9G9J=cuC>_!b(xo6EDV-wSCEeW}=e~U3
z-1%eHnpt;d)?FTP`CEryz3<-p+0XOr5Oq}r94s;{BqSsp#aD8gNJz+jNJx(sG0?yf
z!Qp?a;GaiMnhG*Vr2`aO;6G^ZlojNV5D$O8H5SBzBbfHD^qr89o)A9#eT0;fMhXt1
zJ1auv(H9;OV6)*-A*axTL(iP$^_*qxU@!|?XCzri3sYwca~d~G=Z`cBicodkPq-vV
zNHj=_a?;xFGrQ>?&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