changeset 29815:e637c2342433

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 24 Jun 2021 20:47:08 +0200
parents 05264d2b1c2d (current diff) ba49cea1597f (diff)
children f54cfd60725e
files scripts/image/rgb2ind.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/rgb2ind.m	Thu Jun 24 19:17:48 2021 +0200
+++ b/scripts/image/rgb2ind.m	Thu Jun 24 20:47:08 2021 +0200
@@ -132,7 +132,7 @@
 %!test
 %! ## this should have more than 65535 unique colors
 %! rgb = nchoosek (0:80, 3) / 80;
-%! nr = rows (rgb)
+%! nr = rows (rgb);
 %! assert (nr > 65535);
 %! rgb = reshape (rgb, [1, nr, 3]);
 %! [ind, map] = rgb2ind (rgb);
@@ -141,7 +141,7 @@
 %!
 %! ## and this should have between 256 and 65535 unique colors
 %! rgb = nchoosek (0:40, 3) / 80;
-%! nr = rows (rgb)
+%! nr = rows (rgb);
 %! assert (nr >= 256 && nr <= 65535);
 %! rgb = reshape (rgb, [1, nr, 3]);
 %! [ind, map] = rgb2ind (rgb);
@@ -150,7 +150,7 @@
 %!
 %! ## and this one should have fewer than than 256 unique colors
 %! rgb = nchoosek (0:10, 3) / 80;
-%! nr = rows (rgb)
+%! nr = rows (rgb);
 %! assert (nr < 256);
 %! rgb = reshape (rgb, [1, nr, 3]);
 %! [ind, map] = rgb2ind (rgb);