diff --git a/ChangeLog.txt b/ChangeLog.txt index 94e8006..65ed2da 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -60,6 +60,10 @@ Update OPENCV to 4.1, subsequence versioning will follow the OPENCV versionn num 6. Remove unsupported functions by CV4 7. RaspberryPi Ready. :) -Version 4.1-dev (17-Juy-19): +Version 4.1-2 (15-Nov-19): 1. Change dnn_readmodel 4th options from torch to ONNX -Affected files : dnn_readmodel.sci, int_dnn_init.cpp \ No newline at end of file +Affected files : dnn_readmodel.sci, int_dnn_init.cpp +2. Update to OpenCV 4.1.2 engine +3. Changes of extern C to prepare for the sciTorch integration + + diff --git a/DESCRIPTION b/DESCRIPTION index ba4cdb5..545db8f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,4 +27,4 @@ Depends: Date: 2019-11-15 12:00:007 -Description: IPCV is inspired by sivp (but totally independant), with more than 150 functions for image and computer vision. +Description: IPCV is inspired by sivp (but totally independant), with more than 200 functions for image and computer vision. diff --git a/builder.sce b/builder.sce index 0e189b8..5cc0fd7 100644 --- a/builder.sce +++ b/builder.sce @@ -39,7 +39,8 @@ function main_builder(); // exec(toolbox_dir+"/src/getCUDA_VERSION.sci"); // exec(toolbox_dir+"/src/getNVCC_PATH.sci"); // getNVCC_PATH(toolbox_dir); - tbx_builder_src(toolbox_dir); +// tbx_builder_src(toolbox_dir); + /////////// tbx_builder_gateway(toolbox_dir); tbx_builder_help(toolbox_dir); diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml deleted file mode 100644 index eea1b46..0000000 --- a/help/en_US/master_help.xml +++ /dev/null @@ -1,414 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - IPCV - - - -Analytic Geometry -&a66225a6d7201545af692bbfb88c7aee9; - - -Camera Handling -&a48fd0b6f51e96b99a917db51f1a77104; -&a241f458906f733717805c56f7425e3d4; -&ab2b70f2a1408057ee306aaff2484ee06; -&a2dd0edb3d437829181b41d14e03d0b4a; -&a85fcf71e48be32d6ef5237dd369b91c2; - - -Deep Learning -&adf600c57e51a4d42e05fae74df6eb6a5; -&acbca3d1971106c16d368a2b8760e502c; -&a4f857377c2017ff481aa444bdcd701e9; -&a1ef4ee8677b7a79d17bfdd7cf7bc685d; -&a1739cf5d514af806189e5336626a9d39; -&acfdf925b6b89eef24f635961fac576d8; -&a9e59d3c5bc0931d989196c2e4bc2d5dc; -&ae73cd41bb1f92d28d20ff32dad8a0d1d; -&a912122d4b10695b04bcd3abac6c3c65b; -&a7b1402dcf1da7f726b8992f1d4d67ae6; - - -Feature Detection, Description and Matching -&a366d4b8d00e2ac543f149743311063a5; -&aa8831933a61e12cad8af32bfed19408e; -&a5b16052857ff87a8d9480f1071ca2311; -&a9a3aa9c041f5a8d96774e3e80812b686; -&a10218a2108faa53201dde8b98db24d68; -&ab173fb936f1891aee4bd870ce87e5141; -&ae495ba6be2f2fd0d0e035f0c9edd7f43; -&ad2bdf6a631b4ea724c7349b9632e63a7; -&a010e8d5fc66623b93478a2f5e86a89b3; -&a0d999a95477378f0909296edfdae2024; -&a23f4b948a2628ea4742d6414ef6983e8; -&a08b76e8251c77612db7229bc53a9c7ee; -&ada19605b1e5ed4afa53d19d7c0cc9a5f; -&afb893ec030e8eb7b0fce843306f26492; -&a120b8784893e4db3f1d9f891eb7f9d08; -&ab5f1c86cfe7df0fc62bd93407563fe6e; - - -Filter Design and Visualization -&ae41614eadfe1d819988b16fdfa39a672; -&a23cc5bbf43f5f703219b2f94caa47083; -&a4565cbd34b9d5105206f1bbd6666b641; -&a992d636624f458a6aa77fb7f57867189; -&a89508b56680c7866b0ff39da1c135f05; - - -Image Analysis and Statistics -&abb67d51e7f4b046f0ca2ed57a61faa67; -&a0f53c33a676eb35172cd978e87873d6a; -&a3e715465566cbff2f980530a712042cd; -&a3171b163cb4a4fa4ff5e8474f212d102; -&a65308ee4438051470109aef0236c40e2; -&a98c274406ded37f95e598c5b5befad01; -&ac48566aa27bceffcf9e539bcdc274714; -&a6ae58b40b18287c90d2ec4dcca255a6f; - - -Image Arithmetic -&aaad6933214781db133ab5094fe5a7b37; -&abf043c38946a07b97caa49172dd8e131; -&a08acd7368684c9ca3fa91c68a7da4966; -&a26512ea2268bcffd0e07cf235d7e0948; -&ae606e1288a3beb4dcdf2ac503f400783; -&a99c950619d92cfdb00937fd0a78bc082; -&aae32acc5741ccafce00504ea88658228; - - -Image Block Processing -&a0e4083f5a8c67acfb79a1657b85e7bcf; -&aa528c5d34dadda9187401c192c98aecd; -&a50311c3890095e825b3765f0de49d2bb; -&a59053a037626ee33c094691407765d9a; - - -Image Enhancement and Restoration -&a4c2402edc379a82c12fd571795c25681; -&a2a79bd50b73ed71fcff44c1c69226237; -&aca7c541d3aab58abacc80ea476d67dfa; -&a7e5e1157951c6546ae8f1ddf35e0b078; -&a748ad886385824d0851ff23070ceaaac; -&a302c4b4bd06c840dfaa183b6a32e4511; -&a73b3de920a3259af714880a73c99392b; -&a14b37c4df60d24c7ce3cb0d02e31b04a; -&a80c3ea43704a749bc645e0d13cf61ebd; -&a0ba7f080127173e34ea20bf7f2a55167; - - -Image Linear Filtering -&a49801ba3a1881a0603e24ca605b4b97f; -&a0750c672bc500c10e4b352412389e246; -&a1de1ee4bef12b069bceaaf92dc0a254b; - - -Image Reading, Display and Exploration -&ae74be54ae42455728afcc0b750c09f3d; -&a22f8399a431f76630793ca791651b28f; -&a12ae89cce6eeb0f6a35408adba4fac88; -&af82e71317ea572d3a99bc4983c1ddfc1; -&aeb8f8efb444cdcab5b110abfae053b65; -&ad8d70b355cdc0e87fa6ee0ccba1239e9; -&a98dd116d25a0e548a3f496049f006a57; -&a428fa1ad7cda91a1a2f3553f1739f49e; - - -Image Registration and Image Fusion -&aaaad472e4e083b17aa17026438dac283; -&a1ef355b2e9a08f514cada625e64b4e98; -&ab8d8871aaeea2e8810695878028fd9a7; -&ae634b10e92d6a9d5bda3e17899cab585; - - -Image Stitching -&ad17eebea691fe67e337f6e6c89f3a40f; -&ae143361e3a2edcaff812697cce4561af; - - -Image Transforms -&a1f3678db74fba557f215e69b6f78f6e9; -&a715db1ab0311497d12e471e3a9ffae8d; -&a48d119fd0cf9d814f7eb960395a342e0; -&a118d977349a9e8cbf5738b05c35d8209; -&ab2e8cb4c0dc7ad23db053e132ff03268; -&aa2594858836bc035ac65378596fad436; - - -Image Types and Color Space Conversions -&a8db963dd6f05c6cf5a97ac17eb52c1d2; -&ac8d5644d0febddde46edbe5d524b6e52; -&a6761b13a4c72ff5c8a205f860ea5bd7e; -&a6414541affe800e8f436d2c08f367fd6; -&a0734cde73629d4fe96247009ee561c57; -&ae0d24e6d95b367ef8c4d9032c666dc32; -&a5a50b48b743708a9a23c2e4d47ad62e9; -&ae4c4ed6fb02d16d55627de71164e3bc7; -&a8a4fa1e388c626fc0c5b2996d2abe5ae; -&a8d78d2e21fb00e3c667b3b28a5ba41e0; -&a648ca32c6fa4f3b056241d38a53e3293; -&ad8f50051a6fc41bef22825851ccefb66; -&a4fbb1cca4f7bc3be3c0c1ac0c976a285; -&a1f027d7aa89a3c88ee148b8a8aeb8418; -&a476bde26ce2d6e4450b906289f5cc706; -&af9df6593c2887d15cbe15c40dddbe88d; -&aaabc52d60bca11540791074905e953a7; -&a1899a23a0401215948feb72e6aa4b3e0; -&a1e881dcc1fca9c764f9d4d69b0d2de19; -&a1741b198a2a9b5f129a7b1a3a81bd139; -&abc8f13f1c99e246a02910210c139e3c0; -&ad732d11181aa218d58c7f6839a76751c; - - -Morphological Operations -&a74a48cd7021b6aa82bf2e8ad1333b16f; -&a79bff4dbb0dede9b98c47e9340ced03d; -&a2133922bf3fab67ba4e2b48761ea86b4; -&a7d17c0981678d8e1393bf49be814616c; -&ac5b75c1de1baf0ac87979dc1a8a6cdce; -&ada013754e5c65166c415b8c47d6ae3f5; -&af61a7e0766fc544ad1178a720fb1eeda; -&a2f52356a3ffba51039fe82e48b4b75a1; -&a57e9a9e5b8c49479a9f45dc5d52b2a75; -&a060efd70c2d6c97bce2eaedf4f21f19d; -&a10eb3b113f6c79a174ec6fe5eb6e1184; -&a61d3ee1dcc9effd78e276e7aa0cb81cc; -&abd857585709c3d66e0bf3aada8a48804; - - -Object Detection -&a1c2dadcd22cb04634daf55d98219fbbf; - - -Object Tracking -&af19b09731a206e8e76fe5079ab4a326b; -&aba9f854c85b322d390c98723a3036428; -&aee63276d861968262a555c5899f9592c; - - -ROI Processing -&a36ec8ad1c521d6b531ea9d1157c1ff71; -&a77c28026e3c45df16c507847b74f33d2; - - -Spatial Transformations -&af4efc120eaec10db9073c921a0202c07; -&a1087ebfadfe148b0c532b19fd01ce46d; -&adacc87ed8e73e168eb7e48b66d63e2a1; -&a5bce02a5a77869948ce15ab47c0a92af; -&ad1e35c11b33e75c6d615a8212ebd3b7e; - - -Structural Analysis and Shape Descriptors -&a13d0b0edf479abe15541436a3b765689; -&a26d3035bda04e91e07aefd87a7d89d00; -&ad085561dd35ae44ca320057629c38d0e; - - -Super Resolution -&a4d4e92cf48331fdc40210c5ba0960982; -&a865bc9143ed1fcd1f8a92e25f7014eb9; - - -Utilities and Interactive Tools -&a33c2e5452a21cfda8b052db6789e0126; -&afdedf0532deba4a56c044d87162fedcb; -&a41815836f76eee703f3295df75aec43c; -&a61ec8250a4ce765412231b28d56c41d6; -&a9f96b3e730d54808d33734ac117550f6; -&a6a00e87e202f7454d63654512e05b836; -&a6b7329012a9abba07f7e886e9c5778de; -&afc3fdc68f385eaa84928d9105ac490d5; -&aaec7569c03d3e6be3b1e8bf2674750a2; -&ad2b0b50c8be8643dd30e38e6d988366f; -&a715e802f8312f7cb17540f62e8dcc4af; -&afd1a864c2348f31434697dc8c73042a1; -&a4e969bf24d391fa94bcbd4c8638d781a; - - -Video Handling -&ac6a3066affc983a254aa14f396c93530; -&af77cc0612aa7c299aded3b97bf40dcb5; -&adfce3395e89cf1ddb492d679056094bd; -&a399e5b11d0b5379fc0550726e5d3fcf0; -&aa9a5e70b68fd9dd727013eefc3d5b36e; -&a72babceddae85bab1c226a30b5514020; -&afc6248eb5982db073aaec5848fb8ff96; -&a0bfd62471401549c38eadfc6c2067ce1; -&ad47eff611dd36221c9a054125baf2c96; - - diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index a75bd5c..aa72a8a 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index c59ba51..fb3f799 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 5b3e0b5..a128892 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index 3f51a3e..d7ce45d 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index fd40b51..26deb88 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=2179 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=2203 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index bbfba3b..66e7479 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/addframe.html b/help/en_US/scilab_en_US_help/addframe.html deleted file mode 100644 index f441956..0000000 --- a/help/en_US/scilab_en_US_help/addframe.html +++ /dev/null @@ -1,97 +0,0 @@ - - - addframe - - - -
- - - - -
- << Video Handling - - - Video Handling - - - aviaddframe >> - -
-
-
- - - - IPCV >> Video Handling > addframe - -

-

addframe

-

Add a frame to the video file. (Depreciated. Replaced by aviaddframe.)

- - -

Syntax

-
n = addframe(n, im)
- -

Parameters

-
n : -

The opened video file index, the return value of avifile .

-
im : -

The input image which must be UINT8 RGB image. If the image size is not the same with the argument dims of function avifile , the image will be resized to dims .

- -

Description

-

addframe add a frame to video file n.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-n = avifile('baboon.avi', [300;300], 30,'xvid');
-for ii=1:200
-ims = im(ii:512-ii, ii:512-ii, :);
-addframe(n, ims);
-end
-
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Video Handling - - - Video Handling - - - aviaddframe >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/aviaddframe.html b/help/en_US/scilab_en_US_help/aviaddframe.html deleted file mode 100644 index a815379..0000000 --- a/help/en_US/scilab_en_US_help/aviaddframe.html +++ /dev/null @@ -1,97 +0,0 @@ - - - aviaddframe - - - -
- - - - -
- << addframe - - - Video Handling - - - aviclose >> - -
-
-
- - - - IPCV >> Video Handling > aviaddframe - -

-

aviaddframe

-

Add a frame to the video file.

- - -

Syntax

-
n = aviaddframe(n, im)
- -

Parameters

-
n : -

The opened video file index, the return value of avifile .

-
im : -

The input image which must be UINT8 RGB image. If the image size is not the same with the argument dims of function avifile , the image will be resized to dims .

- -

Description

-

addframe add a frame to video file n.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-n = avifile('baboon.avi', [300;300], 30,'xvid');
-for ii=1:200
-ims = im(ii:512-ii, ii:512-ii, :);
-aviaddframe(n, ims);
-end
-
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << addframe - - - Video Handling - - - aviclose >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/aviclose.html b/help/en_US/scilab_en_US_help/aviclose.html deleted file mode 100644 index be5b02f..0000000 --- a/help/en_US/scilab_en_US_help/aviclose.html +++ /dev/null @@ -1,91 +0,0 @@ - - - aviclose - - - -
- - - - -
- << aviaddframe - - - Video Handling - - - avicloseall >> - -
-
-
- - - - IPCV >> Video Handling > aviclose - -

-

aviclose

-

Close a video file.

- - -

Syntax

-
aviclose(n)
- -

Parameters

-
n : -

The opened file/camera index.

- -

Description

-

aviclose close an opened video file or camera.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = aviopen(fullpath(getIPCVpath() + "/images/video.avi"));
-im = avireadframe(n); //get a frame
-imshow(im);
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << aviaddframe - - - Video Handling - - - avicloseall >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/avicloseall.html b/help/en_US/scilab_en_US_help/avicloseall.html deleted file mode 100644 index 739c347..0000000 --- a/help/en_US/scilab_en_US_help/avicloseall.html +++ /dev/null @@ -1,87 +0,0 @@ - - - avicloseall - - - -
- - - - -
- << aviclose - - - Video Handling - - - avifile >> - -
-
-
- - - - IPCV >> Video Handling > avicloseall - -

-

avicloseall

-

Close all opened video files/cameras.

- - -

Syntax

-
avicloseall()
- -

Description

-

avicloseall close all opened video files or cameras.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = aviopen(fullpath(getIPCVpath() + "/images/video.avi"));
-im = avireadframe(n); //get a frame
-imshow(im);
-avicloseall;
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << aviclose - - - Video Handling - - - avifile >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/avifile.html b/help/en_US/scilab_en_US_help/avifile.html deleted file mode 100644 index 0443d83..0000000 --- a/help/en_US/scilab_en_US_help/avifile.html +++ /dev/null @@ -1,114 +0,0 @@ - - - avifile - - - -
- - - - -
- << avicloseall - - - Video Handling - - - aviinfo >> - -
-
-
- - - - IPCV >> Video Handling > avifile - -

-

avifile

-

Create a new video file to write.

- - -

Syntax

-
n = avifile(filename, dims)
-n = avifile(filename, dims, fps)
-n = avifile(filename, dims, fps, fourcc)
- -

Parameters

-
filename : -

A string, the video filename to be created.

-
dims : -

A 1x2 vector, which indicates the frame size (width, height).

-
fps : -

Frame per second.

-
fourcc : -

4-character code of codec used to compress the frames.

-
For e.g.: -

'xvid', 'mjpg', 'pim1', 'mp42', 'divx','flv1', etc.

-
Under windows: -

-
n : -

A number, the opened video file index.

- -

Description

-

-

In order to use certain codec, the codec must be installed.

-

For e.g., xvid required xvid codec (http://www.xvid.org) while the mpg required ffdshow codec. (http://www.free-codecs.com/ffdshow_download.htm) -avifile create a new video file.

-

After the video file is created, addframe can be used to add frame to the file. Remember to close the opened file using aviclose(n) or avicloseall().

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-n = avifile('baboon.avi', [300;300], 30,'xvid');
-
-for ii=1:200
-ims = im(ii:512-ii, ii:512-ii, :);
-aviaddframe(n, ims);
-end
-
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << avicloseall - - - Video Handling - - - aviinfo >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/aviinfo.html b/help/en_US/scilab_en_US_help/aviinfo.html deleted file mode 100644 index 45fbd0b..0000000 --- a/help/en_US/scilab_en_US_help/aviinfo.html +++ /dev/null @@ -1,95 +0,0 @@ - - - aviinfo - - - -
- - - - -
- << avifile - - - Video Handling - - - avilistopened >> - -
-
-
- - - - IPCV >> Video Handling > aviinfo - -

-

aviinfo

-

Retrieve video file information

- - -

Syntax

-
[frames,width,height,fps]=aviinfo(filename)
- -

Parameters

-
filename : -

Video filename.

-
frames : -

Total number of frames in the video.

-
width : -

Width of the frame.

-
height : -

Height of the frame.

-
fps : -

Frame per second for the video.

- -

Description

-

addframe add a frame to video file n.

-

Retrieve video file information. This function return 4 important information for a video file to be used in other functions.

-

- -

Examples

-
[frames,width,height,fps]=aviinfo(fullpath(getIPCVpath() + "/images/video.avi"));
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << avifile - - - Video Handling - - - avilistopened >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/avilistopened.html b/help/en_US/scilab_en_US_help/avilistopened.html deleted file mode 100644 index 583cfef..0000000 --- a/help/en_US/scilab_en_US_help/avilistopened.html +++ /dev/null @@ -1,92 +0,0 @@ - - - avilistopened - - - -
- - - - -
- << aviinfo - - - Video Handling - - - aviopen >> - -
-
-
- - - - IPCV >> Video Handling > avilistopened - -

-

avilistopened

-

Show all opened video files.

- - -

Syntax

-
I=avilistopened()
- -

Parameters

-
I : -

A vector, the opened video file/camera indices.

- -

Description

-

avilistopenedlist all opened files and cameras.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = aviopen(fullpath(getIPCVpath() + "/images/video.avi"));
-im = avireadframe(n); //get a frame
-imshow(im);
-avilistopened()
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << aviinfo - - - Video Handling - - - aviopen >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/aviopen.html b/help/en_US/scilab_en_US_help/aviopen.html deleted file mode 100644 index 2810c6e..0000000 --- a/help/en_US/scilab_en_US_help/aviopen.html +++ /dev/null @@ -1,95 +0,0 @@ - - - aviopen - - - -
- - - - -
- << avilistopened - - - Video Handling - - - avireadframe >> - -
-
-
- - - - IPCV >> Video Handling > aviopen - -

-

aviopen

-

Open a video file.

- - -

Syntax

-
n = aviopen(filename)
- -

Parameters

-
filename : -

A string, the video filename to be read.

-
n : -

A number, the opened video file index.

- -

Description

-

aviopen open a video file, but it does not read frames from the file.

-

Please use im=avireadframe(n) to get a frame from the n'th opened video file.

-

Remember to close the opened file using aviclose(n) or avicloseall().

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = aviopen(fullpath(getIPCVpath() + "/images/video.avi"));
-im = avireadframe(n); //get a frame
-imshow(im);
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << avilistopened - - - Video Handling - - - avireadframe >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/avireadframe.html b/help/en_US/scilab_en_US_help/avireadframe.html deleted file mode 100644 index 6fb4dee..0000000 --- a/help/en_US/scilab_en_US_help/avireadframe.html +++ /dev/null @@ -1,95 +0,0 @@ - - - avireadframe - - - -
- - - - -
- << aviopen - - - Video Handling - - - -
-
-
- - - - IPCV >> Video Handling > avireadframe - -

-

avireadframe

-

Grabs and returns a frame from a opened video file or camera.

- - -

Syntax

-
im = avireadframe(n, fnum)
- -

Parameters

-
n : -

The opened video file/camera index.

-
fnum : -

Frame number, specify which frame to be retrived

-
im : -

The returned frame/image. If no frame, return 0.

- -

Description

-

avireadframe grabs and returns a frame from an opened video file or camera. We could specified which frame to be retrived at the second input argument.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = aviopen(fullpath(getIPCVpath() + "/images/video.avi"));
-im = avireadframe(n,100); //get a frame
-imshow(im);
-
-avilistopened()
-aviclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << aviopen - - - Video Handling - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/bwborder.html b/help/en_US/scilab_en_US_help/bwborder.html deleted file mode 100644 index afcc6d6..0000000 --- a/help/en_US/scilab_en_US_help/bwborder.html +++ /dev/null @@ -1,90 +0,0 @@ - - - bwborder - - - -
- - - - -
- << Morphological Operations - - - Morphological Operations - - - imblackhat >> - -
-
-
- - - - IPCV >> Morphological Operations > bwborder - -

-

bwborder

-

Find border for an image

- - -

Syntax

-
outm = bwborder(inm, conn)
- -

Parameters

-
inm : -

Source Image (must be in binary)

-
conn : -

4 or 8 neighbourhood

-
outm : -

Output image (in double)

- -

Description

-

Extracts contours from binary images, by detecting which pixel valued 1 has -at least one neighbor valued 0. conn is 4 or 8 dependig if the detection is to -be made in 4 or 8-neighborhood. The final border is 8-connected if -4-neighbors are used, and 4-connected if 8-neighbors are used.

-

- -

Examples

-
inm = imread(fullpath(getIPCVpath() + "/images/big_sq.png"));
-outm = bwborder(im2bw(inm,0.5), 4);
-imshow(outm);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Morphological Operations - - - Morphological Operations - - - imblackhat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/c_code.css b/help/en_US/scilab_en_US_help/c_code.css deleted file mode 100644 index 948d2ee..0000000 --- a/help/en_US/scilab_en_US_help/c_code.css +++ /dev/null @@ -1,54 +0,0 @@ -.ccomment { - font-style: italic; - color: #b22222 -} - -.cdefault { - font-style: normal; - color: #000000 -} - -.copenclose { - font-style: normal; - color: #000000 -} - -.coperator { - font-style: normal; - color: #000000 -} - -.cstring { - font-style: normal; - color: #a6557a -} - -.ctype { - font-style: normal; - color: #55a655 -} - -.cpreprocessor { - font-style: normal; - color: #9965a6 -} - -.cid { - font-style: normal; - color: #000000 -} - -.ckeyword { - font-style: normal; - color: #ad3ff2 -} - -.cmodifier { - font-style: normal; - color: #ad3ff2 -} - -.cnumber { - font-style: normal; - color: #008b8b -} diff --git a/help/en_US/scilab_en_US_help/camclose.html b/help/en_US/scilab_en_US_help/camclose.html deleted file mode 100644 index 4a4f175..0000000 --- a/help/en_US/scilab_en_US_help/camclose.html +++ /dev/null @@ -1,90 +0,0 @@ - - - camclose - - - -
- - - - -
- << Camera Handling - - - Camera Handling - - - camcloseall >> - -
-
-
- - - - IPCV >> Camera Handling > camclose - -

-

camclose

-

Close a camera

- - -

Syntax

-
camclose(n)
- -

Parameters

-
n : -

The opened camera index.

- -

Description

-

camclose close an opened camera.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = camopen(0);
-sleep(200);
-im = camread(n); //get a frame
-imshow(im);
-camclose(n);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Camera Handling - - - Camera Handling - - - camcloseall >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/camcloseall.html b/help/en_US/scilab_en_US_help/camcloseall.html deleted file mode 100644 index 2b30cfe..0000000 --- a/help/en_US/scilab_en_US_help/camcloseall.html +++ /dev/null @@ -1,86 +0,0 @@ - - - camcloseall - - - -
- - - - -
- << camclose - - - Camera Handling - - - camlistopened >> - -
-
-
- - - - IPCV >> Camera Handling > camcloseall - -

-

camcloseall

-

Close all opened cameras.

- - -

Syntax

-
camcloseall()
- -

Description

-

camcloseall close all opened cameras.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = camopen(0);
-sleep(200);
-im = camread(n); //get a frame
-imshow(im);
-camcloseall();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << camclose - - - Camera Handling - - - camlistopened >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/camlistopened.html b/help/en_US/scilab_en_US_help/camlistopened.html deleted file mode 100644 index 80fc7d7..0000000 --- a/help/en_US/scilab_en_US_help/camlistopened.html +++ /dev/null @@ -1,88 +0,0 @@ - - - camlistopened - - - -
- - - - -
- << camcloseall - - - Camera Handling - - - camopen >> - -
-
-
- - - - IPCV >> Camera Handling > camlistopened - -

-

camlistopened

-

Show all opened camera.

- - -

Syntax

-
I=camlistopened()
- -

Parameters

-
I : -

A vector, the opened video file/camera indices.

- -

Description

-

camlistopened list all opened files and cameras.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = camopen(0);
-camlistopened()
-camcloseall()
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << camcloseall - - - Camera Handling - - - camopen >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/camopen.html b/help/en_US/scilab_en_US_help/camopen.html deleted file mode 100644 index ee3496b..0000000 --- a/help/en_US/scilab_en_US_help/camopen.html +++ /dev/null @@ -1,95 +0,0 @@ - - - camopen - - - -
- - - - -
- << camlistopened - - - Camera Handling - - - camread >> - -
-
-
- - - - IPCV >> Camera Handling > camopen - -

-

camopen

-

Open a camera.

- - -

Syntax

-
n = camopen(i)
-n = camopen(i,[width, height])
- -

Parameters

-
i : -

The i'th camera.

-
[width, height] : -

Desired camera resolution.

-
n : -

A number, the opened video file/camera index.

- -

Description

-

camopen open a camera, but it does not read frames from the camera. Please use im=camread(n) to get a frame from the n'th opened video file. Remember to close the opened camera using camclose(n) or camcloseall() . -Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = camopen(0);
-sleep(200);
-im = camread(n); //get a frame
-imshow(im);
-camcloseall();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << camlistopened - - - Camera Handling - - - camread >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/camread.html b/help/en_US/scilab_en_US_help/camread.html deleted file mode 100644 index d64f794..0000000 --- a/help/en_US/scilab_en_US_help/camread.html +++ /dev/null @@ -1,91 +0,0 @@ - - - camread - - - -
- - - - -
- << camopen - - - Camera Handling - - - Deep Learning >> - -
-
-
- - - - IPCV >> Camera Handling > camread - -

-

camread

-

Grabs and returns a frame from a camera

- - -

Syntax

-
im = camread(n)
- -

Parameters

-
n : -

The opened video file/camera index.

-
im : -

The returned frame/image. If no frame, return 0.

- -

Description

-

camread grabs and returns a frame from a camera.

-

Video support for IPCV is only available when IPCV is compiled with OpenCV which support video I/O.

-

- -

Examples

-
n = camopen(0);
-sleep(200);
-im = camread(n); //get a frame
-imshow(im);
-camcloseall();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << camopen - - - Camera Handling - - - Deep Learning >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/corr2.html b/help/en_US/scilab_en_US_help/corr2.html deleted file mode 100644 index bcfc65a..0000000 --- a/help/en_US/scilab_en_US_help/corr2.html +++ /dev/null @@ -1,86 +0,0 @@ - - - corr2 - - - -
- - - - -
- << Image Analysis and Statistics - - - Image Analysis and Statistics - - - edge >> - -
-
-
- - - - IPCV >> Image Analysis and Statistics > corr2 - -

-

corr2

-

2D correlation coefficient

- - -

Syntax

-
c = corr2(imA, imB)
- -

Parameters

-
imA, imB : -

imA and imB are 2D matrices of the same size.

-
c : -

Correlation coefficient, a scalar of class double.

- -

Description

-

corr2 computes correlation coefficient of two 2D matrices imA and imB. -c = sum( (imA-mA).*(imB-mB) / sqrt(sum((imA-mA).^2) * sum((imB-mB).^2)) -mA=mean2(imA) and mB=mean2(imB)

-

- -

Examples

-
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Analysis and Statistics - - - Image Analysis and Statistics - - - edge >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_forward.html b/help/en_US/scilab_en_US_help/dnn_forward.html deleted file mode 100644 index e883426..0000000 --- a/help/en_US/scilab_en_US_help/dnn_forward.html +++ /dev/null @@ -1,110 +0,0 @@ - - - dnn_forward - - - -
- - - - -
- << Deep Learning - - - Deep Learning - - - dnn_getparam >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_forward - -

-

dnn_forward

-

Runs forward pass to compute output of layer with name layer_name

- - -

Syntax

-
out = dnn_forward(net,img,scalefactor,image_size,rgb_mean,swapRB,layer_name);
- -

Parameters

-
net : -

DNN object loaded in Scilab

-
img : -

Image in Scilab format

-
input_size : -

DNN input size

-
layer_name : -

Name for layer which output is needed to get

-
scalefactor : -

Spatial size for input image

-
rgb_mean : -

Scalar with mean values which are subtracted from channels. Values are intended to be in (mean-R, mean-G, mean-B) order if image has BGR ordering and swapRB is true.

-
swapRB : -

Flag which indicates that swap first and last channels in 3-channel image is necessary.

-
crop : -

flag which indicates whether image will be cropped after resize or not

-
out : -

Output matrix of the results depending on the type of DNN loaded.

- -

Description

-

This function is used to run forward pass to compute output of layer with name layer_name

-

- -

Examples

-
dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-S = imread(dnn_path + '3.jpg');
-imshow(S);
-out = dnn_forward(net,~S,[28,28]);
-[maxV,maxI]=max(out);
-xnumb(10,10,maxI-1);
-e = gce();
-e.font_size = 10;
-e.font_color = 5;
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Deep Learning - - - Deep Learning - - - dnn_getparam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_getparam.html b/help/en_US/scilab_en_US_help/dnn_getparam.html deleted file mode 100644 index f8b2c32..0000000 --- a/help/en_US/scilab_en_US_help/dnn_getparam.html +++ /dev/null @@ -1,104 +0,0 @@ - - - dnn_getparam - - - -
- - - - -
- << dnn_forward - - - Deep Learning - - - dnn_list >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_getparam - -

-

dnn_getparam

-

Get the layer's parameters

- - -

Syntax

-
out = dnn_getparam(net,layer_name,numParam)
- -

Parameters

-
net : -

DNN object loaded in Scilab

-
layer_name : -

Name for layer which output is needed to get

-
numParam : -

index of the layer parameter in the layer

-
out : -

Output matrix of the results depending on the type of DNN loaded.

- -

Description

-

This function is used to retrieve the layer's parameters (filter coefficients)

-

- -

Examples

-
// Initialize
-dnn_unloadallmodels
-dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-
-// Read Image
-S = imread(dnn_path + '3.jpg');
-
-// Forward Pass
-para1 = dnn_getparam(net,"conv2d/Conv2D");
-scf();dnn_showparam(para1);
-
-// Clean Up
-dnn_unloadallmodels();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_forward - - - Deep Learning - - - dnn_list >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_list.html b/help/en_US/scilab_en_US_help/dnn_list.html deleted file mode 100644 index 05146b1..0000000 --- a/help/en_US/scilab_en_US_help/dnn_list.html +++ /dev/null @@ -1,84 +0,0 @@ - - - dnn_list - - - -
- - - - -
- << dnn_getparam - - - Deep Learning - - - dnn_readmodel >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_list - -

-

dnn_list

-

List all loaded DNN models in memory

- - -

Syntax

-
dnn_list()
- -

Parameters

-
- -

Description

-

This function is used for list all loaded DNN models in the memory.

-

- -

Examples

-
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_getparam - - - Deep Learning - - - dnn_readmodel >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_readmodel.html b/help/en_US/scilab_en_US_help/dnn_readmodel.html deleted file mode 100644 index 7614d23..0000000 --- a/help/en_US/scilab_en_US_help/dnn_readmodel.html +++ /dev/null @@ -1,100 +0,0 @@ - - - dnn_readmodel - - - -
- - - - -
- << dnn_list - - - Deep Learning - - - dnn_showfeature >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_readmodel - -

-

dnn_readmodel

-

Read/Import DNN model from disk

- - -

Syntax

-
net = dnn_readmodel(model,modelinfo,modeltype);
- -

Parameters

-
model : -

Model binary (Caffe -> .caffemodel file, TF -> .pb file).

-
modelinfo : -

MOdel info (Caffe - > .prototxt file. TF -> .pbtxt file).

-
modeltype : -

Model type, currently support Caffe and Tensorflow model.

-
net : -

Loaded net with its' pointer and informations.

- -

Description

-

This function is used for loading DNN model and used in Scilab for inference system.

-

- -

Examples

-
dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-S = imread(dnn_path + '3.jpg');
-imshow(S);
-out = dnn_forward(net,~S,[28,28]);
-[maxV,maxI]=max(out);
-xnumb(10,10,maxI-1);
-e = gce();
-e.font_size = 10;
-e.font_color = 5;
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_list - - - Deep Learning - - - dnn_showfeature >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_showfeature.html b/help/en_US/scilab_en_US_help/dnn_showfeature.html deleted file mode 100644 index 4d85a03..0000000 --- a/help/en_US/scilab_en_US_help/dnn_showfeature.html +++ /dev/null @@ -1,100 +0,0 @@ - - - dnn_showfeature - - - -
- - - - -
- << dnn_readmodel - - - Deep Learning - - - dnn_showparam >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_showfeature - -

-

dnn_showfeature

-

Visualize the DNN feature map

- - -

Syntax

-
dnn_showfeature(feature_map,out_num,c);
- -

Parameters

-
feature_map : -

Feature maps to be visualized

-
out_num : -

Number of outputs to be shown

-
c : -

Colormap for visualization

- -

Description

-

This function is used to visualize the DNN feature maps

-

- -

Examples

-
// Initialize
-dnn_unloadallmodels
-dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-
-// Read Image
-S = imread(dnn_path + '3.jpg');
-
-// Forward Pass
-out1 = dnn_forward(net,~S,[28,28],"conv2d/Conv2D");
-scf();dnn_showfeature(out1);
-
-// Clean Up
-dnn_unloadallmodels();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_readmodel - - - Deep Learning - - - dnn_showparam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_showparam.html b/help/en_US/scilab_en_US_help/dnn_showparam.html deleted file mode 100644 index 24ba863..0000000 --- a/help/en_US/scilab_en_US_help/dnn_showparam.html +++ /dev/null @@ -1,100 +0,0 @@ - - - dnn_showparam - - - -
- - - - -
- << dnn_showfeature - - - Deep Learning - - - dnn_showparamf2d >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_showparam - -

-

dnn_showparam

-

Visualize the DNN parameters (filter) in spatial domain

- - -

Syntax

-
dnn_showfeature(para_map,out_num,c);
- -

Parameters

-
para_map : -

Parameter maps to be visualized

-
out_num : -

Number of outputs to be shown

-
c : -

Colormap for visualization

- -

Description

-

This function is used to visualize the DNN parameters (filter) in spatial domain

-

- -

Examples

-
// Initialize
-dnn_unloadallmodels
-dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-
-// Read Image
-S = imread(dnn_path + '3.jpg');
-
-// Forward Pass
-para1 = dnn_getparam(net,"conv2d/Conv2D");
-scf();dnn_showparam(para1);
-
-// Clean Up
-dnn_unloadallmodels();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_showfeature - - - Deep Learning - - - dnn_showparamf2d >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_showparamf2d.html b/help/en_US/scilab_en_US_help/dnn_showparamf2d.html deleted file mode 100644 index f90b94f..0000000 --- a/help/en_US/scilab_en_US_help/dnn_showparamf2d.html +++ /dev/null @@ -1,100 +0,0 @@ - - - dnn_showparamf2d - - - -
- - - - -
- << dnn_showparam - - - Deep Learning - - - dnn_showparamf3d >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_showparamf2d - -

-

dnn_showparamf2d

-

Visualize the DNN parameters (filter) in frequency domain (2D)

- - -

Syntax

-
dnn_showparamf3d(para_map,out_num,c)
- -

Parameters

-
para_map : -

Parameters to be visualized

-
out_num : -

Number of filters to be shown

-
c : -

Colormap for visualization

- -

Description

-

This function is used to visualize the DNN parameters (filter) in 2D frequency domain

-

- -

Examples

-
// Initialize
-dnn_unloadallmodels
-dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-
-// Read Image
-S = imread(dnn_path + '3.jpg');
-
-// Forward Pass
-para1 = dnn_getparam(net,"conv2d/Conv2D");
-scf();dnn_showparamf2d(para1);
-
-// Clean Up
-dnn_unloadallmodels();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_showparam - - - Deep Learning - - - dnn_showparamf3d >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_showparamf3d.html b/help/en_US/scilab_en_US_help/dnn_showparamf3d.html deleted file mode 100644 index 5c1355c..0000000 --- a/help/en_US/scilab_en_US_help/dnn_showparamf3d.html +++ /dev/null @@ -1,100 +0,0 @@ - - - dnn_showparamf3d - - - -
- - - - -
- << dnn_showparamf2d - - - Deep Learning - - - dnn_unloadallmodels >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_showparamf3d - -

-

dnn_showparamf3d

-

Visualize the DNN parameters (filter) in frequency domain (3D)

- - -

Syntax

-
dnn_showparamf3d(para_map,out_num,c)
- -

Parameters

-
para_map : -

Parameters to be visualized

-
out_num : -

Number of filters to be shown

-
c : -

Colormap for visualization

- -

Description

-

This function is used to visualize the DNN parameters (filter) in 3D frequency domain

-

- -

Examples

-
// Initialize
-dnn_unloadallmodels
-dnn_path = fullpath(getIPCVpath() + '/images/dnn/');
-net = dnn_readmodel(dnn_path + 'lenet5.pb','','tensorflow');
-
-// Read Image
-S = imread(dnn_path + '3.jpg');
-
-// Forward Pass
-para1 = dnn_getparam(net,"conv2d/Conv2D");
-scf();dnn_showparamf3d(para1);
-
-// Clean Up
-dnn_unloadallmodels();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_showparamf2d - - - Deep Learning - - - dnn_unloadallmodels >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_unloadallmodels.html b/help/en_US/scilab_en_US_help/dnn_unloadallmodels.html deleted file mode 100644 index 9d8fc96..0000000 --- a/help/en_US/scilab_en_US_help/dnn_unloadallmodels.html +++ /dev/null @@ -1,84 +0,0 @@ - - - dnn_unloadallmodels - - - -
- - - - -
- << dnn_showparamf3d - - - Deep Learning - - - dnn_unloadmodel >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_unloadallmodels - -

-

dnn_unloadallmodels

-

Unload all loaded DNN models from memory

- - -

Syntax

-
dnn_unloadallmodels()
- -

Parameters

-
- -

Description

-

This function is used for unloading all loaded DNN models from the memory.

-

- -

Examples

-
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_showparamf3d - - - Deep Learning - - - dnn_unloadmodel >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/dnn_unloadmodel.html b/help/en_US/scilab_en_US_help/dnn_unloadmodel.html deleted file mode 100644 index 040880a..0000000 --- a/help/en_US/scilab_en_US_help/dnn_unloadmodel.html +++ /dev/null @@ -1,85 +0,0 @@ - - - dnn_unloadmodel - - - -
- - - - -
- << dnn_unloadallmodels - - - Deep Learning - - - Feature Detection, Description and Matching >> - -
-
-
- - - - IPCV >> Deep Learning > dnn_unloadmodel - -

-

dnn_unloadmodel

-

Unload DNN model from memory

- - -

Syntax

-
dnn_unloadmodel(net)
- -

Parameters

-
net : -

DNN model object

- -

Description

-

This function is used for unloading DNN model from the memory.

-

- -

Examples

-
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << dnn_unloadallmodels - - - Deep Learning - - - Feature Detection, Description and Matching >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/edge.html b/help/en_US/scilab_en_US_help/edge.html deleted file mode 100644 index 8ccee71..0000000 --- a/help/en_US/scilab_en_US_help/edge.html +++ /dev/null @@ -1,118 +0,0 @@ - - - edge - - - -
- - - - -
- << corr2 - - - Image Analysis and Statistics - - - imhist >> - -
-
-
- - - - IPCV >> Image Analysis and Statistics > edge - -

-

edge

-

Find edges in a single channel image.

- - -

Syntax

-
E = edge(im, method)
-E = edge(im, method, thresh)
-E = edge(im, method, thresh, direction)
-E = edge(im, method, thresh, sigma)
-[E, thresh] = edge(im, method, ...)
- -

Parameters

-
im : -

Input image which must be a single channel image.

-
method : -

may be 'sobel'(default), 'prewitt', 'log', 'fftderiv' or 'canny'. Other methods will appear in the future.

-
thresh : -

sets the threshold level, from 0 to 1. Defaults to 0.2. If negative, then the output image, E , will have the un-thresholded gradient image.

-
direction : -

may be 'horizontal', 'vertical' or 'both'(default). This determines the direction to compute the image gradient.

-
sigma : -

Controls the ammount of high-frequency attenuation in some methods (only the 'fftderiv' method uses this parameter). This can be used to obtain different levels of detail and to filter out high-frequency noise.

-
E : -

edge image which is boolean matrix and has the same size as im . If thresh<0 , E is a double un-thresholded image.

- -

Description

-

The function edge performs edge detection on a grayscale intensity image. The user may set the method, the threshold level, the direction of the edge detection, etc.

-

E=edge(im, 'sobel', thresh, direction) -Detects edges in im , using the sobel gradient estimator.

-

E=edge(im, 'prewitt', thresh, direction) -Detects edges in im , using the prewitt gradient estimator.

-

E=edge(im, 'log', thresh, sigma) -Detects edges in im , using the the Laplacian of Gaussian method. sigma is the standard deviation of the LoG filter and the size of the LoG filter is nxn, where n = ceil(sigma*3)*2+1. The default value for sigma is 2.

-

E=edge(im, 'fftderiv', thresh, direction, sigma) -Detects edges in im , using the FFT gradient method, default sigma 1.0

-

E=edge(im, 'canny', thresh, sigma) -Detects edges in im , using Canny method. thresh is a two-element vector, in which the fist element is the low threshold and the seond one is the high threshold. If thresh is a scalar, the low threshold is 0.4*thresh and the high one is thresh . Besides, thresh can not be negative scalar. sigma is the Aperture parameter for canny operator, which must be 1, 3, 5 or 7. default thresh 0.2; default sigma 3.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-im = rgb2gray(im);
-E = edge(im, 'sobel');
-imshow(E);
-
-E = edge(im, 'canny', [0.06, 0.2]);
-imshow(E);
-
-E = edge(im, 'prewitt');
-imshow(mat2gray(E));
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << corr2 - - - Image Analysis and Statistics - - - imhist >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fft2pad.html b/help/en_US/scilab_en_US_help/fft2pad.html deleted file mode 100644 index 5a1a499..0000000 --- a/help/en_US/scilab_en_US_help/fft2pad.html +++ /dev/null @@ -1,90 +0,0 @@ - - - fft2pad - - - -
- - - - -
- << Filter Design and Visualization - - - Filter Design and Visualization - - - immesh >> - -
-
-
- - - - IPCV >> Filter Design and Visualization > fft2pad - -

-

fft2pad

-

Pad smaller matrix with zeros to the given size before transformation.

- - -

Syntax

-
y = fft2pad(x,r,c)
- -

Parameters

-
x : -

Source matrix

-
r : -

Number of rows for the output image

-
c : -

Number of columns for the output image

-
y : -

Output matric with rxc size

- -

Description

-

FFT2PAD will pad the input matrix to the given r x c size, and perform fft2 -after the padding. This will yield the output matrix at the same size given. -This is useful in the frequency domain filtering.

-

- -

Examples

-
x = testmatrix('magic',5);
-y = fft2pad(x,8,8);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Filter Design and Visualization - - - Filter Design and Visualization - - - immesh >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/filter2.html b/help/en_US/scilab_en_US_help/filter2.html deleted file mode 100644 index 1e84815..0000000 --- a/help/en_US/scilab_en_US_help/filter2.html +++ /dev/null @@ -1,90 +0,0 @@ - - - filter2 - - - -
- - - - -
- << Image Linear Filtering - - - Image Linear Filtering - - - fspecial >> - -
-
-
- - - - IPCV >> Image Linear Filtering > filter2 - -

-

filter2

-

2D digital filtering

- - -

Syntax

-
inf = filter2(im,F)
- -

Parameters

-
im : -

An image/matrix which will be filterd. The image can be INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-
F : -

A double 2D filter.

-
imf : -

The filtered image which has the same size with imf and the class double.

- -

Description

-

filter2 filters an image im with filter F. When im is a mult-channel image, each channel can be filtered with F seperately. Input image pixel values outside the bounds of the image are assumed to equal the nearest array border value.

-

The only diffence of filter2 with imfilter is the output of filter2 is double matrix, and the output of imfilter has the same type as input and the elements in the output matrix that exceed the range of the integer type will be truncated.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-filter = fspecial('sobel');
-imf = filter2(im,filter);
-imshow(imf);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Linear Filtering - - - Image Linear Filtering - - - fspecial >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fspecial.html b/help/en_US/scilab_en_US_help/fspecial.html deleted file mode 100644 index 1670888..0000000 --- a/help/en_US/scilab_en_US_help/fspecial.html +++ /dev/null @@ -1,110 +0,0 @@ - - - fspecial - - - -
- - - - -
- << filter2 - - - Image Linear Filtering - - - imfilter >> - -
-
-
- - - - IPCV >> Image Linear Filtering > fspecial - -

-

fspecial

-

Create some 2D special filters

- - -

Syntax

-
F = fspecial(type)
-F = fspecial(type, op1)
-F = fspecial(type, op1, op2)
- -

Parameters

-
type : -

Filter type. It can be one of these string: 'sobel', 'prewitt', 'gaussion', 'laplacian', 'log', 'average', 'unsharp', 'motion'. ('disk' in future.)

-
op1 : -

The first parameter for the filter. Some type of filters do not need it.

-
op2 : -

The second parameter for the filter. Some type of filters do not need it.

-
FT : -

The returned filter, which is of type double.

- -

Description

-

fspecial create some 2D special filters. If no parameters are given, fspecial will uses default values.

-

The supported filters and the syntax for each filter type are listed in the following list:

-

F = fspecial('sobel') : -
returns a 3x3 horizontal edges sobel filter. If you want avertical e dges sobel filter, you can use transposition of F. F is [ 1 2 1; 0 0 0; -1 -2 -1].
-
F = fspecial('prewitt') : -
returns a 3x3 horizontal edges prewitt filter. If you want avertical edges prewitt filter, you can use transposition of F. F is [ 1 1 1; 0 0 0; -1 -1 -1].
-
F = fspecial('gaussian', hsize, sigma) : -
returns a Gaussian lowpass filter. The size of returned filter is determined by parameter hsize. hsize can be a 1x2 vector which indicate the rows and columns of F. If hsize is a scalar, F is a square matrix. The default value for hsize is [3, 3]; the default value for sigma is 0.5.
-
F = fspecial('laplacian', alpha) : -
returns a 3-by-3 Laplacian filter. The returned filter is [alpha, 1-alpha, alpha; 1-alpha, -4, 1-alpha; alpha, 1-alpha, alpha]/(alpha+1). The default value for alpha is 0.2.
-
F = fspecial('log', hsize, sigma) : -
returns a Laplacian of Gaussian filter. The size of returned filter is determined by parameter hsize. hsize can be a 1x2 vector which indicate the rows and columns of F. If hsize is a scalar, F is a square matrix. The default value for hsize is [5, 5]; the default value for sigma is 0.5.
-
F = fspecial('average',hsize) : -
returns an averaging filter. The size of returned filter is determined by parameter hsize. hsize can be a 1x2 vector which indicate the rows and columns of F. If hsize is a scalar, F is a square matrix. The default value for hsize is [3, 3].
-
F = fspecial('unsharp', alpha) : -
returns a 3x3 unsharp contrast enhancement filter. alpha must be in the range [0.0, 1.0]. The default value of alpha is 0.2.
-
F = fspecial('motion', length, angle1) : -
returns a motion blurred filter with length and angle.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-filter = fspecial('sobel');
-imf = imfilter(im, filter);
-imshow(imf);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << filter2 - - - Image Linear Filtering - - - imfilter >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/hsv2rgb.html b/help/en_US/scilab_en_US_help/hsv2rgb.html deleted file mode 100644 index a454783..0000000 --- a/help/en_US/scilab_en_US_help/hsv2rgb.html +++ /dev/null @@ -1,93 +0,0 @@ - - - hsv2rgb - - - -
- - - - -
- << Image Types and Color Space Conversions - - - Image Types and Color Space Conversions - - - hsv2rgb2 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > hsv2rgb - -

-

hsv2rgb

-

Convert a HSV image to the equivalent RGB image.

- - -

Syntax

-
RGB = hsv2rgb(HSV)
- -

Parameters

-
HSV : -

A HSV image (hypermat). The dimension of HSV should be M x N x 3 , the type should be double and the element value range should be [0,1].

-
RGB : -

Output image, which has the same size and type as HSV.

- -

Description

-

hsv2rgb convert a HSV image to the equivalent RGB image.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
RGB = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-HSV = rgb2hsv(RGB);
-RGB = hsv2rgb(HSV);
-imshow(RGB);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Types and Color Space Conversions - - - Image Types and Color Space Conversions - - - hsv2rgb2 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/hsv2rgb2.html b/help/en_US/scilab_en_US_help/hsv2rgb2.html deleted file mode 100644 index e21ecce..0000000 --- a/help/en_US/scilab_en_US_help/hsv2rgb2.html +++ /dev/null @@ -1,93 +0,0 @@ - - - hsv2rgb2 - - - -
- - - - -
- << hsv2rgb - - - Image Types and Color Space Conversions - - - im2bw >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > hsv2rgb2 - -

-

hsv2rgb2

-

Convert a HSV image to the equivalent RGB image.

- - -

Syntax

-
RGB = hsv2rgb2(HSV)
- -

Parameters

-
HSV : -

A HSV image (hypermat). The dimension of HSV should be M x N x 3 , the type should be double and the element value range should be [0,1].

-
RGB : -

Output image, which has the same size and type as HSV.

- -

Description

-

hsv2rgb convert a HSV image to the equivalent RGB image.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
RGB = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-HSV = rgb2hsv(RGB);
-RGB = hsv2rgb2(HSV);
-imshow(RGB);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << hsv2rgb - - - Image Types and Color Space Conversions - - - im2bw >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2bw.html b/help/en_US/scilab_en_US_help/im2bw.html deleted file mode 100644 index 0e255b3..0000000 --- a/help/en_US/scilab_en_US_help/im2bw.html +++ /dev/null @@ -1,94 +0,0 @@ - - - im2bw - - - -
- - - - -
- << hsv2rgb2 - - - Image Types and Color Space Conversions - - - im2double >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2bw - -

-

im2bw

-

Convert image to binary

- - -

Syntax

-
im2 = im2bw(im, thresh)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
thresh : -

Threshold value. You specify thresh in the range [0,1], regardless of the class of the input image.

-
im2 : -

Boolean matrix.

- -

Description

-

im2bw convert intensity or RGB images to binary images. The output is a boolean matrix, which has value of %T for all pixels in the input image with luminance grater than thresh and %F for all the other pixels. (You specify thresh in the range [0,1], regardless of the type of the input image.)

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/balloons.png"));
-S2 = rgb2gray(S);
-Sbin = im2bw(S2,0.5);
-imshow(Sbin);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << hsv2rgb2 - - - Image Types and Color Space Conversions - - - im2double >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2col.html b/help/en_US/scilab_en_US_help/im2col.html deleted file mode 100644 index acf4a30..0000000 --- a/help/en_US/scilab_en_US_help/im2col.html +++ /dev/null @@ -1,88 +0,0 @@ - - - im2col - - - -
- - - - -
- << Image Block Processing - - - Image Block Processing - - - imblockproc >> - -
-
-
- - - - IPCV >> Image Block Processing > im2col - -

-

im2col

-

Convert image into series of columns

- - -

Syntax

-
y = im2col(x,blk)
- -

Parameters

-
x : -

Source Image

-
blk : -

Block size [m,n]

- -

Description

-

This function is used to convert the image to columns of vector for -faster processing as Scilab perform better with vectorization code.

-

- -

Examples

-
A = testmatrix('mag',4);
-B = im2col(A,[3 3]);
-C = mean(B,1);
-D = matrix(C,[4,4])';
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Block Processing - - - Image Block Processing - - - imblockproc >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2double.html b/help/en_US/scilab_en_US_help/im2double.html deleted file mode 100644 index 357d5b1..0000000 --- a/help/en_US/scilab_en_US_help/im2double.html +++ /dev/null @@ -1,80 +0,0 @@ - - - im2double - - - -
- - - - -
- << im2bw - - - Image Types and Color Space Conversions - - - im2int16 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2double - -

-

im2double

-

Convert image to double precision

- - -

Syntax

-
im2 = im2double(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, a double precision matrix.

- -

Description

-

im2double convert intensity or RGB images to double precision. If the input is of class double, the output image is identical to it. Otherwise, im2double rescales or offsets the data, and returns the equivalent image of class double.

-

- -

Authors

-
- -

See also

-
-
- -
- - - - - - -
Report an issue
- << im2bw - - - Image Types and Color Space Conversions - - - im2int16 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2int16.html b/help/en_US/scilab_en_US_help/im2int16.html deleted file mode 100644 index 64ca43e..0000000 --- a/help/en_US/scilab_en_US_help/im2int16.html +++ /dev/null @@ -1,86 +0,0 @@ - - - im2int16 - - - -
- - - - -
- << im2double - - - Image Types and Color Space Conversions - - - im2int32 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2int16 - -

-

im2int16

-

Convert image to 16-bit signed integers

- - -

Syntax

-
im2 = im2int16(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, a 16-bit signed integer matrix.

- -

Description

-

im2int16 convert intensity or RGB images to 16-bit signed integers. If the input is of class int16, the output image is identical to it. Otherwise, im2int16 rescales or offsets the data, and returns the equivalent image of class int16.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2double - - - Image Types and Color Space Conversions - - - im2int32 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2int32.html b/help/en_US/scilab_en_US_help/im2int32.html deleted file mode 100644 index 4f50eb3..0000000 --- a/help/en_US/scilab_en_US_help/im2int32.html +++ /dev/null @@ -1,86 +0,0 @@ - - - im2int32 - - - -
- - - - -
- << im2int16 - - - Image Types and Color Space Conversions - - - im2int8 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2int32 - -

-

im2int32

-

Convert image to 32-bit signed integers

- - -

Syntax

-
im2 = im2int32(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, a 32-bit signed integer matrix.

- -

Description

-

im2int32 convert intensity or RGB images to 32-bit signed integers. If the input is of class int32, the output image is identical to it. Otherwise, im2int32 rescales or offsets the data, and returns the equivalent image of class int32.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2int16 - - - Image Types and Color Space Conversions - - - im2int8 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2int8.html b/help/en_US/scilab_en_US_help/im2int8.html deleted file mode 100644 index f929a8f..0000000 --- a/help/en_US/scilab_en_US_help/im2int8.html +++ /dev/null @@ -1,86 +0,0 @@ - - - im2int8 - - - -
- - - - -
- << im2int32 - - - Image Types and Color Space Conversions - - - im2uint16 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2int8 - -

-

im2int8

-

Convert image to 8-bit signed integers

- - -

Syntax

-
im2 = im2int8(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, an 8-bit signed integer matrix.

- -

Description

-

im2int8 convert intensity or RGB images to 8-bit signed integers. If the input is of class int8, the output image is identical to it. Otherwise, im2int8 rescales or offsets the data, and returns the equivalent image of class int8.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2int32 - - - Image Types and Color Space Conversions - - - im2uint16 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2movie.html b/help/en_US/scilab_en_US_help/im2movie.html deleted file mode 100644 index 7513485..0000000 --- a/help/en_US/scilab_en_US_help/im2movie.html +++ /dev/null @@ -1,91 +0,0 @@ - - - im2movie - - - -
- - - - -
- << Utilities and Interactive Tools - - - Utilities and Interactive Tools - - - imaddtext >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > im2movie - -

-

im2movie

-

Create movie from sequence of images

- - -

Syntax

-
err = im2movie(mvfn,imfn,sz,fps,fourcc)
- -

Parameters

-
mvfn : -

Output moive filename

-
sz : -

A 1x2 vector, which indicates the frame size (width, height).

-
fps : -

Frame pre second

-
fourcc : -

4-character code of codec used to compress the frames

-
repeat : -

How many times to repeat the sequence images

-
err : -

Error message if any

- -

Description

-

This function convert sequence of images to movie with given setting.

-

- -

Examples

-
err = im2movie('test.avi',[1000 600],30,'xvid');
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Utilities and Interactive Tools - - - Utilities and Interactive Tools - - - imaddtext >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2uint16.html b/help/en_US/scilab_en_US_help/im2uint16.html deleted file mode 100644 index dce7720..0000000 --- a/help/en_US/scilab_en_US_help/im2uint16.html +++ /dev/null @@ -1,86 +0,0 @@ - - - im2uint16 - - - -
- - - - -
- << im2int8 - - - Image Types and Color Space Conversions - - - im2uint8 >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2uint16 - -

-

im2uint16

-

Convert image to 16-bit unsigned integers

- - -

Syntax

-
im2 = im2uint16(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, a 16-bit unsigned integer matrix.

- -

Description

-

im2uint16 convert intensity or RGB images to 16-bit unsigned integers. If the input is of class uint16, the output image is identical to it. Otherwise, im2uint16 rescales or offsets the data, and returns the equivalent image of class uint16.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2int8 - - - Image Types and Color Space Conversions - - - im2uint8 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/im2uint8.html b/help/en_US/scilab_en_US_help/im2uint8.html deleted file mode 100644 index a38fe3c..0000000 --- a/help/en_US/scilab_en_US_help/im2uint8.html +++ /dev/null @@ -1,86 +0,0 @@ - - - im2uint8 - - - -
- - - - -
- << im2uint16 - - - Image Types and Color Space Conversions - - - imgraythresh >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > im2uint8 - -

-

im2uint8

-

Convert image to 8-bit unsigned integers

- - -

Syntax

-
im2 = im2uint8(im)
- -

Parameters

-
im : -

An matrix/image, which can be ANY image supported by IPCV.

-
im2 : -

Output image, an 8-bit unsigned integer matrix.

- -

Description

-

im2uint8 convert intensity or RGB images to 8-bit unsigned integers. If the input is of class uint8, the output image is identical to it. Otherwise, im2uint8 rescales or offsets the data, and returns the equivalent image of class uint8.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2uint16 - - - Image Types and Color Space Conversions - - - imgraythresh >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imabsdiff.html b/help/en_US/scilab_en_US_help/imabsdiff.html deleted file mode 100644 index 0e544d5..0000000 --- a/help/en_US/scilab_en_US_help/imabsdiff.html +++ /dev/null @@ -1,87 +0,0 @@ - - - imabsdiff - - - -
- - - - -
- << Image Arithmetic - - - Image Arithmetic - - - imadd >> - -
-
-
- - - - IPCV >> Image Arithmetic > imabsdiff - -

-

imabsdiff

-

Calculate absolute difference of two images

- - -

Syntax

-
imout = imabsdiff(im1, im2)
- -

Parameters

-
im1, im2 : -

Input images, which can be any kinds of images, but must have the same width, height, class and number of channels.

-
imout : -

The absolute difference of two input images.

- -

Description

-

imabsdiff calculate the absolute difference of two images. The two input images must have the same width, height, class and number of channels.

-

If im1 and im2 are an integer matrices, the elements in the output matrix imout that exceed the range of the integer type will be truncated.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Arithmetic - - - Image Arithmetic - - - imadd >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imadd.html b/help/en_US/scilab_en_US_help/imadd.html deleted file mode 100644 index 5049fb6..0000000 --- a/help/en_US/scilab_en_US_help/imadd.html +++ /dev/null @@ -1,97 +0,0 @@ - - - imadd - - - -
- - - - -
- << imabsdiff - - - Image Arithmetic - - - imcomplement >> - -
-
-
- - - - IPCV >> Image Arithmetic > imadd - -

-

imadd

-

Add two images or add a constant to an image

- - -

Syntax

-
imout = imadd(im1, im2)
- -

Parameters

-
im1 : -

Input image.

-
im2 : -

Input image with the same size and same class with im1 , or a double scalar.

-
imout : -

The sum of im1 and im2 .

- -

Description

-

If im1 and im2 are images with the same size and same class, imadd adds each element in im1 to the corresponding one in im2. If im2 is a double scalar, the element in imout is the sum of the corresponding one in im1 with the double scalar. imout has the same size and class with im1.

-

If im1 is an integer matrix, the elements in the output matrix imout that exceed the range of the integer type will be truncated.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im1 = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-im2 = imread(fullpath(getIPCVpath() + "/images/peppers.png"));
-ims1 = imadd(im1, im2);
-ims2 = imadd(im1, 50);
-imshow(ims1);
-scf(); imshow(ims2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imabsdiff - - - Image Arithmetic - - - imcomplement >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imaddtext.html b/help/en_US/scilab_en_US_help/imaddtext.html deleted file mode 100644 index 989eda1..0000000 --- a/help/en_US/scilab_en_US_help/imaddtext.html +++ /dev/null @@ -1,101 +0,0 @@ - - - imaddtext - - - -
- - - - -
- << im2movie - - - Utilities and Interactive Tools - - - imbreakset >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imaddtext - -

-

imaddtext

-

Adding text to a color image

- - -

Syntax

-
SS = imaddtext(S,str,x,y,font_sz,font_style,font_color [,angle [,box]])
- -

Parameters

-
S : -

Input image

-
str : -

String to add

-
x : -

Offset from lower left corner, x

-
y : -

Offset from lower left corner, y

-
font_sz : -

Font size, 0-10. Type "help graphic_fonts" for details

-
font_style : -

Font style, 0-10. Type "help graphic_fonts" for details

-
font_color : -

Font color. Type "help color_list" for details

-
angle : -

optional real scalar, clockwise angle of string in degrees; default is 0.

-
box : -

optional integer scalar; if box=1 and angle=0, a box is drawn around the string; otherwise, no box is drawn.

-
SS : -

Output image

- -

Description

-

Add text provided by the user to a color image with specified location, font size, style and color.

-

- -

Examples

-
I1 = imread(fullpath(getIPCVpath() + "/images/measure.jpg"));
-I2 = imaddtext(I1,'Testing',100,100,5,6,'blue');
-imshow(I2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2movie - - - Utilities and Interactive Tools - - - imbreakset >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imadjust.html b/help/en_US/scilab_en_US_help/imadjust.html deleted file mode 100644 index b801501..0000000 --- a/help/en_US/scilab_en_US_help/imadjust.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imadjust - - - -
- - - - -
- << Image Enhancement and Restoration - - - Image Enhancement and Restoration - - - imdeconvl2 >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imadjust - -

-

imadjust

-

Adjust the intensity of an image from given source histogram range to the destination histogram range

- - -

Syntax

-
imout = imadjust(imin,src,dest)
- -

Parameters

-
imin : -

Source Image

-
src : -

Source histogram range [min max]

-
dest : -

destination histogram range [min max]

-
imout : -

Destination Image

- -

Description

-

This function use to adjust the intensity of an image using histogram -range method. The new image would be map into the new range with given -min and max values

-

- -

Examples

-
I = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-J = imadjust(I,[0 0.5],[0.5 1]);
-imshow(I)
-figure();imshow(J);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Enhancement and Restoration - - - Image Enhancement and Restoration - - - imdeconvl2 >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imbestmatches.html b/help/en_US/scilab_en_US_help/imbestmatches.html deleted file mode 100644 index fe11689..0000000 --- a/help/en_US/scilab_en_US_help/imbestmatches.html +++ /dev/null @@ -1,109 +0,0 @@ - - - imbestmatches - - - -
- - - - -
- << Feature Detection, Description and Matching - - - Feature Detection, Description and Matching - - - imdetect_BRISK >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imbestmatches - -

-

imbestmatches

-

Find the best matched features from 2 features objects and the matching matrix

- - -

Syntax

-
[fout1,fout2,mout] = imbestmatches(fobj1,fobj2,m,n);
- -

Parameters

-
fobj1 : -

First feature object

-
fobj2 : -

Second feature object

-
m : -

Matching matrix

-
n : -

Number of best matches to returned

-
fout1 : -

First best feature object

-
fout2 : -

Second best feature object

-
mout : -

New matching matrix corresponding to the best matches

- -

Description

-

This function find the best matches of 2 features objects with their mathching matrix.

-

- -

Examples

-
// Read the image and rotate it by 45 degrees
-S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S2 = imrotate(S,45);
-// Use the ORB to detect features
-f1 = imdetect_ORB(S)
-f2 = imdetect_ORB(S2)
-// Extract the descriptor
-d1 = imextract_DescriptorORB(S,f1);
-d2 = imextract_DescriptorORB(S2,f2);
-// Feature matching
-m = immatch_BruteForce(d1,d2,4)
-// Find the 10 best matches
-[fout1,fout2,mout] = imbestmatches(f1,f2,m,10);
-// Draw the matches
-SS = imdrawmatches(S,S2,fout1,fout2,mout);
-// Show the comparison
-imshow(SS);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Feature Detection, Description and Matching - - - Feature Detection, Description and Matching - - - imdetect_BRISK >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imblackhat.html b/help/en_US/scilab_en_US_help/imblackhat.html deleted file mode 100644 index 8fe4bb0..0000000 --- a/help/en_US/scilab_en_US_help/imblackhat.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imblackhat - - - -
- - - - -
- << bwborder - - - Morphological Operations - - - imblobprop >> - -
-
-
- - - - IPCV >> Morphological Operations > imblackhat - -

-

imblackhat

-

Image blackhat

- - -

Syntax

-
imout = imblackhat(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

This operation is the difference between an input image and its opening

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/morpex.png"));
-se = imcreatese('ellipse',7,7);
-S2 = imblackhat(S,se);
-imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << bwborder - - - Morphological Operations - - - imblobprop >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imblobprop.html b/help/en_US/scilab_en_US_help/imblobprop.html deleted file mode 100644 index 951de8a..0000000 --- a/help/en_US/scilab_en_US_help/imblobprop.html +++ /dev/null @@ -1,93 +0,0 @@ - - - imblobprop - - - -
- - - - -
- << imblackhat - - - Morphological Operations - - - imclose >> - -
-
-
- - - - IPCV >> Morphological Operations > imblobprop - -

-

imblobprop

-

Calculate blobs properties from labeled image

- - -

Syntax

-
[A, BB, ctr] = imblobprop(imin)
- -

Parameters

-
imin : -

Source Image

-
A : -

Area of the blob

-
BB : -

Bounding box for the blob

-
ctr : -

Centroid of the blob

- -

Description

-

This function find components properties, for now, area and bounding box.

-

- -

Examples

-
A = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-A_edge = edge(A,'canny');
-se = imcreatese('ellipse',15,15);
-A_dilate = imdilate(A_edge,se);
-[A_labeled,n] = imlabel(A_dilate);
-imshow(A_labeled,jetcolormap(n));
-[Area, BB, ctr] = imblobprop(A_labeled);
-imrects(BB,[255,0,0]);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imblackhat - - - Morphological Operations - - - imclose >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imblockproc.html b/help/en_US/scilab_en_US_help/imblockproc.html deleted file mode 100644 index 409061d..0000000 --- a/help/en_US/scilab_en_US_help/imblockproc.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imblockproc - - - -
- - - - -
- << im2col - - - Image Block Processing - - - imblockslide >> - -
-
-
- - - - IPCV >> Image Block Processing > imblockproc - -

-

imblockproc

-

Distict block processing for an image

- - -

Syntax

-
y = imblockproc(x,blk,func)
- -

Parameters

-
x : -

Source Image

-
blk : -

Block size [m,n]

-
func : -

A function name which provide the processing function. The fucntion

- -

Description

-

This function is block processing function with distinct blocks. -Distinct blocks are rectangular partitions that divide an image matrix -into m-by-n section

-

- -

Examples

-
A = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-deff('y=myfunc(x)','y = mean(x)');
-y = imblockproc(A,[9 9],'myfunc');
-imshow(y);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2col - - - Image Block Processing - - - imblockslide >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imblockslide.html b/help/en_US/scilab_en_US_help/imblockslide.html deleted file mode 100644 index 2c57456..0000000 --- a/help/en_US/scilab_en_US_help/imblockslide.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imblockslide - - - -
- - - - -
- << imblockproc - - - Image Block Processing - - - imcolproc >> - -
-
-
- - - - IPCV >> Image Block Processing > imblockslide - -

-

imblockslide

-

Sliding block processing for an image

- - -

Syntax

-
y = imblockproc(x,blk,func)
- -

Parameters

-
x : -

Source Image

-
blk : -

Block size [m,n]

-
func : -

A function name which provide the processing function. The fucntion

- -

Description

-

This function is block processing function with sliding blocks. -Sliding blocks are rectangular partitions that divide an image matrix -into m-by-n section

-

- -

Examples

-
A = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-deff('y=myfunc(x)','y = mean(x)');
-y = imblockslide(A,[9 9],'myfunc');
-imshow(y);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imblockproc - - - Image Block Processing - - - imcolproc >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imbreakset.html b/help/en_US/scilab_en_US_help/imbreakset.html deleted file mode 100644 index a1765b3..0000000 --- a/help/en_US/scilab_en_US_help/imbreakset.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imbreakset - - - -
- - - - -
- << imaddtext - - - Utilities and Interactive Tools - - - imbreakunset >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imbreakset - -

-

imbreakset

-

Set the break event with Scilab figure

- - -

Syntax

-
imbreakset()
- -

Parameters

-
- -

Description

-

This function set the event handle for a figure and listen to the "Esc" key. The global variable "breakloop" is set to true if Esc key detected and break from the loop prematured or break from the infinite loop.

-

- -

Examples

-
global breakloop;
-breakloop = %f;
-plot(0,0);
-imbreakset();
-for cnt = 1:10
-sleep(500);
-disp(cnt);
-if breakloop == %t
-disp('User Break');
-break
-end
-end
-imbreakunset();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imaddtext - - - Utilities and Interactive Tools - - - imbreakunset >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imbreakunset.html b/help/en_US/scilab_en_US_help/imbreakunset.html deleted file mode 100644 index bd08042..0000000 --- a/help/en_US/scilab_en_US_help/imbreakunset.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imbreakunset - - - -
- - - - -
- << imbreakset - - - Utilities and Interactive Tools - - - imcaminfo >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imbreakunset - -

-

imbreakunset

-

Unset the break event with Scilab figure

- - -

Syntax

-
imbreakunset()
- -

Parameters

-
- -

Description

-

This function unset the event handle for a figure which has been set by imbreakset

-

- -

Examples

-
global breakloop;
-breakloop = %f;
-plot(0,0);
-imbreakset();
-for cnt = 1:10
-sleep(500);
-disp(cnt);
-if breakloop == %t
-disp('User Break');
-break
-end
-end
-imbreakset();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imbreakset - - - Utilities and Interactive Tools - - - imcaminfo >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcaminfo.html b/help/en_US/scilab_en_US_help/imcaminfo.html deleted file mode 100644 index 612a0c0..0000000 --- a/help/en_US/scilab_en_US_help/imcaminfo.html +++ /dev/null @@ -1,82 +0,0 @@ - - - imcaminfo - - - -
- - - - -
- << imbreakunset - - - Utilities and Interactive Tools - - - imchoose >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imcaminfo - -

-

imcaminfo

-

Show the supported raw resolution for an USB camera (linux only)

- - -

Syntax

-
out = imcaminfo(dev)
- -

Parameters

-
dev : -

USB bus number and device number for the connected device in string

-
out : -

Strings containing the list of supported resolution for the camera

- -

Description

-

The function show the supported raw resolution for an USB camera connected to the given device and bus numbers(linux only)

-

- -

Examples

-
out = imcaminfo('001:005')
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imbreakunset - - - Utilities and Interactive Tools - - - imchoose >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imchoose.html b/help/en_US/scilab_en_US_help/imchoose.html deleted file mode 100644 index 7310837..0000000 --- a/help/en_US/scilab_en_US_help/imchoose.html +++ /dev/null @@ -1,83 +0,0 @@ - - - imchoose - - - -
- - - - -
- << imcaminfo - - - Utilities and Interactive Tools - - - imdistline >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imchoose - -

-

imchoose

-

Choose a bounding box with mouse

- - -

Syntax

-
rec2 = imchoose()
- -

Parameters

-
rec2 : -

Seletected Bounding Box

- -

Description

-

This function allows user to select a bounding box interactively using mouse.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/puffin.png"));
-imshow(S);
-rec2 = imchoose();
-title(string(rec2));
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imcaminfo - - - Utilities and Interactive Tools - - - imdistline >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imclose.html b/help/en_US/scilab_en_US_help/imclose.html deleted file mode 100644 index 70bbb09..0000000 --- a/help/en_US/scilab_en_US_help/imclose.html +++ /dev/null @@ -1,97 +0,0 @@ - - - imclose - - - -
- - - - -
- << imblobprop - - - Morphological Operations - - - imcreatese >> - -
-
-
- - - - IPCV >> Morphological Operations > imclose - -

-

imclose

-

Image closing

- - -

Syntax

-
imout = imclose(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

The function perform closing operation on the source image using the specified structuring element. -This operation is same as obtained by the dilation of an image followed by an erosion. -Useful to remove small holes.(it is assumed that the objects are bright on a dark foreground)

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/morpex.png"));
-se = imcreatese('ellipse',11,11);
-S2 = imclose(S,se);
-imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imblobprop - - - Morphological Operations - - - imcreatese >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcolproc.html b/help/en_US/scilab_en_US_help/imcolproc.html deleted file mode 100644 index d14031e..0000000 --- a/help/en_US/scilab_en_US_help/imcolproc.html +++ /dev/null @@ -1,90 +0,0 @@ - - - imcolproc - - - -
- - - - -
- << imblockslide - - - Image Block Processing - - - Image Enhancement and Restoration >> - -
-
-
- - - - IPCV >> Image Block Processing > imcolproc - -

-

imcolproc

-

Sliding block processing for an image, with vectorization

- - -

Syntax

-
y = imblockproc(x,blk,func)
- -

Parameters

-
x : -

Source Image

-
blk : -

Block size [m,n]

-
func : -

A function name which provide the processing function. The fucntion

- -

Description

-

This function is block processing function with sliding blocks, with each -sliding blocks converted to column matrix for faster performance.

-

- -

Examples

-
A = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-deff('y=myfunc(x)','y = mean(x,1)');
-y = imcolproc(A,[9 9],'myfunc');
-imshow(y);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imblockslide - - - Image Block Processing - - - Image Enhancement and Restoration >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcomplement.html b/help/en_US/scilab_en_US_help/imcomplement.html deleted file mode 100644 index 563b737..0000000 --- a/help/en_US/scilab_en_US_help/imcomplement.html +++ /dev/null @@ -1,99 +0,0 @@ - - - imcomplement - - - -
- - - - -
- << imadd - - - Image Arithmetic - - - imdivide >> - -
-
-
- - - - IPCV >> Image Arithmetic > imcomplement - -

-

imcomplement

-

Complement image

- - -

Syntax

-
imout = imcomplement(im)
- -

Parameters

-
im : -

Input image.

-
imout : -

The complement image, which has the same size and class with im .

- -

Description

-

imcomplement computes the complement image of im. In the output image imout, dark pixels become lighter and light pixels become darker.

-

Supported classes: BOOLEAN, INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im = [%F, %T];
-imcomplement(im)
-
-im = uint8([0, 50, 100; 150, 200, 250]);
-imcomplement(im)
-
-im = int8([-100, -50, 0; 50, 100, 150]);
-imcomplement(im)
-
-im = [0, 0.2, 0.4; 0.6, 0.8, 1.0];
-imcomplement(im)
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imadd - - - Image Arithmetic - - - imdivide >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imconvexHull.html b/help/en_US/scilab_en_US_help/imconvexHull.html deleted file mode 100644 index 0c6abf4..0000000 --- a/help/en_US/scilab_en_US_help/imconvexHull.html +++ /dev/null @@ -1,100 +0,0 @@ - - - imconvexHull - - - -
- - - - -
- << Structural Analysis and Shape Descriptors - - - Structural Analysis and Shape Descriptors - - - imdrawcontours >> - -
-
-
- - - - IPCV >> Structural Analysis and Shape Descriptors > imconvexHull - -

-

imconvexHull

-

Finds the convex hull of a point set.

- - -

Syntax

-
H = imconvexHull(pts)
- -

Parameters

-
pts : -

Input 2D point set.

-
H : -

Output convexhull

- -

Description

-

The functions find the convex hull of a 2D point set using the Sklansky's algorithm.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/hand.jpg"));
-Sbw = im2bw(~S,0.5);
-imshow(Sbw);
-Sc = imfindContours(Sbw);
-[A, BB, ctr] = imblobprop(Sc);
-[maxV,maxI] = max(A);
-[row,col] = find(Sc==maxI);
-[cart_x,cart_y] = sub2cartesian(size(Sc), row,col);
-SS = [(cart_x)',(cart_y)'];
-H = imconvexHull(SS);
-sz = size(S);
-plot(cart_x,cart_y,'.');
-Hd = double(H);
-plot(Hd(:,1),Hd(:,2),'r');
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << Structural Analysis and Shape Descriptors - - - Structural Analysis and Shape Descriptors - - - imdrawcontours >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcreatese.html b/help/en_US/scilab_en_US_help/imcreatese.html deleted file mode 100644 index 89f8777..0000000 --- a/help/en_US/scilab_en_US_help/imcreatese.html +++ /dev/null @@ -1,99 +0,0 @@ - - - imcreatese - - - -
- - - - -
- << imclose - - - Morphological Operations - - - imdilate >> - -
-
-
- - - - IPCV >> Morphological Operations > imcreatese - -

-

imcreatese

-

Creating Structure Element for Morphological operation

- - -

Syntax

-
se = imcreatese(setype,r,c)
- -

Parameters

-
setype : -

Type of structure element, currently support 'rect', 'ellipse' and 'cross'

-
r : -

Number of rows

-
c : -

Number of colomns

-
se : -

Created structure element

- -

Description

-

The function constructs and returns the structuring element that can be -further passed to any morphology filter. You can also construct an arbitrary -mask yourself and use it as the structuring element

-

- -

Examples

-
a = zeros(10,10);
-a(4:7,4:7) = 1;
-se = imcreatese('rect',3,3);
-b = imdilate(a,se);
-disp(b);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imclose - - - Morphological Operations - - - imdilate >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcrop.html b/help/en_US/scilab_en_US_help/imcrop.html deleted file mode 100644 index 9e76191..0000000 --- a/help/en_US/scilab_en_US_help/imcrop.html +++ /dev/null @@ -1,87 +0,0 @@ - - - imcrop - - - -
- - - - -
- << Spatial Transformations - - - Spatial Transformations - - - imcropm >> - -
-
-
- - - - IPCV >> Spatial Transformations > imcrop - -

-

imcrop

-

Crop image

- - -

Syntax

-
subim = imcrop(im, rect)
- -

Parameters

-
im : -

An image, which can be one channel or three channel image.

-
rect : -

rect=[x, y, width, height] is a vector. (x, y) is the top-left corner of the rentangle.

-
subim : -

subim is the sub-region of the image im .

- -

Description

-

Crop image at regin rect to subim.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-subim = imcrop(im, [20, 30, 200, 300]);
-imshow(subim);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Spatial Transformations - - - Spatial Transformations - - - imcropm >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imcropm.html b/help/en_US/scilab_en_US_help/imcropm.html deleted file mode 100644 index 5ad9900..0000000 --- a/help/en_US/scilab_en_US_help/imcropm.html +++ /dev/null @@ -1,85 +0,0 @@ - - - imcropm - - - -
- - - - -
- << imcrop - - - Spatial Transformations - - - impyramid >> - -
-
-
- - - - IPCV >> Spatial Transformations > imcropm - -

-

imcropm

-

Crop an image using mouse selection

- - -

Syntax

-
y = imcropm(S)
- -

Parameters

-
S : -

Source Image

-
y : -

Subimage

- -

Description

-

This function allows user to select the region of interest interactively -using mouse.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/puffin.png"));
-J = imcropm(S);
-figure(); imshow(J);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imcrop - - - Spatial Transformations - - - impyramid >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdct.html b/help/en_US/scilab_en_US_help/imdct.html deleted file mode 100644 index 68165d5..0000000 --- a/help/en_US/scilab_en_US_help/imdct.html +++ /dev/null @@ -1,85 +0,0 @@ - - - imdct - - - -
- - - - -
- << Image Transforms - - - Image Transforms - - - imhough >> - -
-
-
- - - - IPCV >> Image Transforms > imdct - -

-

imdct

-

Discrete cosine transform (DCT)

- - -

Syntax

-
y = imdct(x);
- -

Parameters

-
x : -

Input Matrix (1D or 2D)

-
y : -

Output Matrix same dimension with x

- -

Description

-

Performs a forward discrete Cosine transform of 1D or 2D array.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/measure_gray.jpg"));
-y = imdct(S);
-imshow(y,jetcolormap(256));
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Transforms - - - Image Transforms - - - imhough >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdeconvl2.html b/help/en_US/scilab_en_US_help/imdeconvl2.html deleted file mode 100644 index 1815198..0000000 --- a/help/en_US/scilab_en_US_help/imdeconvl2.html +++ /dev/null @@ -1,101 +0,0 @@ - - - imdeconvl2 - - - -
- - - - -
- << imadjust - - - Image Enhancement and Restoration - - - imdeconvsobolev >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imdeconvl2 - -

-

imdeconvl2

-

Deconvolution with L2 Regularization

- - -

Syntax

-
imout = imdeconvl2(imin,psf,lambda)
- -

Parameters

-
imin : -

Source Image

-
f : -

Blur function

-
lamda : -

Regularization parameter

-
imout : -

Deblurred Image

- -

Description

-

Deconvolution is obtained by dividing the Fourier transform of : -

$[f^\star(\omega) = \frac{\hat y(\omega)}{\hat h(\omega)} = \hat f_0(\omega) + \hat w(\omega)/{\hat h(\omega)}]$

-To avoid this explosion, we consider a simple regularization. -

$[f^{\star} = \text{argmin}_f \: \|y-\Phi f\|^2 + \lambda \|f\|^2]$

-Since the filtering is diagonalized over Fourier, the solution is simply computed over the Fourier domain as: -

$[\hat f^\star(\omega) = \frac{\hat y(\omega) \hat h(\omega)}{ \|\hat h(\omega)\|^2 + \lambda }]$

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S = im2double(S);
-h = fspecial('motion',25,45);
-S2 = imfilter(S,h,'circular');
-imshow(S2);
-S3 = imdeconvl2(S2,h,0);
-figure;imshow(S3);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. Advanced Signal, Image and Surface Processing, Ceremade, Université Paris-Dauphine

-
- -
- - - - - - -
Report an issue
- << imadjust - - - Image Enhancement and Restoration - - - imdeconvsobolev >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdeconvsobolev.html b/help/en_US/scilab_en_US_help/imdeconvsobolev.html deleted file mode 100644 index 54dfcf9..0000000 --- a/help/en_US/scilab_en_US_help/imdeconvsobolev.html +++ /dev/null @@ -1,103 +0,0 @@ - - - imdeconvsobolev - - - -
- - - - -
- << imdeconvl2 - - - Image Enhancement and Restoration - - - imdeconvwiener >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imdeconvsobolev - -

-

imdeconvsobolev

-

Deconvolution by Sobolev Regularization

- - -

Syntax

-
imout = imdeconvsobolev(imin,psf,lambda)
- -

Parameters

-
imin : -

Source Image

-
f : -

Blur function

-
lamda : -

Regularization parameter

-
imout : -

Deblurred Image

- -

Description

-

L2 regularization did not perform any denoising. To remove some noise, -we can penalize high frequencies using Sobolev regularization (quadratic grow).

-

The Sobolev prior reads (note the conversion from spacial domain to Fourier domain) -

$[J(f) = \sum_x \|\nabla f(x)\|^2 = \sum_{\omega} S(\omega) \|\hat f(\omega)\|^2 ] where S(\omega)=\|\omega\|^2)$

-

Since this prior can be written over the Fourier domain, one can compute the -solution to the deblurring with Sobolev prior simply with the Fourier coefficients: -

$[\hat f^\star(\omega) = \frac{\hat y(\omega) \hat h(\omega)}{ \|\hat h(\omega)\|^2 + \lambda S(\omega) }]$

-Compute the Sobolev prior penalty S (rescale to [0,1]).

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S = im2double(S);
-h = fspecial('motion',25,45);
-S2 = imfilter(S,h,'circular');
-imshow(S2);
-S3 = imdeconvsobolev(S2,h,0);
-figure;imshow(S3);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. Advanced Signal, Image and Surface Processing, Ceremade, Université Paris-Dauphine

-
- -
- - - - - - -
Report an issue
- << imdeconvl2 - - - Image Enhancement and Restoration - - - imdeconvwiener >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdeconvwiener.html b/help/en_US/scilab_en_US_help/imdeconvwiener.html deleted file mode 100644 index 5ab9542..0000000 --- a/help/en_US/scilab_en_US_help/imdeconvwiener.html +++ /dev/null @@ -1,106 +0,0 @@ - - - imdeconvwiener - - - -
- - - - -
- << imdeconvsobolev - - - Image Enhancement and Restoration - - - imdecorrstretch >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imdeconvwiener - -

-

imdeconvwiener

-

Deconvolution with Wiener method

- - -

Syntax

-
imout = imdeconvl2(imin,psf,lambda)
- -

Parameters

-
imin : -

Source Image

-
f : -

Blur function

-
noisefct : -

Noise Factor

-
imout : -

Deblurred Image

- -

Description

-

In mathematics, Wiener deconvolution is an application of the Wiener filter -to the noise problems inherent in deconvolution. It works in the frequency domain, -attempting to minimize the impact of deconvoluted noise at frequencies which -have a poor signal-to-noise ratio. -The Wiener deconvolution method has widespread use in image deconvolution applications, -as the frequency spectrum of most visual images is fairly well behaved and may be estimated easily. -Wiener deconvolution is named after Norbert Wiener. -The Wiener deconvolution filter provides such a g(t) -The filter is most easily described in the frequency domain: -

$\ G(f) = \frac{H(f) S(f)}{ \|H(f)\|^2 S(f)+ N(f) }\$

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S = im2double(S);
-h = fspecial('motion',25,45);
-S2 = imfilter(S,h,'circular');
-imshow(S2);
-S3 = imdeconvwiener(S2,h,0);
-figure;imshow(S3);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. Wikipedia : http://en.wikipedia.org/wiki/Wiener_deconvolution

-

2. OpenCV Example : http://gigadom.wordpress.com/category/opencv/

-
- -
- - - - - - -
Report an issue
- << imdeconvsobolev - - - Image Enhancement and Restoration - - - imdecorrstretch >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdecorrstretch.html b/help/en_US/scilab_en_US_help/imdecorrstretch.html deleted file mode 100644 index 8133273..0000000 --- a/help/en_US/scilab_en_US_help/imdecorrstretch.html +++ /dev/null @@ -1,89 +0,0 @@ - - - imdecorrstretch - - - -
- - - - -
- << imdeconvwiener - - - Image Enhancement and Restoration - - - imhistequal >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imdecorrstretch - -

-

imdecorrstretch

-

Apply decorrelation stretch to multichannel image

- - -

Syntax

-
S = imdecorrstretch(I, tol, useCorr)
- -

Parameters

-
I : -

Input image

-
tol : -

The fraction of the image to saturate at low and high intensities. If tol is an scalar, high intensity is 1 - tol.

-
useCorr : -

1 to use correlation method, 0 to use covariance method.

-
S : -

Stretched output image

- -

Description

-

The primary purpose of decorrelation stretch is visual enhancement. Decorrelation stretching is a way to enhance the color differences in an image.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/" + 'baboon.png'));
-S2 = imdecorrstretch(S);
-subplot(121);imshow(S);
-subplot(122);imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdeconvwiener - - - Image Enhancement and Restoration - - - imhistequal >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdestroy.html b/help/en_US/scilab_en_US_help/imdestroy.html deleted file mode 100644 index 52a71f0..0000000 --- a/help/en_US/scilab_en_US_help/imdestroy.html +++ /dev/null @@ -1,85 +0,0 @@ - - - imdestroy - - - -
- - - - -
- << imcreatechecker - - - Image Reading, Display and Exploration - - - imdestroyall >> - -
-
-
- - - - IPCV >> Image Reading, Display and Exploration > imdestroy - -

-

imdestroy

-

Destroy graphic window created using imdisplay (highgui).

- - -

Syntax

-
imdestroy(windowname)
- -

Parameters

-
windowname : -

Name of the opened window.

- -

Description

-

This is a special function to destroy the graphic window created using imdisplay.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-imdisplay(im,'MyImage');
-imdestroy('MyImage');
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imcreatechecker - - - Image Reading, Display and Exploration - - - imdestroyall >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdestroyall.html b/help/en_US/scilab_en_US_help/imdestroyall.html deleted file mode 100644 index 61b1aee..0000000 --- a/help/en_US/scilab_en_US_help/imdestroyall.html +++ /dev/null @@ -1,84 +0,0 @@ - - - imdestroyall - - - -
- - - - -
- << imdestroy - - - Image Reading, Display and Exploration - - - imdisplay >> - -
-
-
- - - - IPCV >> Image Reading, Display and Exploration > imdestroyall - -

-

imdestroyall

-

Destroy ALL graphic window created using imdisplay (highgui).

- - -

Syntax

-
imdestroyall
- -

Parameters

-
- -

Description

-

This is a special function to destroy ALL the graphic window created using imdisplay.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-imdisplay(im,'MyImage');
-imdestroy('MyImage');
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdestroy - - - Image Reading, Display and Exploration - - - imdisplay >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_BRISK.html b/help/en_US/scilab_en_US_help/imdetect_BRISK.html deleted file mode 100644 index 0f39363..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_BRISK.html +++ /dev/null @@ -1,121 +0,0 @@ - - - imdetect_BRISK - - - -
- - - - -
- << imbestmatches - - - Feature Detection, Description and Matching - - - imdetect_FAST >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_BRISK - -

-

imdetect_BRISK

-

Detect features from an image with BRISK algorithm

- - -

Syntax

-
fobj = imdetect_BRISK(im [,thresh [,octaves [,patternScale]]]);
- -

Parameters

-
im : -

Input image

-
thresh : -

FAST/AGAST detection threshold score. Default value is 30.

-
octaves : -

detection octaves. Use 0 to do single scale. Default value is 3.

-
patternScale : -

apply this scale to the pattern used for sampling the neighbourhood of a keypoint. Default value is 1.0.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using BRISK method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_BRISK(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imbestmatches - - - Feature Detection, Description and Matching - - - imdetect_FAST >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_FAST.html b/help/en_US/scilab_en_US_help/imdetect_FAST.html deleted file mode 100644 index 76d5c28..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_FAST.html +++ /dev/null @@ -1,122 +0,0 @@ - - - imdetect_FAST - - - -
- - - - -
- << imdetect_BRISK - - - Feature Detection, Description and Matching - - - imdetect_GFTT >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_FAST - -

-

imdetect_FAST

-

Detect features from an image with FAST algorithm. Usually used for corner features.

- - -

Syntax

-
fobj = imdetect_FAST(im [,th [,nmS [,nb]]]);
- -

Parameters

-
im : -

Input image

-
th : -

threshold on difference between intensity of the central pixel and pixels of a circle around this pixel. Default value is 1.

-
nms : -

nonmaxSuppression, if 1, non-maximum suppression is applied to detected corners (keypoints). Default value is 1.

-
nb : -

one of the three neighborhoods, TYPE_5_8 = 0, TYPE_7_12 = 1, TYPE_9_16 = 2. Default value is 2.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using FAST method.Good for corner detection.

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_FAST(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-

2. Rosten. Machine Learning for High-speed Corner Detection, 2006.

-
- -
- - - - - - -
Report an issue
- << imdetect_BRISK - - - Feature Detection, Description and Matching - - - imdetect_GFTT >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_GFTT.html b/help/en_US/scilab_en_US_help/imdetect_GFTT.html deleted file mode 100644 index 7191c76..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_GFTT.html +++ /dev/null @@ -1,125 +0,0 @@ - - - imdetect_GFTT - - - -
- - - - -
- << imdetect_FAST - - - Feature Detection, Description and Matching - - - imdetect_MSER >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_GFTT - -

-

imdetect_GFTT

-

Detect features from an image with GFTT algorithm

- - -

Syntax

-
fobj = imdetect_GFTT(im [,maxCorner [,qualityLevel [,minDistance [,blockSize [,k]]]]]);
- -

Parameters

-
im : -

Input image

-
maxCorner : -

Maximum corders to be returned. Default value is 1000.

-
qualityLevel : -

Parameter characterizing the minimal accepted quality of image corners. Default value is 0.01.

-
minDistance : -

Minimum possible Euclidean distance between the returned corners. Default value is 1.

-
blockSize : -

Size of an average block for computing a derivative covariation matrix over each pixel neighborhood. Default value is 3.

-
k : -

Free parameter of the Harris detector. Default value is 0.04.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using GFTT method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_GFTT(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdetect_FAST - - - Feature Detection, Description and Matching - - - imdetect_MSER >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_MSER.html b/help/en_US/scilab_en_US_help/imdetect_MSER.html deleted file mode 100644 index dd6201a..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_MSER.html +++ /dev/null @@ -1,133 +0,0 @@ - - - imdetect_MSER - - - -
- - - - -
- << imdetect_GFTT - - - Feature Detection, Description and Matching - - - imdetect_ORB >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_MSER - -

-

imdetect_MSER

-

Detect features from an image with MSER algorithm

- - -

Syntax

-
fobj = imdetect_MSER(im [,delta [,min_area [,max_area [,max_variation [,min_diversity [,max_evolution [,area_threshold [,min_margin [,edge_blur_size]]]]]]]]]);
- -

Parameters

-
im : -

Input image

-
delta: -

Compares (sizei - sizei-delta)/sizei-delta. Default value is 5.

-
min_area : -

Prune the area which smaller than minArea. Default value is 60.

-
max_area : -

Prune the area which bigger than maxArea. Default value is 14400.

-
max_variation : -

Prune the area have simliar size to its children. Default value is 0.25.

-
min_diversity : -

For color image, trace back to cut off mser with diversity less than min_diversity. Default value is 0.2.

-
max_evolution : -

For color image, the evolution steps. Default value is 200.

-
area_threshold : -

For color image, the area threshold to cause re-initialize. Default value is 1.01.

-
min_margin : -

For color image, ignore too small margin. Default value is 0.003.

-
edge_blur_size : -

For color image, the aperture size for edge blur. Default value is 5.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using MSER method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_MSER(S,1);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdetect_GFTT - - - Feature Detection, Description and Matching - - - imdetect_ORB >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_ORB.html b/help/en_US/scilab_en_US_help/imdetect_ORB.html deleted file mode 100644 index 356664a..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_ORB.html +++ /dev/null @@ -1,132 +0,0 @@ - - - imdetect_ORB - - - -
- - - - -
- << imdetect_MSER - - - Feature Detection, Description and Matching - - - imdetect_SIFT >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_ORB - -

-

imdetect_ORB

-

Detect features from an image with ORB algorithm

- - -

Syntax

-
fobj = imdetect_ORB(im [,nfeatures [,scaleFactor [,nlevels [,edgeThreshold [,firstLevel [,WTA_K [,scoreType [,patchSize]]]]]]]]);
- -

Parameters

-
im : -

Input image

-
nfeatures: -

The maximum number of features to returned. Default value is 500.

-
scaleFactor : -

Pyramid decimation ratio, greater than 1. Default value is 1.2.

-
nlevels : -

The number of pyramid levels. Default value is 8.

-
edgeThreshold : -

This is size of the border where the features are not detected. It should roughly match the patchSize parameter. Default value is 31.

-
firstLevel : -

It should be 0 in the current implementation. Default value is 0.

-
WTA_K : -

The number of points that produce each element of the oriented BRIEF descriptor. Default value is 2.

-
scoreType : -

The default HARRIS_SCORE means that Harris algorithm is used to rank features. Default value is 0.

-
patchSize : -

size of the patch used by the oriented BRIEF descriptor. Default value is 31.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using ORB method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_ORB(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-

2. Ethan Rublee, Vincent Rabaud, Kurt Konolige, Gary R. Bradski: ORB: An efficient alternative to SIFT or SURF. ICCV 2011: 2564-2571.

-
- -
- - - - - - -
Report an issue
- << imdetect_MSER - - - Feature Detection, Description and Matching - - - imdetect_SIFT >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_SIFT.html b/help/en_US/scilab_en_US_help/imdetect_SIFT.html deleted file mode 100644 index 4695efa..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_SIFT.html +++ /dev/null @@ -1,125 +0,0 @@ - - - imdetect_SIFT - - - -
- - - - -
- << imdetect_ORB - - - Feature Detection, Description and Matching - - - imdetect_STAR >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_SIFT - -

-

imdetect_SIFT

-

Detect features from an image with SIFT algorithm

- - -

Syntax

-
fobj = imdetect_SIFT(im [,nfeatures [,nOctaveLayers [,contrastThreshold [,edgeThreshold [,sigma]]]]])
- -

Parameters

-
im : -

Input image

-
nfeatures : -

The number of best features to retain. The features are ranked by their scores. Default value is 0.

-
nOctaveLayers : -

The number of layers in each octave. Default value is 3.

-
contrastThreshold : -

The contrast threshold used to filter out weak features in semi-uniform (low-contrast) regions. Default value is 0.04.

-
edgeThreshold : -

The threshold used to filter out edge-like features. Default value is 10.

-
sigma : -

The sigma of the Gaussian applied to the input image at the octave #0. Default value is 1.6.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using SIFT method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_SIFT(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdetect_ORB - - - Feature Detection, Description and Matching - - - imdetect_STAR >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_STAR.html b/help/en_US/scilab_en_US_help/imdetect_STAR.html deleted file mode 100644 index d9e34f5..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_STAR.html +++ /dev/null @@ -1,125 +0,0 @@ - - - imdetect_STAR - - - -
- - - - -
- << imdetect_SIFT - - - Feature Detection, Description and Matching - - - imdetect_SURF >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_STAR - -

-

imdetect_STAR

-

Detect features from an image with STAR algorithm

- - -

Syntax

-
fobj = imdetect_STAR(im [,maxSize [,responseThreshold [,lineThresholdProjected [,lineThresholdBinarized [,suppressNonmaxSize]]]]]);
- -

Parameters

-
im : -

Input image

-
maxSize : -

Maximum size of the features. Default value is 16.

-
responseThreshold : -

Response threshold. Default value is 30.

-
lineThresholdProjected : -

Default value is 10.

-
lineThresholdBinarized : -

Default value is 8.

-
suppressNonmaxSize : -

Default value is 5.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using STAR method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_STAR(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdetect_SIFT - - - Feature Detection, Description and Matching - - - imdetect_SURF >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetect_SURF.html b/help/en_US/scilab_en_US_help/imdetect_SURF.html deleted file mode 100644 index 7383516..0000000 --- a/help/en_US/scilab_en_US_help/imdetect_SURF.html +++ /dev/null @@ -1,125 +0,0 @@ - - - imdetect_SURF - - - -
- - - - -
- << imdetect_STAR - - - Feature Detection, Description and Matching - - - imdrawmatches >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdetect_SURF - -

-

imdetect_SURF

-

Detect features from an image with SURF algorithm

- - -

Syntax

-
fobj = imdetect_SURF(im [,hessianThreshold [,nOctaves [,nOctaveLayers [,extended [,upright]]]]])
- -

Parameters

-
im : -

Input image

-
hessianThreshold : -

Threshold for hessian keypoint detector used in SURF. Default value is 1000.

-
nOctaves : -

Number of pyramid octaves the keypoint detector will use. Default value is 4.

-
nOctaveLayers : -

Number of octave layers within each octave. Default value is 2.

-
extended : -

Extended descriptor flag. Default value is 1.

-
upright : -

Up-right or rotated features flag. Default value is 0.

-
fobj : -

Features object contains following fields -

-
type : -

Type of features

-
n : -

Numbers of detected features

-
x : -

Coordinates of the detected features - X

-
y : -

Coordinates of the detected features - Y

-
size : -

Size of detected features

-
angle : -

keypoint orientation

-
response : -

The response by which the most strong keypoints have been selected.

-
octave : -

pyramid octave in which the keypoint has been detected

-
class_id : -

object id

- -

Description

-

This function used to detect the features of an image using SURF method

-

- -

Examples

-
S = imcreatechecker(8,8,[1 0.5]);
-fobj = imdetect_SURF(S);
-imshow(S); plotfeature(fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdetect_STAR - - - Feature Detection, Description and Matching - - - imdrawmatches >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdetectobjects.html b/help/en_US/scilab_en_US_help/imdetectobjects.html deleted file mode 100644 index 63f030b..0000000 --- a/help/en_US/scilab_en_US_help/imdetectobjects.html +++ /dev/null @@ -1,98 +0,0 @@ - - - imdetectobjects - - - -
- - - - -
- << Object Detection - - - Object Detection - - - Object Tracking >> - -
-
-
- - - - IPCV >> Object Detection > imdetectobjects - -

-

imdetectobjects

-

Detect Objects In an Image with Cascade Classification

- - -

Syntax

-
r = imdetectobjects(S,cfn)
-r = imdetectobjects(S,cfn,fac)
-r = imdetectobjects(S,cfn,fac,minNB)
-r = imdetectobjects(S,cfn,fac,minNB,minSz)
-r = imdetectobjects(S,cfn,fac,minNB,minSz,maxSz)
- -

Parameters

-
S : -

Source image.

-
cfn : -

Classifier file name, in xml format.

-
fac : -

Parameter specifying how much the image size is reduced at each image scale. Default value is 1.1

-
minNB : -

Parameter specifying how many neighbors each candidate rectangle should have to retain it. Default value is 3

-
minSz : -

Minimum possible object size. Objects smaller than that are ignored. In [w h] format. Default value is [30 30]

-
maxSz : -

Maximum possible object size. Objects larger than that are ignored. In [w h] format. Default value not set will be unlimited

- -

Description

-

imdetectobjects Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/people2.jpg"));
-cfn = fullpath(getIPCVpath() + "/demos/haarcascade_frontalface_alt.xml");
-r = imdetectobjects(S,cfn);
-imshow(S);
-imrects(r,[0 255 0]);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Object Detection - - - Object Detection - - - Object Tracking >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdilate.html b/help/en_US/scilab_en_US_help/imdilate.html deleted file mode 100644 index 5fc4074..0000000 --- a/help/en_US/scilab_en_US_help/imdilate.html +++ /dev/null @@ -1,97 +0,0 @@ - - - imdilate - - - -
- - - - -
- << imcreatese - - - Morphological Operations - - - imerode >> - -
-
-
- - - - IPCV >> Morphological Operations > imdilate - -

-

imdilate

-

Image dilation

- - -

Syntax

-
imout = imdilate(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

The function dilates the source image using the specified structuring element -that determines the shape of a pixel neighborhood over which the maximum is taken.

-

- -

Examples

-
a = zeros(10,10);
-a(4:7,4:7) = 1;
-se = imcreatese('rect',3,3);
-b = imdilate(a,se);
-disp(b);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imcreatese - - - Morphological Operations - - - imerode >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdisplay.html b/help/en_US/scilab_en_US_help/imdisplay.html deleted file mode 100644 index 4a26a94..0000000 --- a/help/en_US/scilab_en_US_help/imdisplay.html +++ /dev/null @@ -1,86 +0,0 @@ - - - imdisplay - - - -
- - - - -
- << imdestroyall - - - Image Reading, Display and Exploration - - - imread >> - -
-
-
- - - - IPCV >> Image Reading, Display and Exploration > imdisplay - -

-

imdisplay

-

Display image using highgui for faster frame rate

- - -

Syntax

-
imdisplay(im, wn)
- -

Parameters

-
im : -

Input image which should be in RGB format.

-
wn : -

Graphic window name to differentiate one from another.

- -

Description

-

This is a special function to display the sequences of images from webcam for better speed. This graphic window must be close by : 1. Pressing Esc key with the window on focus. 2. Calling imdestroy(windowname)

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-imdisplay(im,'MyImage');
-imdestroy('MyImage');
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdestroyall - - - Image Reading, Display and Exploration - - - imread >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdistline.html b/help/en_US/scilab_en_US_help/imdistline.html deleted file mode 100644 index 4e20268..0000000 --- a/help/en_US/scilab_en_US_help/imdistline.html +++ /dev/null @@ -1,83 +0,0 @@ - - - imdistline - - - -
- - - - -
- << imchoose - - - Utilities and Interactive Tools - - - imlsusb >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imdistline - -

-

imdistline

-

Measure distance between 2 selected points in pixels.

- - -

Syntax

-
dist = imdistline()
- -

Parameters

-
dist : -

Computed distance

- -

Description

-

This function allows the user to select 2 points on the current figure and measure the distance between 2 points.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/balloons.png"));
-imshow(S);
-dist = imdistline();
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imchoose - - - Utilities and Interactive Tools - - - imlsusb >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdivide.html b/help/en_US/scilab_en_US_help/imdivide.html deleted file mode 100644 index ff517df..0000000 --- a/help/en_US/scilab_en_US_help/imdivide.html +++ /dev/null @@ -1,96 +0,0 @@ - - - imdivide - - - -
- - - - -
- << imcomplement - - - Image Arithmetic - - - imlincomb >> - -
-
-
- - - - IPCV >> Image Arithmetic > imdivide - -

-

imdivide

-

Divide two images or divide an image by an constant.

- - -

Syntax

-
imout = imdivide(im1, im2)
- -

Parameters

-
im1 : -

Input image.

-
im2 : -

Input image with the same size and same class with im1 , or a double scalar.

-
imout : -

The result of dividing im1 by im2 .

- -

Description

-

If im1 and im2 are images with the same size and same class, imdivide divides each element in im1 by the corresponding one in im2.

-

If im2 is a double scalar, the element in imout is the result of dividing the corresponding one in im1 by the double scalar. imout has the same size and class with im1.

-

If im1 is an integer matrix, the elements in the output matrix imout that exceed the range of the integer type will be truncated.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im1 = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-im2 = imread(fullpath(getIPCVpath() + "/images/peppers.png"));
-ims1 = imdivide(im1, im2);
-ims2 = imdivide(im1, 0.6);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imcomplement - - - Image Arithmetic - - - imlincomb >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdrawcontours.html b/help/en_US/scilab_en_US_help/imdrawcontours.html deleted file mode 100644 index 7a6eb53..0000000 --- a/help/en_US/scilab_en_US_help/imdrawcontours.html +++ /dev/null @@ -1,97 +0,0 @@ - - - imdrawcontours - - - -
- - - - -
- << imconvexHull - - - Structural Analysis and Shape Descriptors - - - imfindcontours >> - -
-
-
- - - - IPCV >> Structural Analysis and Shape Descriptors > imdrawcontours - -

-

imdrawcontours

-

Draw contours from the contour image.

- - -

Syntax

-
So = imdrawcontour(Sc)
-So = imdrawcontour(Sc,colormap)
-So = imdrawcontour(Sc,colormap,thickness)
- -

Parameters

-
Sc : -

Input contour image

-
colormap : -

Colormap used to draw the contour

-
thickness : -

Thickness of the contours

-
So : -

Output contours in RGB

- -

Description

-

This function used to draw the contours in RGB, with colormap and thickness.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-Sbw = im2bw(S,0.5);
-Sc = imfindContours(Sbw);
-So = imdrawContours(Sc);
-imshow(So);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imconvexHull - - - Structural Analysis and Shape Descriptors - - - imfindcontours >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imdrawmatches.html b/help/en_US/scilab_en_US_help/imdrawmatches.html deleted file mode 100644 index d700a6c..0000000 --- a/help/en_US/scilab_en_US_help/imdrawmatches.html +++ /dev/null @@ -1,107 +0,0 @@ - - - imdrawmatches - - - -
- - - - -
- << imdetect_SURF - - - Feature Detection, Description and Matching - - - imextract_DescriptorBRISK >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imdrawmatches - -

-

imdrawmatches

-

Draw matching result for 2 images

- - -

Syntax

-
imout = imdrawmatches(im1,im2,fobj1,fobj2,m);
- -

Parameters

-
im1 : -

First input image

-
im2 : -

Second input image

-
fobj1 : -

First feature object

-
fobj2 : -

Second feature object

-
m : -

Matching matrix

-
imout : -

Output matching image

- -

Description

-

This function used to draw matching result for 2 images with the features object and matching matrix provided.

-

- -

Examples

-
// Read the image and rotate it by 45 degrees
-S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S2 = imrotate(S,45);
-// Use the ORB to detect features
-f1 = imdetect_ORB(S)
-f2 = imdetect_ORB(S2)
-// Extract the descriptor
-d1 = imextract_DescriptorORB(S,f1);
-d2 = imextract_DescriptorORB(S2,f2);
-// Feature matching
-m = immatch_BruteForce(d1,d2,4)
-// Find the 10 best matches
-[fout1,fout2,mout] = imbestmatches(f1,f2,m,10);
-// Draw the matches
-SS = imdrawmatches(S,S2,fout1,fout2,mout);
-// Show the comparison
-imshow(SS);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdetect_SURF - - - Feature Detection, Description and Matching - - - imextract_DescriptorBRISK >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imerode.html b/help/en_US/scilab_en_US_help/imerode.html deleted file mode 100644 index 2c26f27..0000000 --- a/help/en_US/scilab_en_US_help/imerode.html +++ /dev/null @@ -1,97 +0,0 @@ - - - imerode - - - -
- - - - -
- << imdilate - - - Morphological Operations - - - imfill >> - -
-
-
- - - - IPCV >> Morphological Operations > imerode - -

-

imerode

-

Image erosion

- - -

Syntax

-
imout = imerode(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

The function erodes the source image using the specified structuring element -that determines the shape of a pixel neighborhood over which the minimum is taken.

-

- -

Examples

-
a = zeros(10,10);
-a(4:7,4:7) = 1;
-se = imcreatese('rect',3,3);
-b = imerode(a,se);
-disp(b);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdilate - - - Morphological Operations - - - imfill >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imextract_DescriptorBRISK.html b/help/en_US/scilab_en_US_help/imextract_DescriptorBRISK.html deleted file mode 100644 index 6ba5eb6..0000000 --- a/help/en_US/scilab_en_US_help/imextract_DescriptorBRISK.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imextract_DescriptorBRISK - - - -
- - - - -
- << imdrawmatches - - - Feature Detection, Description and Matching - - - imextract_DescriptorORB >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imextract_DescriptorBRISK - -

-

imextract_DescriptorBRISK

-

Computes the descriptors for a set of keypoints detected in an image with BRISK method.

- - -

Syntax

-
des = imextract_DescriptorBRISK(im1,fobj1);
- -

Parameters

-
im1 : -

Input image

-
fobj1 : -

Features

-
des : -

Descriptors for the features

- -

Description

-

This function extracts the descriptors of an image's features with BRISK method

-

- -

Examples

-
S = imcreatechecker(8,4,[1 0.5]);
-fobj = imdetect_BRISK(S);
-imshow(S); plotfeature(fobj);
-des = imextract_DescriptorBRISK(S,fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdrawmatches - - - Feature Detection, Description and Matching - - - imextract_DescriptorORB >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imextract_DescriptorORB.html b/help/en_US/scilab_en_US_help/imextract_DescriptorORB.html deleted file mode 100644 index da6c9ae..0000000 --- a/help/en_US/scilab_en_US_help/imextract_DescriptorORB.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imextract_DescriptorORB - - - -
- - - - -
- << imextract_DescriptorBRISK - - - Feature Detection, Description and Matching - - - imextract_DescriptorSIFT >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imextract_DescriptorORB - -

-

imextract_DescriptorORB

-

Computes the descriptors for a set of keypoints detected in an image with ORB method.

- - -

Syntax

-
des = imextract_DescriptorORB(im1,fobj1);
- -

Parameters

-
im1 : -

Input image

-
fobj1 : -

Features

-
des : -

Descriptors for the features

- -

Description

-

This function extracts the descriptors of an image's features with ORB method

-

- -

Examples

-
S = imcreatechecker(8,4,[1 0.5]);
-fobj = imdetect_ORB(S);
-imshow(S); plotfeature(fobj);
-des = imextract_DescriptorORB(S,fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imextract_DescriptorBRISK - - - Feature Detection, Description and Matching - - - imextract_DescriptorSIFT >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imextract_DescriptorSIFT.html b/help/en_US/scilab_en_US_help/imextract_DescriptorSIFT.html deleted file mode 100644 index 4291ed2..0000000 --- a/help/en_US/scilab_en_US_help/imextract_DescriptorSIFT.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imextract_DescriptorSIFT - - - -
- - - - -
- << imextract_DescriptorORB - - - Feature Detection, Description and Matching - - - imextract_DescriptorSURF >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imextract_DescriptorSIFT - -

-

imextract_DescriptorSIFT

-

Computes the descriptors for a set of keypoints detected in an image with SIFT method.

- - -

Syntax

-
des = imextract_DescriptorSIFT(im1,fobj1);
- -

Parameters

-
im1 : -

Input image

-
fobj1 : -

Features

-
des : -

Descriptors for the features

- -

Description

-

This function extracts the descriptors of an image's features with ORB method

-

- -

Examples

-
S = imcreatechecker(8,4,[1 0.5]);
-fobj = imdetect_SIFT(S);
-imshow(S); plotfeature(fobj);
-des = imextract_DescriptorSIFT(S,fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imextract_DescriptorORB - - - Feature Detection, Description and Matching - - - imextract_DescriptorSURF >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imextract_DescriptorSURF.html b/help/en_US/scilab_en_US_help/imextract_DescriptorSURF.html deleted file mode 100644 index 73b7d78..0000000 --- a/help/en_US/scilab_en_US_help/imextract_DescriptorSURF.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imextract_DescriptorSURF - - - -
- - - - -
- << imextract_DescriptorSIFT - - - Feature Detection, Description and Matching - - - immatch_BruteForce >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > imextract_DescriptorSURF - -

-

imextract_DescriptorSURF

-

Computes the descriptors for a set of keypoints detected in an image with SURF method.

- - -

Syntax

-
des = imextract_DescriptorSURF(im1,fobj1);
- -

Parameters

-
im1 : -

Input image

-
fobj1 : -

Features

-
des : -

Descriptors for the features

- -

Description

-

This function extracts the descriptors of an image's features with SURF method

-

- -

Examples

-
S = imcreatechecker(8,4,[1 0.5]);
-fobj = imdetect_SURF(S);
-imshow(S); plotfeature(fobj);
-des = imextract_DescriptorSURF(S,fobj);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imextract_DescriptorSIFT - - - Feature Detection, Description and Matching - - - immatch_BruteForce >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imfill.html b/help/en_US/scilab_en_US_help/imfill.html deleted file mode 100644 index 9d25370..0000000 --- a/help/en_US/scilab_en_US_help/imfill.html +++ /dev/null @@ -1,87 +0,0 @@ - - - imfill - - - -
- - - - -
- << imerode - - - Morphological Operations - - - imgradient >> - -
-
-
- - - - IPCV >> Morphological Operations > imfill - -

-

imfill

-

Filling holes for objects in a binary image

- - -

Syntax

-
imout = imfill(imin)
- -

Parameters

-
imin : -

A binary image

-
imout : -

The output with the holes filled.

- -

Description

-

This function used to fill the holes in a binary image for better object detection purpose.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/" + 'coins_gray.jpg'));
-subplot(131);imshow(S);
-Sbin = im2bw(~S,0.5);
-subplot(132);imshow(Sbin);
-Sfill = imfill(Sbin);
-subplot(133);imshow(Sfill);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imerode - - - Morphological Operations - - - imgradient >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imfilter.html b/help/en_US/scilab_en_US_help/imfilter.html deleted file mode 100644 index c0064a5..0000000 --- a/help/en_US/scilab_en_US_help/imfilter.html +++ /dev/null @@ -1,93 +0,0 @@ - - - imfilter - - - -
- - - - -
- << fspecial - - - Image Linear Filtering - - - Image Reading, Display and Exploration >> - -
-
-
- - - - IPCV >> Image Linear Filtering > imfilter - -

-

imfilter

-

Image filtering

- - -

Syntax

-
imf = imfilter(im, F, bound, opsz)
- -

Parameters

-
im : -

An image which will be filterd. The image can be UINT8, INT8, UINT16, INT16, INT32, DOUBLE.

-
F : -

A double 2D filter.

-
imf : -

The filtered image which has the same dimension and class with im .

-
bound : -

Type of boundary, values or keywords. Current supported type with keyword is 'circular'.

-
opsz : -

Output image size, either 'full' or 'same'.

- -

Description

-

imfilter filters an image im with filter F. When im is a mult-channel image, each channel can be filtered with F seperately. Input image pixel values outside the bounds of the image are assumed to equal the nearest array border value.

-

The only diffence of filter2 with imfilter is the output of filter2 is double matrix, and the output of imfilter has the same type as input and the elements in the output matrix that exceed the range of the integer type will be truncated.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-filter = fspecial('sobel');
-imf = imfilter(im, filter);
-imshow(imf);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fspecial - - - Image Linear Filtering - - - Image Reading, Display and Exploration >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imfindcontours.html b/help/en_US/scilab_en_US_help/imfindcontours.html deleted file mode 100644 index 6d6a64a..0000000 --- a/help/en_US/scilab_en_US_help/imfindcontours.html +++ /dev/null @@ -1,91 +0,0 @@ - - - imfindcontours - - - -
- - - - -
- << imdrawcontours - - - Structural Analysis and Shape Descriptors - - - Super Resolution >> - -
-
-
- - - - IPCV >> Structural Analysis and Shape Descriptors > imfindcontours - -

-

imfindcontours

-

Finds contours in a binary image.

- - -

Syntax

-
Sc = imfindcontour(Sbw)
- -

Parameters

-
Sbw : -

Input binary image

-
Sc : -

Output labelled image with detected contours, each contour labelled with same indices.

- -

Description

-

This function used to find the contours of a binary image, returned in labelled image format.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-Sbw = im2bw(S,0.5);
-Sc = imfindContours(Sbw);
-So = imdrawContours(Sc);
-imshow(So);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imdrawcontours - - - Structural Analysis and Shape Descriptors - - - Super Resolution >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imfuse.html b/help/en_US/scilab_en_US_help/imfuse.html deleted file mode 100644 index 9f586be..0000000 --- a/help/en_US/scilab_en_US_help/imfuse.html +++ /dev/null @@ -1,93 +0,0 @@ - - - imfuse - - - -
- - - - -
- << Image Registration and Image Fusion - - - Image Registration and Image Fusion - - - imgettransform >> - -
-
-
- - - - IPCV >> Image Registration and Image Fusion > imfuse - -

-

imfuse

-

Image fusion

- - -

Syntax

-
y = imfuse(x1,x2,method,alpha);
- -

Parameters

-
x1 : -

First image

-
x2 : -

Second image

-
method : -

Fusion method, currently support 'colordiff', 'composite', 'diff','cascade', 'max' and 'min'

-
alpha : -

ration for composite method

-
y : -

Fused image

- -

Description

-

The function combine 2 images together using different method.

-

- -

Examples

-
I1 = imread(fullpath(getIPCVpath() + "/images/lena.bmp"));
-I2 = imread(fullpath(getIPCVpath() + "/images/lena7030.bmp"));
-[S,TR,ROT,SC]=imphasecorr(I1,I2);
-y = imfuse(I1,S,'colordiff');
-imshow(y);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << Image Registration and Image Fusion - - - Image Registration and Image Fusion - - - imgettransform >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imgettransform.html b/help/en_US/scilab_en_US_help/imgettransform.html deleted file mode 100644 index df5a763..0000000 --- a/help/en_US/scilab_en_US_help/imgettransform.html +++ /dev/null @@ -1,89 +0,0 @@ - - - imgettransform - - - -
- - - - -
- << imfuse - - - Image Registration and Image Fusion - - - imtransform >> - -
-
-
- - - - IPCV >> Image Registration and Image Fusion > imgettransform - -

-

imgettransform

-

Get transformation matrix from given source and destination points

- - -

Syntax

-
mat = imgettransform(src,tgt)
- -

Parameters

-
src : -

Source points

-
tgt : -

Target points

-
tf_type : -

Transformation type, affine or perspective

-
mat : -

Transformation matrix

- -

Description

-

This functions create the transformation matrix for affine and perspective transform operation.

-

- -

Examples

-
src = [261 412; 170 348; 213 282];
-tgt = [175 412; 170 308; 251 308];
-mat = imgettransform(src,tgt,'affine')
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imfuse - - - Image Registration and Image Fusion - - - imtransform >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imgradient.html b/help/en_US/scilab_en_US_help/imgradient.html deleted file mode 100644 index 751cdf2..0000000 --- a/help/en_US/scilab_en_US_help/imgradient.html +++ /dev/null @@ -1,96 +0,0 @@ - - - imgradient - - - -
- - - - -
- << imfill - - - Morphological Operations - - - imhitmiss >> - -
-
-
- - - - IPCV >> Morphological Operations > imgradient - -

-

imgradient

-

Image gradient

- - -

Syntax

-
imout = imgradient(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

This operation is the difference between the dilation and the erosion of an image. -It is useful for finding the outline of an object .(it is assumed that the objects are bright on a dark foreground)

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/morpex.png"));
-se = imcreatese('ellipse',3,3);
-S2 = imgradient(S,se);
-imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imfill - - - Morphological Operations - - - imhitmiss >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imgraythresh.html b/help/en_US/scilab_en_US_help/imgraythresh.html deleted file mode 100644 index 22bf0e1..0000000 --- a/help/en_US/scilab_en_US_help/imgraythresh.html +++ /dev/null @@ -1,87 +0,0 @@ - - - imgraythresh - - - -
- - - - -
- << im2uint8 - - - Image Types and Color Space Conversions - - - imnorm >> - -
-
-
- - - - IPCV >> Image Types and Color Space Conversions > imgraythresh - -

-

imgraythresh

-

Calculate Otsu's Global threshold value

- - -

Syntax

-
level = imgraythresh (I)
- -

Parameters

-
I : -

Source Image

-
level : -

Otsu's threshold value

- -

Description

-

The function uses Otsu's method, which chooses the threshold to -minimize the intraclass variance of the black and white pixels.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/three_objects.png"));
-th = imgraythresh(S);
-S2 = im2bw(S,th);
-figure(); imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << im2uint8 - - - Image Types and Color Space Conversions - - - imnorm >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imhist.html b/help/en_US/scilab_en_US_help/imhist.html deleted file mode 100644 index b8dc40b..0000000 --- a/help/en_US/scilab_en_US_help/imhist.html +++ /dev/null @@ -1,105 +0,0 @@ - - - imhist - - - -
- - - - -
- << edge - - - Image Analysis and Statistics - - - impixel >> - -
-
-
- - - - IPCV >> Image Analysis and Statistics > imhist - -

-

imhist

-

get the histogram of an image

- - -

Syntax

-
[counts, cells] = imhist(im)
-[counts, cells] = imhist(im, bins)
-[counts, cells] = imhist(im, bins [,width [,color]])
- -

Parameters

-
im : -

An image, which can be a boolean, uint8 , int8 , uint16 , int16 , int32 or double image.

-
bins : -

The number of bins of the histogram. If bins is not specified, the function will used default value which determined by the image type: 2 for boolen, 2^8 for uint8 and int8, 2^16 for uint16 and int16, 2^16 for int32 (2^32 will need huge computer memory), and 10 for double.

-
width : -

This argument will be sent to bar function. It is a real scalar, defines the width (a percentage of the available room) for the bar (default: 0.8, i.e 80%).

-
color : -

This argument will be sent to bar function. It is a string (default: 'blue'), specifing the inside color bar.

-
counts : -

the returned histogram.

-
cells : -

the intervals for bins.

- -

Description

-

imhist return the histogram of an image. If more than 2 arguments are give, the histogram will be shown in a figure.

-

If step is the step of scalar cells (cells(i+1)=cells(i)+step), the i'th bin is half-open interval (cells(i)-step/2, cells(i)+step/2] for i > 1, and [cells(1)-step/2, cells(1)+step/2] for i=1.

-

If more than 2 arguments are given, the function will call bar(cells, counts, ...) and send rest arguments to bar function to display the histogram.

-

Supported image type -BOOLEAN, UINT8, INT8, UINT16, INT16, INT32, DOUBLE.

-

- -

Examples

-
im = imread(fullpath(getIPCVpath() + "/images/baboon.png"));
-im = rgb2gray(im);
-[count, cells]=imhist(im);
-[count, cells]=imhist(im, 10);
-scf(0); imhist(im, 10, '');
-scf(1); imhist(im, 10, 0.5);
-scf(2); imhist(im, 10, 'green');
-scf(3); imhist(im, 10, 0.8, 'green');
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << edge - - - Image Analysis and Statistics - - - impixel >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imhistequal.html b/help/en_US/scilab_en_US_help/imhistequal.html deleted file mode 100644 index 2680d68..0000000 --- a/help/en_US/scilab_en_US_help/imhistequal.html +++ /dev/null @@ -1,93 +0,0 @@ - - - imhistequal - - - -
- - - - -
- << imdecorrstretch - - - Image Enhancement and Restoration - - - iminpaint >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > imhistequal - -

-

imhistequal

-

Histogram Equalization

- - -

Syntax

-
y = imhistequal(x)
- -

Parameters

-
x : -

Source Image

-
y : -

Output Image with enhanced contrast of images

- -

Description

-

This method usually increases the global contrast of many images, -especially when the usable data of the image is represented by close -contrast values. Through this adjustment, the intensities can be better -distributed on the histogram. This allows for areas of lower local -contrast to gain a higher contrast. Histogram equalization accomplishes -this by effectively spreading out the most frequent intensity values.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/Lena_dark.png"));
-J = imhistequal(S);
-imshow(S);
-figure(); imshow(J);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. Wikipedia : http://en.wikipedia.org/wiki/Histogram_equalization

-
- -
- - - - - - -
Report an issue
- << imdecorrstretch - - - Image Enhancement and Restoration - - - iminpaint >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imhitmiss.html b/help/en_US/scilab_en_US_help/imhitmiss.html deleted file mode 100644 index df23095..0000000 --- a/help/en_US/scilab_en_US_help/imhitmiss.html +++ /dev/null @@ -1,95 +0,0 @@ - - - imhitmiss - - - -
- - - - -
- << imgradient - - - Morphological Operations - - - imlabel >> - -
-
-
- - - - IPCV >> Morphological Operations > imhitmiss - -

-

imhitmiss

-

Image Hit-Miss

- - -

Syntax

-
imout = imhitmiss(imin,se)
- -

Parameters

-
imin : -

Input image

-
se : -

Structure element

-
imout : -

Output image

- -

Description

-

The function perform hit-miss operation on the source image using the specified structuring element.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/morpex.png"));
-se = imcreatese('ellipse',11,11);
-S2 = imhitmiss(S,se);
-imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imgradient - - - Morphological Operations - - - imlabel >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imhough.html b/help/en_US/scilab_en_US_help/imhough.html deleted file mode 100644 index 1c81204..0000000 --- a/help/en_US/scilab_en_US_help/imhough.html +++ /dev/null @@ -1,89 +0,0 @@ - - - imhough - - - -
- - - - -
- << imdct - - - Image Transforms - - - imhoughc >> - -
-
-
- - - - IPCV >> Image Transforms > imhough - -

-

imhough

-

Image Hough transformation

- - -

Syntax

-
[HM, rho, th] = imhough(S)
- -

Parameters

-
S : -

Source Image

-
HM : -

Hough Matrix

-
rho : -

Distance from center to the point

-
th : -

Angle from the center to the point

- -

Description

-

Applies Hough transformation to an image.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/2lines.png"));
-[HM, rho, th] = imhough(S);
-scf();Sgrayplot(th,rho,HM',strf="021");
-xset("colormap",hotcolormap(64))
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdct - - - Image Transforms - - - imhoughc >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imhoughc.html b/help/en_US/scilab_en_US_help/imhoughc.html deleted file mode 100644 index 1c8038e..0000000 --- a/help/en_US/scilab_en_US_help/imhoughc.html +++ /dev/null @@ -1,79 +0,0 @@ - - - imhoughc - - - -
- - - - -
- << imhough - - - Image Transforms - - - imidct >> - -
-
-
- - - - IPCV >> Image Transforms > imhoughc - -

-

imhoughc

-

Image Hough transformation for Circle Detection

- - -

Syntax

-
- -

Parameters

-
- -

Description

-

-

- -

Examples

-
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imhough - - - Image Transforms - - - imidct >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imidct.html b/help/en_US/scilab_en_US_help/imidct.html deleted file mode 100644 index 7526aab..0000000 --- a/help/en_US/scilab_en_US_help/imidct.html +++ /dev/null @@ -1,89 +0,0 @@ - - - imidct - - - -
- - - - -
- << imhoughc - - - Image Transforms - - - imlogpolar >> - -
-
-
- - - - IPCV >> Image Transforms > imidct - -

-

imidct

-

Inverse discrete cosine transform (DCT)

- - -

Syntax

-
y = imdct(x);
- -

Parameters

-
x : -

Input Matrix (1D or 2D)

-
y : -

Output Matrix same dimension with x

- -

Description

-

Performs an inverse discrete Cosine transform of 1D or 2D array.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/measure_gray.jpg"));
-y = imdct(S);
-y2 = zeros(y);
-y2(1:100,1:100) = y(1:100,1:100);
-imshow(y2,jetcolormap(256));
-S2 = imidct(y2);
-imshow(S2./255);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imhoughc - - - Image Transforms - - - imlogpolar >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/iminpaint.html b/help/en_US/scilab_en_US_help/iminpaint.html deleted file mode 100644 index 63bbe66..0000000 --- a/help/en_US/scilab_en_US_help/iminpaint.html +++ /dev/null @@ -1,97 +0,0 @@ - - - iminpaint - - - -
- - - - -
- << imhistequal - - - Image Enhancement and Restoration - - - immedian >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > iminpaint - -

-

iminpaint

-

Restores the selected region in an image using the region neighborhood

- - -

Syntax

-
imout = iminpaint(imin,mask,rad,method)
- -

Parameters

-
imin : -

Input Image

-
mask : -

Input mask

-
rad : -

Radius of a circular neighborhood of each point inpainted that is considered by the algorithm

-
method : -

Inpainting method that could be either 0 --> Navier-Stokes based method or 1 --> Method by Alexandru Telea

-
imout : -

Output Image

- -

Description

-

The function reconstructs the selected image area from the pixel near the area boundary. -The function may be used to remove dust and scratches from a scanned photo, or to remove undesirable objects from still images or video.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-mask = imroi(S);
-imout = iminpaint(S,mask,1,1);
-imshow(S);
-figure(); imshow(imout);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. http://en.wikipedia.org/wiki/Inpainting

-
- -
- - - - - - -
Report an issue
- << imhistequal - - - Image Enhancement and Restoration - - - immedian >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imlabel.html b/help/en_US/scilab_en_US_help/imlabel.html deleted file mode 100644 index 0df8938..0000000 --- a/help/en_US/scilab_en_US_help/imlabel.html +++ /dev/null @@ -1,89 +0,0 @@ - - - imlabel - - - -
- - - - -
- << imhitmiss - - - Morphological Operations - - - imopen >> - -
-
-
- - - - IPCV >> Morphological Operations > imlabel - -

-

imlabel

-

Find blobs in an image

- - -

Syntax

-
[imout,n] = imlabel(imin)
- -

Parameters

-
imin : -

Source Image

-
n : -

Number of detected objects

-
imout : -

Labeled Image

- -

Description

-

This function find all components on an image.

-

- -

Examples

-
A = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-A_edge = edge(A,'canny');
-se = imcreatese('ellipse',15,15);
-A_dilate = imdilate(A_edge,se);
-[A_labeled,n] = imlabel(A_dilate);
-imshow(A_labeled,jetcolormap(n));
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imhitmiss - - - Morphological Operations - - - imopen >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imlincomb.html b/help/en_US/scilab_en_US_help/imlincomb.html deleted file mode 100644 index dd9b1fc..0000000 --- a/help/en_US/scilab_en_US_help/imlincomb.html +++ /dev/null @@ -1,104 +0,0 @@ - - - imlincomb - - - -
- - - - -
- << imdivide - - - Image Arithmetic - - - immultiply >> - -
-
-
- - - - IPCV >> Image Arithmetic > imlincomb - -

-

imlincomb

-

Linear combination of images

- - -

Syntax

-
imout = imlincomb(k1, im1, k2, im2, ..., kn, imn)
-imout = imlincomb(k1, im1, k2, im2, ..., kn, imn, K)
-imout = imlincomb(..., output_class)
- -

Parameters

-
im1, im2, ..., imn : -

Input images with the same size and class.

-
k1, k2, ..., kn : -

Double scalars.

-
K : -

Offset, a double scalar.

-
output_class : -

A string which specifies the output image class. The value of output_class can be 'int8', 'uint8', 'int16', 'uint16', 'int32' or 'constant'.

-
imout : -

The linear combination of input images, which has the same size and class with input images or specified by output_class .

- -

Description

-

imcomplement computes the linear combination of input images.

-

imout = k1*im1 + k2*im2 + ... + kn*imn [+K]

-

If imout is an integer matrix, the elements in the output matrix imout that exceed the range of the integer type will be truncated.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im1 = uint8([0, 50, 100; 150, 200, 250]);
-im2 = uint8([1, 52, 103; 154, 205, 255]);
-imlincomb( 0.43, im1, 0.7, im2)
-imlincomb( 0.43, im1, 0.7, im2, 4)
-imlincomb( 0.43, im1, 0.7, im2, 4, 'int16')
-imlincomb( 0.43, im1, 0.7, im2, 4, 'constant')
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdivide - - - Image Arithmetic - - - immultiply >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imlogpolar.html b/help/en_US/scilab_en_US_help/imlogpolar.html deleted file mode 100644 index 0a77d0d..0000000 --- a/help/en_US/scilab_en_US_help/imlogpolar.html +++ /dev/null @@ -1,88 +0,0 @@ - - - imlogpolar - - - -
- - - - -
- << imidct - - - Image Transforms - - - imradon >> - -
-
-
- - - - IPCV >> Image Transforms > imlogpolar - -

-

imlogpolar

-

Remaps an image to log-polar space.

- - -

Syntax

-
y = imlogpolar(x,m);
- -

Parameters

-
x : -

Input image

-
m : -

Magnitude scale parameter

-
y : -

Output image

- -

Description

-

The function cvLogPolar transforms the source image using the following transformation: -p = m*log(sqrt(x^2 + y^2)), phi = atan(y/x)

-

- -

Examples

-
x = imread(fullpath(getIPCVpath() + "/images/balloons.png"));
-y = imlogpolar(x);
-imshow(y);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imidct - - - Image Transforms - - - imradon >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imlsusb.html b/help/en_US/scilab_en_US_help/imlsusb.html deleted file mode 100644 index 6506e43..0000000 --- a/help/en_US/scilab_en_US_help/imlsusb.html +++ /dev/null @@ -1,80 +0,0 @@ - - - imlsusb - - - -
- - - - -
- << imdistline - - - Utilities and Interactive Tools - - - impixelval >> - -
-
-
- - - - IPCV >> Utilities and Interactive Tools > imlsusb - -

-

imlsusb

-

List all USB devices connected to PC (linux only)

- - -

Syntax

-
out = imlsusb()
- -

Parameters

-
out : -

Strings containing the devices information

- -

Description

-

The function list all the devices connected to the PC through USB ports.

-

- -

Examples

-
imlsusb()
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imdistline - - - Utilities and Interactive Tools - - - impixelval >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/immatch_BruteForce.html b/help/en_US/scilab_en_US_help/immatch_BruteForce.html deleted file mode 100644 index efb3f97..0000000 --- a/help/en_US/scilab_en_US_help/immatch_BruteForce.html +++ /dev/null @@ -1,106 +0,0 @@ - - - immatch_BruteForce - - - -
- - - - -
- << imextract_DescriptorSURF - - - Feature Detection, Description and Matching - - - plotfeature >> - -
-
-
- - - - IPCV >> Feature Detection, Description and Matching > immatch_BruteForce - -

-

immatch_BruteForce

-

Brute-force matcher for features matching.

- - -

Syntax

-
m = immatch_BruteForce(des1,des2,normType);
- -

Parameters

-
des1 : -

First descriptor

-
des2 : -

Second descriptor

-
normType : -

One of NORM_L1, NORM_L2, NORM_HAMMING, NORM_HAMMING2. L1 and L2 norms are preferable choices for SIFT and SURF descriptors, NORM_HAMMING should be used with ORB, BRISK and BRIEF, NORM_HAMMING2 should be used with ORB when WTA_K==3 or 4 (see ORB::ORB constructor description).

-
m : -

Mathching matrix

- -

Description

-

This function used to Brute-force matcher to match the given descriptors.

-

- -

Examples

-
// Read the image and rotate it by 45 degrees
-S = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
-S2 = imrotate(S,45);
-// Use the ORB to detect features
-f1 = imdetect_ORB(S)
-f2 = imdetect_ORB(S2)
-// Extract the descriptor
-d1 = imextract_DescriptorORB(S,f1);
-d2 = imextract_DescriptorORB(S2,f2);
-// Feature matching
-m = immatch_BruteForce(d1,d2,4)
-// Find the 10 best matches
-[fout1,fout2,mout] = imbestmatches(f1,f2,m,10);
-// Draw the matches
-SS = imdrawmatches(S,S2,fout1,fout2,mout);
-// Show the comparison
-imshow(SS);
- -

See also

-
- -

Authors

-
- -

Bibliography

-

1. OpenCV 2.4 Online Documentation

-
- -
- - - - - - -
Report an issue
- << imextract_DescriptorSURF - - - Feature Detection, Description and Matching - - - plotfeature >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/immedian.html b/help/en_US/scilab_en_US_help/immedian.html deleted file mode 100644 index b31127a..0000000 --- a/help/en_US/scilab_en_US_help/immedian.html +++ /dev/null @@ -1,87 +0,0 @@ - - - immedian - - - -
- - - - -
- << iminpaint - - - Image Enhancement and Restoration - - - imnoise >> - -
-
-
- - - - IPCV >> Image Enhancement and Restoration > immedian - -

-

immedian

-

Image median filter

- - -

Syntax

-
imout = immedian(imin,sz)
- -

Parameters

-
imin : -

Input image

-
sz : -

Size of the filter block

- -

Description

-

This function perform median filtering for an image, which effectively remove -pepper and salt noise.

-

- -

Examples

-
S = imread(fullpath(getIPCVpath() + "/images/coins_gray.jpg"));
-S_noise =  imnoise(S,'salt & pepper',0.02);
-imshow(S_noise);
-S2 = immedian(S_noise,3);
-figure; imshow(S2);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << iminpaint - - - Image Enhancement and Restoration - - - imnoise >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/immesh.html b/help/en_US/scilab_en_US_help/immesh.html deleted file mode 100644 index aad7858..0000000 --- a/help/en_US/scilab_en_US_help/immesh.html +++ /dev/null @@ -1,87 +0,0 @@ - - - immesh - - - -
- - - - -
- << fft2pad - - - Filter Design and Visualization - - - imsmoothsurf >> - -
-
-
- - - - IPCV >> Filter Design and Visualization > immesh - -

-

immesh

-

Visualize 2D matrix using mesh plot, useful for frequency response visualization.

- - -

Syntax

-
immesh(imin,n);
- -

Parameters

-
imin : -

Input Matrix

-
n : -

Number of points to plot

- -

Description

-

This function used to visualize the 2-D matrix as 3D mesh plot with the values -as the z-axes value. It is useful to visuallize the filter in frequency -domain, and also the frequency response of the images.

-

- -

Examples

-
f = fspecial('gaussian');
-F = fftshift(fft2pad(f,256,256));
-immesh(abs(F),100);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fft2pad - - - Filter Design and Visualization - - - imsmoothsurf >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/immultiply.html b/help/en_US/scilab_en_US_help/immultiply.html deleted file mode 100644 index 2fac2a1..0000000 --- a/help/en_US/scilab_en_US_help/immultiply.html +++ /dev/null @@ -1,96 +0,0 @@ - - - immultiply - - - -
- - - - -
- << imlincomb - - - Image Arithmetic - - - imsubtract >> - -
-
-
- - - - IPCV >> Image Arithmetic > immultiply - -

-

immultiply

-

Multiply two images or multiply an image by an constant.

- - -

Syntax

-
imout = immultiply(im1, im2)
- -

Parameters

-
im1 : -

Input image.

-
im2 : -

Input image with the same size and same class with im1 , or a double scalar.

-
imout : -

The product of im1 and im2 .

- -

Description

-

If im1 and im2 are images with the same size and same class, immultiply multiplies each element in im1 by the corresponding one in im2.

-

If im2 is a double scalar, the element in imout is the product of the corresponding one in im1 with the double scalar. imout has the same size and class with im1.

-

If im1 is an integer matrix, the elements in the output matrix imout that exceed the range of the integer type will be truncated.

-

Supported classes: INT8, UINT8, INT16, UINT16, INT32, DOUBLE.

-

- -

Examples

-
im1 = imread(fullpath(getIPCVpath() + "/images/" + 'baboon.png'));
-im2 = imread(fullpath(getIPCVpath() + "/images/" + 'peppers.png'));
-ims1 = immultiply(im1, im2);
-ims2 = immultiply(im1, 0.6);
- -

See also

-
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << imlincomb - - - Image Arithmetic - - - imsubtract >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/imnoise.html b/help/en_US/scilab_en_US_help/imnoise.html index dc3d17e..76aa370 100644 --- a/help/en_US/scilab_en_US_help/imnoise.html +++ b/help/en_US/scilab_en_US_help/imnoise.html @@ -16,7 +16,7 @@ - Image Enhancement and Restoration + Image Enhancement and Restoration @@ -29,7 +29,7 @@ - IPCV >> Image Enhancement and Restoration > imnoise + IPCV >> Image Enhancement and Restoration > imnoise

imnoise

@@ -110,7 +110,7 @@ - Image Enhancement and Restoration + Image Enhancement and Restoration diff --git a/help/en_US/scilab_en_US_help/imnorm.html b/help/en_US/scilab_en_US_help/imnorm.html index bed02d7..3114907 100644 --- a/help/en_US/scilab_en_US_help/imnorm.html +++ b/help/en_US/scilab_en_US_help/imnorm.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > imnorm + IPCV >> Image Types and Color Space Conversions > imnorm

imnorm

@@ -71,7 +71,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/imopen.html b/help/en_US/scilab_en_US_help/imopen.html index 32d38b9..868e2fd 100644 --- a/help/en_US/scilab_en_US_help/imopen.html +++ b/help/en_US/scilab_en_US_help/imopen.html @@ -16,7 +16,7 @@ - Morphological Operations + Morphological Operations @@ -29,7 +29,7 @@ - IPCV >> Morphological Operations > imopen + IPCV >> Morphological Operations > imopen

imopen

@@ -83,7 +83,7 @@ - Morphological Operations + Morphological Operations diff --git a/help/en_US/scilab_en_US_help/impixel.html b/help/en_US/scilab_en_US_help/impixel.html index a7c0ab1..9144138 100644 --- a/help/en_US/scilab_en_US_help/impixel.html +++ b/help/en_US/scilab_en_US_help/impixel.html @@ -16,7 +16,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics @@ -29,7 +29,7 @@ - IPCV >> Image Analysis and Statistics > impixel + IPCV >> Image Analysis and Statistics > impixel

impixel

@@ -76,7 +76,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics diff --git a/help/en_US/scilab_en_US_help/impixelval.html b/help/en_US/scilab_en_US_help/impixelval.html index 28203cb..6a89cc1 100644 --- a/help/en_US/scilab_en_US_help/impixelval.html +++ b/help/en_US/scilab_en_US_help/impixelval.html @@ -16,7 +16,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools @@ -29,7 +29,7 @@ - IPCV >> Utilities and Interactive Tools > impixelval + IPCV >> Utilities and Interactive Tools > impixelval

impixelval

@@ -67,7 +67,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools diff --git a/help/en_US/scilab_en_US_help/improfile.html b/help/en_US/scilab_en_US_help/improfile.html index 1da1b58..9526db4 100644 --- a/help/en_US/scilab_en_US_help/improfile.html +++ b/help/en_US/scilab_en_US_help/improfile.html @@ -16,7 +16,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics @@ -29,7 +29,7 @@ - IPCV >> Image Analysis and Statistics > improfile + IPCV >> Image Analysis and Statistics > improfile

improfile

@@ -75,7 +75,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics diff --git a/help/en_US/scilab_en_US_help/impyramid.html b/help/en_US/scilab_en_US_help/impyramid.html index 320850f..40f9650 100644 --- a/help/en_US/scilab_en_US_help/impyramid.html +++ b/help/en_US/scilab_en_US_help/impyramid.html @@ -16,7 +16,7 @@ - Spatial Transformations + Spatial Transformations @@ -29,7 +29,7 @@ - IPCV >> Spatial Transformations > impyramid + IPCV >> Spatial Transformations > impyramid

impyramid

@@ -81,7 +81,7 @@ - Spatial Transformations + Spatial Transformations diff --git a/help/en_US/scilab_en_US_help/imradon.html b/help/en_US/scilab_en_US_help/imradon.html index 473b4ba..1771915 100644 --- a/help/en_US/scilab_en_US_help/imradon.html +++ b/help/en_US/scilab_en_US_help/imradon.html @@ -16,11 +16,11 @@ - Image Transforms + Image Transforms - Image Types and Color Space Conversions >> + Image Types and Color Space Conversions >> @@ -29,7 +29,7 @@ - IPCV >> Image Transforms > imradon + IPCV >> Image Transforms > imradon

imradon

@@ -78,11 +78,11 @@ - Image Transforms + Image Transforms - Image Types and Color Space Conversions >> + Image Types and Color Space Conversions >> diff --git a/help/en_US/scilab_en_US_help/imread.html b/help/en_US/scilab_en_US_help/imread.html index cd3a936..6a68ae4 100644 --- a/help/en_US/scilab_en_US_help/imread.html +++ b/help/en_US/scilab_en_US_help/imread.html @@ -16,7 +16,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration @@ -29,7 +29,7 @@ - IPCV >> Image Reading, Display and Exploration > imread + IPCV >> Image Reading, Display and Exploration > imread

imread

@@ -74,7 +74,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration diff --git a/help/en_US/scilab_en_US_help/imrects.html b/help/en_US/scilab_en_US_help/imrects.html index b1be177..c94c20e 100644 --- a/help/en_US/scilab_en_US_help/imrects.html +++ b/help/en_US/scilab_en_US_help/imrects.html @@ -16,7 +16,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools @@ -29,7 +29,7 @@ - IPCV >> Utilities and Interactive Tools > imrects + IPCV >> Utilities and Interactive Tools > imrects

imrects

@@ -77,7 +77,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools diff --git a/help/en_US/scilab_en_US_help/imresize.html b/help/en_US/scilab_en_US_help/imresize.html index e6ac397..18e465b 100644 --- a/help/en_US/scilab_en_US_help/imresize.html +++ b/help/en_US/scilab_en_US_help/imresize.html @@ -16,7 +16,7 @@ - Spatial Transformations + Spatial Transformations @@ -29,7 +29,7 @@ - IPCV >> Spatial Transformations > imresize + IPCV >> Spatial Transformations > imresize

imresize

@@ -88,7 +88,7 @@ - Spatial Transformations + Spatial Transformations diff --git a/help/en_US/scilab_en_US_help/imroi.html b/help/en_US/scilab_en_US_help/imroi.html index 2770385..d4e74ce 100644 --- a/help/en_US/scilab_en_US_help/imroi.html +++ b/help/en_US/scilab_en_US_help/imroi.html @@ -16,7 +16,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools @@ -29,7 +29,7 @@ - IPCV >> Utilities and Interactive Tools > imroi + IPCV >> Utilities and Interactive Tools > imroi

imroi

@@ -82,7 +82,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools diff --git a/help/en_US/scilab_en_US_help/imroifill.html b/help/en_US/scilab_en_US_help/imroifill.html index f675127..76dcc0d 100644 --- a/help/en_US/scilab_en_US_help/imroifill.html +++ b/help/en_US/scilab_en_US_help/imroifill.html @@ -12,11 +12,11 @@
- << ROI Processing + << ROI Processing - ROI Processing + ROI Processing @@ -29,7 +29,7 @@ - IPCV >> ROI Processing > imroifill + IPCV >> ROI Processing > imroifill

imroifill

@@ -72,11 +72,11 @@
Report an issue
- << ROI Processing + << ROI Processing - ROI Processing + ROI Processing diff --git a/help/en_US/scilab_en_US_help/imroifilt.html b/help/en_US/scilab_en_US_help/imroifilt.html index 98739f8..cf63b3a 100644 --- a/help/en_US/scilab_en_US_help/imroifilt.html +++ b/help/en_US/scilab_en_US_help/imroifilt.html @@ -16,11 +16,11 @@ - ROI Processing + ROI Processing - Spatial Transformations >> + Spatial Transformations >>
@@ -29,7 +29,7 @@ - IPCV >> ROI Processing > imroifilt + IPCV >> ROI Processing > imroifilt

imroifilt

@@ -77,11 +77,11 @@ - ROI Processing + ROI Processing - Spatial Transformations >> + Spatial Transformations >> diff --git a/help/en_US/scilab_en_US_help/imrotate.html b/help/en_US/scilab_en_US_help/imrotate.html index 2fcbd62..957b01b 100644 --- a/help/en_US/scilab_en_US_help/imrotate.html +++ b/help/en_US/scilab_en_US_help/imrotate.html @@ -16,11 +16,11 @@ - Spatial Transformations + Spatial Transformations - Structural Analysis and Shape Descriptors >> + Structural Analysis and Shape Descriptors >> @@ -29,7 +29,7 @@ - IPCV >> Spatial Transformations > imrotate + IPCV >> Spatial Transformations > imrotate

imrotate

@@ -75,11 +75,11 @@ - Spatial Transformations + Spatial Transformations - Structural Analysis and Shape Descriptors >> + Structural Analysis and Shape Descriptors >> diff --git a/help/en_US/scilab_en_US_help/imselect.html b/help/en_US/scilab_en_US_help/imselect.html index c590cab..b6c4b2c 100644 --- a/help/en_US/scilab_en_US_help/imselect.html +++ b/help/en_US/scilab_en_US_help/imselect.html @@ -16,7 +16,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools @@ -29,7 +29,7 @@ - IPCV >> Utilities and Interactive Tools > imselect + IPCV >> Utilities and Interactive Tools > imselect

imselect

@@ -76,7 +76,7 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools diff --git a/help/en_US/scilab_en_US_help/imshow.html b/help/en_US/scilab_en_US_help/imshow.html index 6d508a6..45fb38a 100644 --- a/help/en_US/scilab_en_US_help/imshow.html +++ b/help/en_US/scilab_en_US_help/imshow.html @@ -16,7 +16,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration @@ -29,7 +29,7 @@ - IPCV >> Image Reading, Display and Exploration > imshow + IPCV >> Image Reading, Display and Exploration > imshow

imshow

@@ -60,7 +60,7 @@ imshow(im); f = scf(); imshow(im, 1); -if with_tk() then +if with_tk() then imshow(im, 2); end
@@ -84,7 +84,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration diff --git a/help/en_US/scilab_en_US_help/imsmoothsurf.html b/help/en_US/scilab_en_US_help/imsmoothsurf.html index f3c3a44..003b0ab 100644 --- a/help/en_US/scilab_en_US_help/imsmoothsurf.html +++ b/help/en_US/scilab_en_US_help/imsmoothsurf.html @@ -16,7 +16,7 @@ - Filter Design and Visualization + Filter Design and Visualization @@ -29,7 +29,7 @@ - IPCV >> Filter Design and Visualization > imsmoothsurf + IPCV >> Filter Design and Visualization > imsmoothsurf

imsmoothsurf

@@ -73,7 +73,7 @@ - Filter Design and Visualization + Filter Design and Visualization diff --git a/help/en_US/scilab_en_US_help/imstitchimage.html b/help/en_US/scilab_en_US_help/imstitchimage.html index 8bf0cd4..fae096d 100644 --- a/help/en_US/scilab_en_US_help/imstitchimage.html +++ b/help/en_US/scilab_en_US_help/imstitchimage.html @@ -12,11 +12,11 @@
- << Image Stitching + << Image Stitching - Image Stitching + Image Stitching @@ -29,7 +29,7 @@ - IPCV >> Image Stitching > imstitchimage + IPCV >> Image Stitching > imstitchimage

imstitchimage

@@ -89,11 +89,11 @@
Report an issue
- << Image Stitching + << Image Stitching - Image Stitching + Image Stitching diff --git a/help/en_US/scilab_en_US_help/imstitchimage_params.html b/help/en_US/scilab_en_US_help/imstitchimage_params.html index 4b96e28..8375817 100644 --- a/help/en_US/scilab_en_US_help/imstitchimage_params.html +++ b/help/en_US/scilab_en_US_help/imstitchimage_params.html @@ -16,11 +16,11 @@ - Image Stitching + Image Stitching - Image Transforms >> + Image Transforms >>
@@ -29,7 +29,7 @@ - IPCV >> Image Stitching > imstitchimage_params + IPCV >> Image Stitching > imstitchimage_params

imstitchimage_params

@@ -78,11 +78,11 @@ - Image Stitching + Image Stitching - Image Transforms >> + Image Transforms >> diff --git a/help/en_US/scilab_en_US_help/imsubtract.html b/help/en_US/scilab_en_US_help/imsubtract.html index c83bf3b..5eb50ab 100644 --- a/help/en_US/scilab_en_US_help/imsubtract.html +++ b/help/en_US/scilab_en_US_help/imsubtract.html @@ -16,11 +16,11 @@ - Image Arithmetic + Image Arithmetic - Image Block Processing >> + Image Block Processing >> @@ -29,7 +29,7 @@ - IPCV >> Image Arithmetic > imsubtract + IPCV >> Image Arithmetic > imsubtract

imsubtract

@@ -82,11 +82,11 @@ - Image Arithmetic + Image Arithmetic - Image Block Processing >> + Image Block Processing >> diff --git a/help/en_US/scilab_en_US_help/imsuperres.html b/help/en_US/scilab_en_US_help/imsuperres.html index 78a993c..882e1c7 100644 --- a/help/en_US/scilab_en_US_help/imsuperres.html +++ b/help/en_US/scilab_en_US_help/imsuperres.html @@ -12,11 +12,11 @@
- << Super Resolution + << Super Resolution - Super Resolution + Super Resolution @@ -29,7 +29,7 @@ - IPCV >> Super Resolution > imsuperres + IPCV >> Super Resolution > imsuperres

imsuperres

@@ -88,11 +88,11 @@
Report an issue
- << Super Resolution + << Super Resolution - Super Resolution + Super Resolution diff --git a/help/en_US/scilab_en_US_help/imsuperres_params.html b/help/en_US/scilab_en_US_help/imsuperres_params.html index 13006a0..bc52d22 100644 --- a/help/en_US/scilab_en_US_help/imsuperres_params.html +++ b/help/en_US/scilab_en_US_help/imsuperres_params.html @@ -16,11 +16,11 @@ - Super Resolution + Super Resolution - Utilities and Interactive Tools >> + Utilities and Interactive Tools >>
@@ -29,7 +29,7 @@ - IPCV >> Super Resolution > imsuperres_params + IPCV >> Super Resolution > imsuperres_params

imsuperres_params

@@ -76,11 +76,11 @@ - Super Resolution + Super Resolution - Utilities and Interactive Tools >> + Utilities and Interactive Tools >> diff --git a/help/en_US/scilab_en_US_help/imsurf.html b/help/en_US/scilab_en_US_help/imsurf.html index 126d889..85e4701 100644 --- a/help/en_US/scilab_en_US_help/imsurf.html +++ b/help/en_US/scilab_en_US_help/imsurf.html @@ -16,7 +16,7 @@ - Filter Design and Visualization + Filter Design and Visualization @@ -29,7 +29,7 @@ - IPCV >> Filter Design and Visualization > imsurf + IPCV >> Filter Design and Visualization > imsurf

imsurf

@@ -73,7 +73,7 @@ - Filter Design and Visualization + Filter Design and Visualization diff --git a/help/en_US/scilab_en_US_help/imtophat.html b/help/en_US/scilab_en_US_help/imtophat.html index 8c95ccb..b21ae9a 100644 --- a/help/en_US/scilab_en_US_help/imtophat.html +++ b/help/en_US/scilab_en_US_help/imtophat.html @@ -16,11 +16,11 @@ - Morphological Operations + Morphological Operations - Object Detection >> + Object Detection >> @@ -29,7 +29,7 @@ - IPCV >> Morphological Operations > imtophat + IPCV >> Morphological Operations > imtophat

imtophat

@@ -81,11 +81,11 @@ - Morphological Operations + Morphological Operations - Object Detection >> + Object Detection >> diff --git a/help/en_US/scilab_en_US_help/imtrack_init.html b/help/en_US/scilab_en_US_help/imtrack_init.html index 3a1da6c..4c4103e 100644 --- a/help/en_US/scilab_en_US_help/imtrack_init.html +++ b/help/en_US/scilab_en_US_help/imtrack_init.html @@ -12,11 +12,11 @@
- << Object Tracking + << Object Tracking - Object Tracking + Object Tracking @@ -29,7 +29,7 @@ - IPCV >> Object Tracking > imtrack_init + IPCV >> Object Tracking > imtrack_init

imtrack_init

@@ -90,11 +90,11 @@
Report an issue
- << Object Tracking + << Object Tracking - Object Tracking + Object Tracking diff --git a/help/en_US/scilab_en_US_help/imtrack_unloadall.html b/help/en_US/scilab_en_US_help/imtrack_unloadall.html index 77e4d67..92cff22 100644 --- a/help/en_US/scilab_en_US_help/imtrack_unloadall.html +++ b/help/en_US/scilab_en_US_help/imtrack_unloadall.html @@ -16,7 +16,7 @@ - Object Tracking + Object Tracking @@ -29,7 +29,7 @@ - IPCV >> Object Tracking > imtrack_unloadall + IPCV >> Object Tracking > imtrack_unloadall

imtrack_unloadall

@@ -66,7 +66,7 @@
- Object Tracking + Object Tracking diff --git a/help/en_US/scilab_en_US_help/imtrack_update.html b/help/en_US/scilab_en_US_help/imtrack_update.html index de09b4f..9253ad0 100644 --- a/help/en_US/scilab_en_US_help/imtrack_update.html +++ b/help/en_US/scilab_en_US_help/imtrack_update.html @@ -16,11 +16,11 @@ - Object Tracking + Object Tracking - ROI Processing >> + ROI Processing >>
@@ -29,7 +29,7 @@ - IPCV >> Object Tracking > imtrack_update + IPCV >> Object Tracking > imtrack_update

imtrack_update

@@ -92,11 +92,11 @@ - Object Tracking + Object Tracking - ROI Processing >> + ROI Processing >> diff --git a/help/en_US/scilab_en_US_help/imtransform.html b/help/en_US/scilab_en_US_help/imtransform.html index 1ed2fbc..0cf5184 100644 --- a/help/en_US/scilab_en_US_help/imtransform.html +++ b/help/en_US/scilab_en_US_help/imtransform.html @@ -16,7 +16,7 @@ - Image Registration and Image Fusion + Image Registration and Image Fusion @@ -29,7 +29,7 @@ - IPCV >> Image Registration and Image Fusion > imtransform + IPCV >> Image Registration and Image Fusion > imtransform

imtransform

@@ -84,7 +84,7 @@ - Image Registration and Image Fusion + Image Registration and Image Fusion diff --git a/help/en_US/scilab_en_US_help/imwiener2.html b/help/en_US/scilab_en_US_help/imwiener2.html index 64dec0d..7333642 100644 --- a/help/en_US/scilab_en_US_help/imwiener2.html +++ b/help/en_US/scilab_en_US_help/imwiener2.html @@ -16,11 +16,11 @@ - Image Enhancement and Restoration + Image Enhancement and Restoration - Image Linear Filtering >> + Image Linear Filtering >> @@ -29,7 +29,7 @@ - IPCV >> Image Enhancement and Restoration > imwiener2 + IPCV >> Image Enhancement and Restoration > imwiener2

imwiener2

@@ -76,11 +76,11 @@ - Image Enhancement and Restoration + Image Enhancement and Restoration - Image Linear Filtering >> + Image Linear Filtering >> diff --git a/help/en_US/scilab_en_US_help/imwrite.html b/help/en_US/scilab_en_US_help/imwrite.html index a9a35e5..01c4968 100644 --- a/help/en_US/scilab_en_US_help/imwrite.html +++ b/help/en_US/scilab_en_US_help/imwrite.html @@ -16,7 +16,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration @@ -29,7 +29,7 @@ - IPCV >> Image Reading, Display and Exploration > imwrite + IPCV >> Image Reading, Display and Exploration > imwrite

imwrite

@@ -76,7 +76,7 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration diff --git a/help/en_US/scilab_en_US_help/ind2rgb.html b/help/en_US/scilab_en_US_help/ind2rgb.html index 18d2ef1..218b68a 100644 --- a/help/en_US/scilab_en_US_help/ind2rgb.html +++ b/help/en_US/scilab_en_US_help/ind2rgb.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > ind2rgb + IPCV >> Image Types and Color Space Conversions > ind2rgb

ind2rgb

@@ -74,7 +74,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html index 0837939..aa16318 100644 --- a/help/en_US/scilab_en_US_help/index.html +++ b/help/en_US/scilab_en_US_help/index.html @@ -31,9 +31,9 @@

IPCV

    -
  • Analytic Geometry +
  • Analytic Geometry
    • plot3dot3-D Parametric plot for opoints
  • -
  • Camera Handling +
  • Camera Handling
    • camcloseClose a camera
    • @@ -59,7 +59,7 @@

      IPCV

    • camreadGrabs and returns a frame from a camera
  • -
  • Deep Learning +
  • Deep Learning
    • dnn_forwardRuns forward pass to compute output of layer with name layer_name
    • @@ -115,7 +115,7 @@

      IPCV

    • dnn_unloadmodelUnload DNN model from memory
  • -
  • Feature Detection, Description and Matching +
  • Feature Detection, Description and Matching
    • imbestmatchesFind the best matched features from 2 features objects and the matching matrix
    • @@ -207,7 +207,7 @@

      IPCV

    • plotfeaturePlot the features detected by feature detectors
  • -
  • Filter Design and Visualization +
  • Filter Design and Visualization
    • fft2padPad smaller matrix with zeros to the given size before transformation.
    • @@ -233,7 +233,7 @@

      IPCV

    • mkfftfilterCreate frequency domain filter
  • -
  • Image Analysis and Statistics +
  • Image Analysis and Statistics
    • corr22D correlation coefficient
    • @@ -277,7 +277,7 @@

      IPCV

    • stdev2Standard deviation of 2D matrix elements
  • -
  • Image Arithmetic +
  • Image Arithmetic
    • imabsdiffCalculate absolute difference of two images
    • @@ -315,7 +315,7 @@

      IPCV

    • imsubtractSubtract two images or subtract a constant from an image
  • -
  • Image Block Processing +
  • Image Block Processing
    • im2colConvert image into series of columns
    • @@ -335,7 +335,7 @@

      IPCV

    • imcolprocSliding block processing for an image, with vectorization
  • -
  • Image Enhancement and Restoration +
  • Image Enhancement and Restoration
    • imadjustAdjust the intensity of an image from given source histogram range to the destination histogram range
    • @@ -391,7 +391,7 @@

      IPCV

    • imwiener2Wiener filter for image
  • -
  • Image Linear Filtering +
  • Image Linear Filtering
    • filter22D digital filtering
    • @@ -405,7 +405,7 @@

      IPCV

    • imfilterImage filtering
  • -
  • Image Reading, Display and Exploration +
  • Image Reading, Display and Exploration
  • -
  • Image Registration and Image Fusion +
  • Image Registration and Image Fusion
    • imfuseImage fusion
    • @@ -469,7 +469,7 @@

      IPCV

    • warpmatselectSelecting points for image transformation
  • -
  • Image Stitching +
  • Image Stitching
  • -
  • Image Transforms +
  • Image Transforms
    • imdctDiscrete cosine transform (DCT)
    • @@ -509,7 +509,7 @@

      IPCV

    • imradonCalculates the 2D-Radon transform of the matrix
  • -
  • Image Types and Color Space Conversions +
  • Image Types and Color Space Conversions
    • hsv2rgbConvert a HSV image to the equivalent RGB image.
    • @@ -637,7 +637,7 @@

      IPCV

    • ycbcr2rgbConvert a YCbCr image to the equivalent RGB image.
  • -
  • Morphological Operations +
  • Morphological Operations
    • bwborderFind border for an image
    • @@ -711,9 +711,9 @@

      IPCV

    • imtophatImage tophat
  • -
  • Object Detection +
  • Object Detection
  • -
  • Object Tracking +
  • Object Tracking
  • -
  • ROI Processing +
  • ROI Processing
    • imroifillFill and image using the border color of the selected region
    • @@ -735,7 +735,7 @@

      IPCV

    • imroifiltFiltering of a selected region
  • -
  • Spatial Transformations +
  • Spatial Transformations
    • imcropCrop image
    • @@ -761,7 +761,7 @@

      IPCV

    • imrotateRotate an image to given angle
  • -
  • Structural Analysis and Shape Descriptors +
  • Structural Analysis and Shape Descriptors
    • imconvexHullFinds the convex hull of a point set.
    • @@ -775,7 +775,7 @@

      IPCV

    • imfindcontoursFinds contours in a binary image.
  • -
  • Super Resolution +
  • Super Resolution
    • imsuperresSuper Resolution with Image Sequences
    • @@ -783,7 +783,7 @@

      IPCV

    • imsuperres_paramsSuper Resolution with Image Sequences Parameters
  • -
  • Utilities and Interactive Tools +
  • Utilities and Interactive Tools
    • im2movieCreate movie from sequence of images
    • @@ -857,7 +857,7 @@

      IPCV

    • rectangleDraw a rectangle on image
  • -
  • Video Handling +
  • Video Handling
    • addframeAdd a frame to the video file. (Depreciated. Replaced by aviaddframe.)
    • diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm index ba10bcc..3d7f7ee 100644 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -2,15 +2,15 @@ - + - + - + @@ -21,7 +21,7 @@ - + @@ -38,13 +38,13 @@ - + - + @@ -53,7 +53,7 @@ - + @@ -61,12 +61,12 @@ - + - + @@ -77,11 +77,11 @@ - + - + @@ -90,22 +90,22 @@ - + - + - + - + @@ -128,7 +128,7 @@ - + @@ -142,29 +142,29 @@ - + - + - + - + - + - + - + @@ -178,7 +178,7 @@ - + diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml index ee33c1e..f4b7441 100644 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -2,17 +2,17 @@ - + - + - + @@ -24,7 +24,7 @@ - + @@ -42,14 +42,14 @@ - + - + @@ -59,7 +59,7 @@ - + @@ -68,13 +68,13 @@ - + - + @@ -86,12 +86,12 @@ - + - + @@ -101,17 +101,17 @@ - + - + - + @@ -119,7 +119,7 @@ - + @@ -143,7 +143,7 @@ - + @@ -158,35 +158,35 @@ - + - + - + - + - + - + - + @@ -201,7 +201,7 @@ - + diff --git a/help/en_US/scilab_en_US_help/mat2gray.html b/help/en_US/scilab_en_US_help/mat2gray.html index c8f7654..3767e44 100644 --- a/help/en_US/scilab_en_US_help/mat2gray.html +++ b/help/en_US/scilab_en_US_help/mat2gray.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > mat2gray + IPCV >> Image Types and Color Space Conversions > mat2gray

      mat2gray

      @@ -81,7 +81,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/mean2.html b/help/en_US/scilab_en_US_help/mean2.html index c6bb6f1..386ad93 100644 --- a/help/en_US/scilab_en_US_help/mean2.html +++ b/help/en_US/scilab_en_US_help/mean2.html @@ -16,7 +16,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics @@ -29,7 +29,7 @@ - IPCV >> Image Analysis and Statistics > mean2 + IPCV >> Image Analysis and Statistics > mean2

      mean2

      @@ -68,7 +68,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics diff --git a/help/en_US/scilab_en_US_help/mkfftfilter.html b/help/en_US/scilab_en_US_help/mkfftfilter.html index 40f2332..8d1208b 100644 --- a/help/en_US/scilab_en_US_help/mkfftfilter.html +++ b/help/en_US/scilab_en_US_help/mkfftfilter.html @@ -16,11 +16,11 @@ - Filter Design and Visualization + Filter Design and Visualization - Image Analysis and Statistics >> + Image Analysis and Statistics >> @@ -29,7 +29,7 @@ - IPCV >> Filter Design and Visualization > mkfftfilter + IPCV >> Filter Design and Visualization > mkfftfilter

      mkfftfilter

      @@ -88,11 +88,11 @@ - Filter Design and Visualization + Filter Design and Visualization - Image Analysis and Statistics >> + Image Analysis and Statistics >> diff --git a/help/en_US/scilab_en_US_help/ntsc2rgb.html b/help/en_US/scilab_en_US_help/ntsc2rgb.html index 90645ab..ab98651 100644 --- a/help/en_US/scilab_en_US_help/ntsc2rgb.html +++ b/help/en_US/scilab_en_US_help/ntsc2rgb.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > ntsc2rgb + IPCV >> Image Types and Color Space Conversions > ntsc2rgb

      ntsc2rgb

      @@ -83,7 +83,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/plot3dot.html b/help/en_US/scilab_en_US_help/plot3dot.html index e5a37b3..7a7b461 100644 --- a/help/en_US/scilab_en_US_help/plot3dot.html +++ b/help/en_US/scilab_en_US_help/plot3dot.html @@ -12,15 +12,15 @@
      - << Analytic Geometry + << Analytic Geometry - Analytic Geometry + Analytic Geometry - Camera Handling >> + Camera Handling >>
      @@ -29,7 +29,7 @@ - IPCV >> Analytic Geometry > plot3dot + IPCV >> Analytic Geometry > plot3dot

      plot3dot

      @@ -71,15 +71,15 @@ Report an issue - << Analytic Geometry + << Analytic Geometry - Analytic Geometry + Analytic Geometry - Camera Handling >> + Camera Handling >> diff --git a/help/en_US/scilab_en_US_help/plotfeature.html b/help/en_US/scilab_en_US_help/plotfeature.html index 9f4207a..933af0a 100644 --- a/help/en_US/scilab_en_US_help/plotfeature.html +++ b/help/en_US/scilab_en_US_help/plotfeature.html @@ -16,11 +16,11 @@ - Feature Detection, Description and Matching + Feature Detection, Description and Matching - Filter Design and Visualization >> + Filter Design and Visualization >> @@ -29,7 +29,7 @@ - IPCV >> Feature Detection, Description and Matching > plotfeature + IPCV >> Feature Detection, Description and Matching > plotfeature

      plotfeature

      @@ -98,11 +98,11 @@ - Feature Detection, Description and Matching + Feature Detection, Description and Matching - Filter Design and Visualization >> + Filter Design and Visualization >> diff --git a/help/en_US/scilab_en_US_help/rectangle.html b/help/en_US/scilab_en_US_help/rectangle.html index ceb644e..54b5e5f 100644 --- a/help/en_US/scilab_en_US_help/rectangle.html +++ b/help/en_US/scilab_en_US_help/rectangle.html @@ -16,11 +16,11 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools - Video Handling >> + Video Handling >> @@ -29,7 +29,7 @@ - IPCV >> Utilities and Interactive Tools > rectangle + IPCV >> Utilities and Interactive Tools > rectangle

      rectangle

      @@ -69,11 +69,11 @@ - Utilities and Interactive Tools + Utilities and Interactive Tools - Video Handling >> + Video Handling >> diff --git a/help/en_US/scilab_en_US_help/rgb2gray.html b/help/en_US/scilab_en_US_help/rgb2gray.html index 2349d74..68e3232 100644 --- a/help/en_US/scilab_en_US_help/rgb2gray.html +++ b/help/en_US/scilab_en_US_help/rgb2gray.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2gray + IPCV >> Image Types and Color Space Conversions > rgb2gray

      rgb2gray

      @@ -72,7 +72,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/rgb2hsv.html b/help/en_US/scilab_en_US_help/rgb2hsv.html index 43eab03..770f301 100644 --- a/help/en_US/scilab_en_US_help/rgb2hsv.html +++ b/help/en_US/scilab_en_US_help/rgb2hsv.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2hsv + IPCV >> Image Types and Color Space Conversions > rgb2hsv

      rgb2hsv

      @@ -79,7 +79,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/rgb2ind.html b/help/en_US/scilab_en_US_help/rgb2ind.html index 1ab197b..62be7d0 100644 --- a/help/en_US/scilab_en_US_help/rgb2ind.html +++ b/help/en_US/scilab_en_US_help/rgb2ind.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2ind + IPCV >> Image Types and Color Space Conversions > rgb2ind

      rgb2ind

      @@ -86,7 +86,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/rgb2lab.html b/help/en_US/scilab_en_US_help/rgb2lab.html index 3a71207..c2576c7 100644 --- a/help/en_US/scilab_en_US_help/rgb2lab.html +++ b/help/en_US/scilab_en_US_help/rgb2lab.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2lab + IPCV >> Image Types and Color Space Conversions > rgb2lab

      rgb2lab

      @@ -68,7 +68,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/rgb2ntsc.html b/help/en_US/scilab_en_US_help/rgb2ntsc.html index 0adf800..d7246a6 100644 --- a/help/en_US/scilab_en_US_help/rgb2ntsc.html +++ b/help/en_US/scilab_en_US_help/rgb2ntsc.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2ntsc + IPCV >> Image Types and Color Space Conversions > rgb2ntsc

      rgb2ntsc

      @@ -83,7 +83,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/rgb2ycbcr.html b/help/en_US/scilab_en_US_help/rgb2ycbcr.html index 4f0551d..7464d0c 100644 --- a/help/en_US/scilab_en_US_help/rgb2ycbcr.html +++ b/help/en_US/scilab_en_US_help/rgb2ycbcr.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > rgb2ycbcr + IPCV >> Image Types and Color Space Conversions > rgb2ycbcr

      rgb2ycbcr

      @@ -82,7 +82,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/section_0ce9b203651f7fb740e8e542a182611c.html b/help/en_US/scilab_en_US_help/section_0ce9b203651f7fb740e8e542a182611c.html new file mode 100644 index 0000000..8548641 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_0ce9b203651f7fb740e8e542a182611c.html @@ -0,0 +1,77 @@ + + + + + + + + + + + IPCV >> Image Block Processing + +

      +

      Image Block Processing

      +
      • im2colConvert image into series of columns
      • + + + + + +
      • imblockprocDistict block processing for an image
      • + + + + + +
      • imblockslideSliding block processing for an image
      • + + + + + +
      • imcolprocSliding block processing for an image, with vectorization
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/imcreatechecker.html b/help/en_US/scilab_en_US_help/section_15c7a04ce086122f7ca6d6cda47c3123.html similarity index 53% rename from help/en_US/scilab_en_US_help/imcreatechecker.html rename to help/en_US/scilab_en_US_help/section_15c7a04ce086122f7ca6d6cda47c3123.html index 0c4f7f4..9123d83 100644 --- a/help/en_US/scilab_en_US_help/imcreatechecker.html +++ b/help/en_US/scilab_en_US_help/section_15c7a04ce086122f7ca6d6cda47c3123.html @@ -1,6 +1,6 @@ - imcreatechecker + + + + + + + + IPCV >> Image Registration and Image Fusion + +

      +

      Image Registration and Image Fusion

      +
      • imfuseImage fusion
      • + + + + + +
      • imgettransformGet transformation matrix from given source and destination points
      • + + + + + +
      • imtransformImage affine transformation
      • + + + + + +
      • warpmatselectSelecting points for image transformation
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_34753f8dbdbb7ef63cedb53e94eb1bf2.html b/help/en_US/scilab_en_US_help/section_34753f8dbdbb7ef63cedb53e94eb1bf2.html new file mode 100644 index 0000000..33870fb --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_34753f8dbdbb7ef63cedb53e94eb1bf2.html @@ -0,0 +1,131 @@ + + + + + + + + + + + IPCV >> Morphological Operations + +

      +

      Morphological Operations

      +
      • bwborderFind border for an image
      • + + + + + +
      • imblackhatImage blackhat
      • + + + + + +
      • imblobpropCalculate blobs properties from labeled image
      • + + + + + +
      • imcloseImage closing
      • + + + + + +
      • imcreateseCreating Structure Element for Morphological operation
      • + + + + + +
      • imdilateImage dilation
      • + + + + + +
      • imerodeImage erosion
      • + + + + + +
      • imfillFilling holes for objects in a binary image
      • + + + + + +
      • imgradientImage gradient
      • + + + + + +
      • imhitmissImage Hit-Miss
      • + + + + + +
      • imlabelFind blobs in an image
      • + + + + + +
      • imopenImage opening
      • + + + + + +
      • imtophatImage tophat
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_46fb869eb1083509f66f9381a0103e12.html b/help/en_US/scilab_en_US_help/section_46fb869eb1083509f66f9381a0103e12.html new file mode 100644 index 0000000..b61dfac --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_46fb869eb1083509f66f9381a0103e12.html @@ -0,0 +1,113 @@ + + + + + + +
      + + + + +
      + << Image Block Processing + + + IPCV + + + Image Linear Filtering >> + +
      +
      +
      + + + + IPCV >> Image Enhancement and Restoration + +

      +

      Image Enhancement and Restoration

      +
      • imadjustAdjust the intensity of an image from given source histogram range to the destination histogram range
      • + + + + + +
      • imdeconvl2Deconvolution with L2 Regularization
      • + + + + + +
      • imdeconvsobolevDeconvolution by Sobolev Regularization
      • + + + + + +
      • imdeconvwienerDeconvolution with Wiener method
      • + + + + + +
      • imdecorrstretchApply decorrelation stretch to multichannel image
      • + + + + + +
      • imhistequalHistogram Equalization
      • + + + + + +
      • iminpaintRestores the selected region in an image using the region neighborhood
      • + + + + + +
      • immedianImage median filter
      • + + + + + +
      • imnoiseAdd noise (gaussian, etc.) to an image
      • + + + + + +
      • imwiener2Wiener filter for image
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_4b1ea0437bca1ba390090a1a7002f2f1.html b/help/en_US/scilab_en_US_help/section_4b1ea0437bca1ba390090a1a7002f2f1.html new file mode 100644 index 0000000..4f621e1 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_4b1ea0437bca1ba390090a1a7002f2f1.html @@ -0,0 +1,83 @@ + + + + + + +
      + + + + +
      + << Analytic Geometry + + + IPCV + + + Deep Learning >> + +
      +
      +
      + + + + IPCV >> Camera Handling + +

      +

      Camera Handling

      +
      • camcloseClose a camera
      • + + + + + +
      • camcloseallClose all opened cameras.
      • + + + + + +
      • camlistopenedShow all opened camera.
      • + + + + + +
      • camopenOpen a camera.
      • + + + + + +
      • camreadGrabs and returns a frame from a camera
      +
      + +
      + + + + + + +
      Report an issue
      + << Analytic Geometry + + + IPCV + + + Deep Learning >> + +
      +
      +
      + + diff --git a/help/en_US/scilab_en_US_help/section_4cd16036872803e658f06738c76a972f.html b/help/en_US/scilab_en_US_help/section_4cd16036872803e658f06738c76a972f.html new file mode 100644 index 0000000..fadd021 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_4cd16036872803e658f06738c76a972f.html @@ -0,0 +1,185 @@ + + + + + + +
      + + + + +
      + << Image Transforms + + + IPCV + + + Morphological Operations >> + +
      +
      +
      + + + + IPCV >> Image Types and Color Space Conversions + +

      +

      Image Types and Color Space Conversions

      +
      • hsv2rgbConvert a HSV image to the equivalent RGB image.
      • + + + + + +
      • hsv2rgb2Convert a HSV image to the equivalent RGB image.
      • + + + + + +
      • im2bwConvert image to binary
      • + + + + + +
      • im2doubleConvert image to double precision
      • + + + + + +
      • im2int16Convert image to 16-bit signed integers
      • + + + + + +
      • im2int32Convert image to 32-bit signed integers
      • + + + + + +
      • im2int8Convert image to 8-bit signed integers
      • + + + + + +
      • im2uint16Convert image to 16-bit unsigned integers
      • + + + + + +
      • im2uint8Convert image to 8-bit unsigned integers
      • + + + + + +
      • imgraythreshCalculate Otsu's Global threshold value
      • + + + + + +
      • imnormNormalize input 2-D Image to the range of 0-1 for double, or 0-255 for uint8
      • + + + + + +
      • ind2rgbConvert index image to RGB image
      • + + + + + +
      • mat2grayConvert matrix to grayscale image
      • + + + + + +
      • ntsc2rgbConvert a NTSC image to the equivalent RGB image.
      • + + + + + +
      • rgb2grayConvert RGB images to gray images
      • + + + + + +
      • rgb2hsvConvert a RGB image to the equivalent HSV image
      • + + + + + +
      • rgb2indConvert RGB image to index image
      • + + + + + +
      • rgb2labConvert from RGB color space to LAB color space
      • + + + + + +
      • rgb2ntscConvert a RGB image to the equivalent NTSC image YIQ.
      • + + + + + +
      • rgb2ycbcrConvert a RGB image to the equivalent YCbCr image.
      • + + + + + +
      • xs2imConvert graphics to an image matrix.
      • + + + + + +
      • ycbcr2rgbConvert a YCbCr image to the equivalent RGB image.
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_5927af1a66e9916448066774a89736be.html b/help/en_US/scilab_en_US_help/section_5927af1a66e9916448066774a89736be.html new file mode 100644 index 0000000..680cd28 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_5927af1a66e9916448066774a89736be.html @@ -0,0 +1,57 @@ + + + + + + +
      + + + + +
      + + + IPCV + + + Camera Handling >> + +
      +
      +
      + + + + IPCV >> Analytic Geometry + +

      +

      Analytic Geometry

      +
      • plot3dot3-D Parametric plot for opoints
      +
      + +
      + + + + + + +
      Report an issue
      + + + IPCV + + + Camera Handling >> + +
      +
      +
      + + diff --git a/help/en_US/scilab_en_US_help/section_5b14599e76bc941a7008b215d87b54ca.html b/help/en_US/scilab_en_US_help/section_5b14599e76bc941a7008b215d87b54ca.html new file mode 100644 index 0000000..0a028da --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_5b14599e76bc941a7008b215d87b54ca.html @@ -0,0 +1,131 @@ + + + + + + +
      + + + + +
      + << Super Resolution + + + IPCV + + + Video Handling >> + +
      +
      +
      + + + + IPCV >> Utilities and Interactive Tools + +

      +

      Utilities and Interactive Tools

      +
      • im2movieCreate movie from sequence of images
      • + + + + + +
      • imaddtextAdding text to a color image
      • + + + + + +
      • imbreaksetSet the break event with Scilab figure
      • + + + + + +
      • imbreakunsetUnset the break event with Scilab figure
      • + + + + + +
      • imcaminfoShow the supported raw resolution for an USB camera (linux only)
      • + + + + + +
      • imchooseChoose a bounding box with mouse
      • + + + + + +
      • imdistlineMeasure distance between 2 selected points in pixels.
      • + + + + + +
      • imlsusbList all USB devices connected to PC (linux only)
      • + + + + + +
      • impixelvalInteractive tool to inspect pixel value at selected point
      • + + + + + +
      • imrectsDraw Bounding Boxes on An Image
      • + + + + + +
      • imroiSelect region of interest and create a mask from it
      • + + + + + +
      • imselectSelect points on an image.
      • + + + + + +
      • rectangleDraw a rectangle on image
      +
      + +
      + + + + + + +
      Report an issue
      + << Super Resolution + + + IPCV + + + Video Handling >> + +
      +
      +
      + + diff --git a/help/en_US/scilab_en_US_help/section_7038fc4dcd46fdb25fa131494e7019ab.html b/help/en_US/scilab_en_US_help/section_7038fc4dcd46fdb25fa131494e7019ab.html new file mode 100644 index 0000000..8420b5c --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_7038fc4dcd46fdb25fa131494e7019ab.html @@ -0,0 +1,101 @@ + + + + + + + + + + + IPCV >> Image Analysis and Statistics + +

      +

      Image Analysis and Statistics

      +
      • corr22D correlation coefficient
      • + + + + + +
      • edgeFind edges in a single channel image.
      • + + + + + +
      • imhistget the histogram of an image
      • + + + + + +
      • impixelReturn selected pixel coordinates and values
      • + + + + + +
      • improfileReturn profiles for the selected 2 points
      • + + + + + +
      • mean2Average/mean of matrix elements
      • + + + + + +
      • std2Standard deviation of 2D matrix elements
      • + + + + + +
      • stdev2Standard deviation of 2D matrix elements
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_7550508b2914bdd24e0f2751ec96f60f.html b/help/en_US/scilab_en_US_help/section_7550508b2914bdd24e0f2751ec96f60f.html new file mode 100644 index 0000000..ed026e4 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_7550508b2914bdd24e0f2751ec96f60f.html @@ -0,0 +1,105 @@ + + + + + + +
      + + + + +
      + << Utilities and Interactive Tools + + + IPCV + + + +
      +
      +
      + + + + IPCV >> Video Handling + +

      +

      Video Handling

      +
      • addframeAdd a frame to the video file. (Depreciated. Replaced by aviaddframe.)
      • + + + + + +
      • aviaddframeAdd a frame to the video file.
      • + + + + + +
      • avicloseClose a video file.
      • + + + + + +
      • avicloseallClose all opened video files/cameras.
      • + + + + + +
      • avifileCreate a new video file to write.
      • + + + + + +
      • aviinfoRetrieve video file information
      • + + + + + +
      • avilistopenedShow all opened video files.
      • + + + + + +
      • aviopenOpen a video file.
      • + + + + + +
      • avireadframeGrabs and returns a frame from a opened video file or camera.
      +
      + +
      + + + + + + +
      Report an issue
      + << Utilities and Interactive Tools + + + IPCV + + + +
      +
      +
      + + diff --git a/help/en_US/scilab_en_US_help/section_82ef678b3cd774013f332d677bb86bb0.html b/help/en_US/scilab_en_US_help/section_82ef678b3cd774013f332d677bb86bb0.html new file mode 100644 index 0000000..f3e0b27 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_82ef678b3cd774013f332d677bb86bb0.html @@ -0,0 +1,101 @@ + + + + + + + + + + + IPCV >> Image Reading, Display and Exploration + +

      +

      Image Reading, Display and Exploration

      +
      • imcreatechecker
      • + + + + + +
      • imdestroyDestroy graphic window created using imdisplay (highgui).
      • + + + + + +
      • imdestroyallDestroy ALL graphic window created using imdisplay (highgui).
      • + + + + + +
      • imdisplayDisplay image using highgui for faster frame rate
      • + + + + + +
      • imreadReads image file
      • + + + + + +
      • imshowDisplay image in graphic window
      • + + + + + +
      • imwriteWrite image to file
      • + + + + + +
      • tifreadSpecial function to read 12-bits 1024x1024 CCD image
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_832d9684d05a62143622fca954ed7da6.html b/help/en_US/scilab_en_US_help/section_832d9684d05a62143622fca954ed7da6.html new file mode 100644 index 0000000..0ba215d --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_832d9684d05a62143622fca954ed7da6.html @@ -0,0 +1,83 @@ + + + + + + + + + + + IPCV >> Spatial Transformations + +

      +

      Spatial Transformations

      +
      • imcropCrop image
      • + + + + + +
      • imcropmCrop an image using mouse selection
      • + + + + + +
      • impyramidImage pyramid reduction and expansion
      • + + + + + +
      • imresizeResizes image
      • + + + + + +
      • imrotateRotate an image to given angle
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html b/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html new file mode 100644 index 0000000..8291d84 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_8adb84d26782c1d3a5d34be202e5d52c.html @@ -0,0 +1,89 @@ + + + + + + + + + + + IPCV >> Image Transforms + +

      +

      Image Transforms

      +
      • imdctDiscrete cosine transform (DCT)
      • + + + + + +
      • imhoughImage Hough transformation
      • + + + + + +
      • imhoughcImage Hough transformation for Circle Detection
      • + + + + + +
      • imidctInverse discrete cosine transform (DCT)
      • + + + + + +
      • imlogpolarRemaps an image to log-polar space.
      • + + + + + +
      • imradonCalculates the 2D-Radon transform of the matrix
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_8d8a7844bbdeb1358a372154eedb244c.html b/help/en_US/scilab_en_US_help/section_8d8a7844bbdeb1358a372154eedb244c.html new file mode 100644 index 0000000..fd27859 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_8d8a7844bbdeb1358a372154eedb244c.html @@ -0,0 +1,113 @@ + + + + + + + + + + + IPCV >> Deep Learning + +

      +

      Deep Learning

      +
      • dnn_forwardRuns forward pass to compute output of layer with name layer_name
      • + + + + + +
      • dnn_getparamGet the layer's parameters
      • + + + + + +
      • dnn_listList all loaded DNN models in memory
      • + + + + + +
      • dnn_readmodelRead/Import DNN model from disk
      • + + + + + +
      • dnn_showfeatureVisualize the DNN feature map
      • + + + + + +
      • dnn_showparamVisualize the DNN parameters (filter) in spatial domain
      • + + + + + +
      • dnn_showparamf2dVisualize the DNN parameters (filter) in frequency domain (2D)
      • + + + + + +
      • dnn_showparamf3dVisualize the DNN parameters (filter) in frequency domain (3D)
      • + + + + + +
      • dnn_unloadallmodelsUnload all loaded DNN models from memory
      • + + + + + +
      • dnn_unloadmodelUnload DNN model from memory
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_9d9b4b1707bbbe8a6a7fc9e9ec615f88.html b/help/en_US/scilab_en_US_help/section_9d9b4b1707bbbe8a6a7fc9e9ec615f88.html new file mode 100644 index 0000000..0dada14 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_9d9b4b1707bbbe8a6a7fc9e9ec615f88.html @@ -0,0 +1,65 @@ + + + + + + + + + + + IPCV >> Super Resolution + +

      +

      Super Resolution

      + +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_af68d7b56356d9bf99b73fbf892f15fe.html b/help/en_US/scilab_en_US_help/section_af68d7b56356d9bf99b73fbf892f15fe.html new file mode 100644 index 0000000..e7fff03 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_af68d7b56356d9bf99b73fbf892f15fe.html @@ -0,0 +1,71 @@ + + + + + + + + + + + IPCV >> Image Linear Filtering + +

      +

      Image Linear Filtering

      +
      • filter22D digital filtering
      • + + + + + +
      • fspecialCreate some 2D special filters
      • + + + + + +
      • imfilterImage filtering
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_b4520a3b24bdf2428c1d01bd78769fc0.html b/help/en_US/scilab_en_US_help/section_b4520a3b24bdf2428c1d01bd78769fc0.html new file mode 100644 index 0000000..a673ec8 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_b4520a3b24bdf2428c1d01bd78769fc0.html @@ -0,0 +1,95 @@ + + + + + + + + + + + IPCV >> Image Arithmetic + +

      +

      Image Arithmetic

      +
      • imabsdiffCalculate absolute difference of two images
      • + + + + + +
      • imaddAdd two images or add a constant to an image
      • + + + + + +
      • imcomplementComplement image
      • + + + + + +
      • imdivideDivide two images or divide an image by an constant.
      • + + + + + +
      • imlincombLinear combination of images
      • + + + + + +
      • immultiplyMultiply two images or multiply an image by an constant.
      • + + + + + +
      • imsubtractSubtract two images or subtract a constant from an image
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_bc60c52cf0117873c773bc56bf1df0e1.html b/help/en_US/scilab_en_US_help/section_bc60c52cf0117873c773bc56bf1df0e1.html new file mode 100644 index 0000000..e7a03a8 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_bc60c52cf0117873c773bc56bf1df0e1.html @@ -0,0 +1,83 @@ + + + + + + + + + + + IPCV >> Filter Design and Visualization + +

      +

      Filter Design and Visualization

      +
      • fft2padPad smaller matrix with zeros to the given size before transformation.
      • + + + + + +
      • immeshVisualize 2D matrix using mesh plot, useful for frequency response visualization.
      • + + + + + +
      • imsmoothsurfVisualize 2D matrix using smooth surf plot, useful for frequency response visualization.
      • + + + + + +
      • imsurfVisualize 2D matrix using surf plot, useful for frequency response visualization.
      • + + + + + +
      • mkfftfilterCreate frequency domain filter
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_da5a648acab5cc2af263aceae659ffae.html b/help/en_US/scilab_en_US_help/section_da5a648acab5cc2af263aceae659ffae.html new file mode 100644 index 0000000..8837306 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_da5a648acab5cc2af263aceae659ffae.html @@ -0,0 +1,149 @@ + + + + + + +
      + + + + +
      + << Deep Learning + + + IPCV + + + Filter Design and Visualization >> + +
      +
      +
      + + + + IPCV >> Feature Detection, Description and Matching + +

      +

      Feature Detection, Description and Matching

      +
      • imbestmatchesFind the best matched features from 2 features objects and the matching matrix
      • + + + + + +
      • imdetect_BRISKDetect features from an image with BRISK algorithm
      • + + + + + +
      • imdetect_FASTDetect features from an image with FAST algorithm. Usually used for corner features.
      • + + + + + +
      • imdetect_GFTTDetect features from an image with GFTT algorithm
      • + + + + + +
      • imdetect_MSERDetect features from an image with MSER algorithm
      • + + + + + +
      • imdetect_ORBDetect features from an image with ORB algorithm
      • + + + + + +
      • imdetect_SIFTDetect features from an image with SIFT algorithm
      • + + + + + +
      • imdetect_STARDetect features from an image with STAR algorithm
      • + + + + + +
      • imdetect_SURFDetect features from an image with SURF algorithm
      • + + + + + +
      • imdrawmatchesDraw matching result for 2 images
      • + + + + + +
      • imextract_DescriptorBRISKComputes the descriptors for a set of keypoints detected in an image with BRISK method.
      • + + + + + +
      • imextract_DescriptorORBComputes the descriptors for a set of keypoints detected in an image with ORB method.
      • + + + + + +
      • imextract_DescriptorSIFTComputes the descriptors for a set of keypoints detected in an image with SIFT method.
      • + + + + + +
      • imextract_DescriptorSURFComputes the descriptors for a set of keypoints detected in an image with SURF method.
      • + + + + + +
      • immatch_BruteForceBrute-force matcher for features matching.
      • + + + + + +
      • plotfeaturePlot the features detected by feature detectors
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_ddbaa5565a8946671ef6ce01465d6849.html b/help/en_US/scilab_en_US_help/section_ddbaa5565a8946671ef6ce01465d6849.html new file mode 100644 index 0000000..f2133cf --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_ddbaa5565a8946671ef6ce01465d6849.html @@ -0,0 +1,71 @@ + + + + + + +
      + + + + +
      + << Spatial Transformations + + + IPCV + + + Super Resolution >> + +
      +
      +
      + + + + IPCV >> Structural Analysis and Shape Descriptors + +

      +

      Structural Analysis and Shape Descriptors

      + +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_e68634cd1ff28e5993d377c29392a928.html b/help/en_US/scilab_en_US_help/section_e68634cd1ff28e5993d377c29392a928.html new file mode 100644 index 0000000..3ca881f --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_e68634cd1ff28e5993d377c29392a928.html @@ -0,0 +1,71 @@ + + + + + + +
      + + + + +
      + << Object Detection + + + IPCV + + + ROI Processing >> + +
      +
      +
      + + + + IPCV >> Object Tracking + +

      +

      Object Tracking

      + +
      + +
      + + + + + + +
      Report an issue
      + << Object Detection + + + IPCV + + + ROI Processing >> + +
      +
      +
      + + diff --git a/help/en_US/scilab_en_US_help/section_e9e0a2a0196e6dc0eb59db5414ca324b.html b/help/en_US/scilab_en_US_help/section_e9e0a2a0196e6dc0eb59db5414ca324b.html new file mode 100644 index 0000000..e9367ee --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_e9e0a2a0196e6dc0eb59db5414ca324b.html @@ -0,0 +1,65 @@ + + + + + + + + + + + IPCV >> Image Stitching + +

      +

      Image Stitching

      + +
      + + + + diff --git a/help/en_US/scilab_en_US_help/section_fcd8ab43eb306f3fedb99eb89af99113.html b/help/en_US/scilab_en_US_help/section_fcd8ab43eb306f3fedb99eb89af99113.html new file mode 100644 index 0000000..fb1070c --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_fcd8ab43eb306f3fedb99eb89af99113.html @@ -0,0 +1,65 @@ + + + + + + +
      + + + + +
      + << Object Tracking + + + IPCV + + + Spatial Transformations >> + +
      +
      +
      + + + + IPCV >> ROI Processing + +

      +

      ROI Processing

      +
      • imroifillFill and image using the border color of the selected region
      • + + + + + +
      • imroifiltFiltering of a selected region
      +
      + + + + diff --git a/help/en_US/scilab_en_US_help/std2.html b/help/en_US/scilab_en_US_help/std2.html index 14b283c..9aaa733 100644 --- a/help/en_US/scilab_en_US_help/std2.html +++ b/help/en_US/scilab_en_US_help/std2.html @@ -16,7 +16,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics @@ -29,7 +29,7 @@ - IPCV >> Image Analysis and Statistics > std2 + IPCV >> Image Analysis and Statistics > std2

      std2

      @@ -68,7 +68,7 @@ - Image Analysis and Statistics + Image Analysis and Statistics diff --git a/help/en_US/scilab_en_US_help/stdev2.html b/help/en_US/scilab_en_US_help/stdev2.html index 85a8c7c..58288b2 100644 --- a/help/en_US/scilab_en_US_help/stdev2.html +++ b/help/en_US/scilab_en_US_help/stdev2.html @@ -16,11 +16,11 @@ - Image Analysis and Statistics + Image Analysis and Statistics - Image Arithmetic >> + Image Arithmetic >> @@ -29,7 +29,7 @@ - IPCV >> Image Analysis and Statistics > stdev2 + IPCV >> Image Analysis and Statistics > stdev2

      stdev2

      @@ -68,11 +68,11 @@ - Image Analysis and Statistics + Image Analysis and Statistics - Image Arithmetic >> + Image Arithmetic >> diff --git a/help/en_US/scilab_en_US_help/tifread.html b/help/en_US/scilab_en_US_help/tifread.html index 5b81063..6d0f14e 100644 --- a/help/en_US/scilab_en_US_help/tifread.html +++ b/help/en_US/scilab_en_US_help/tifread.html @@ -16,11 +16,11 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration - Image Registration and Image Fusion >> + Image Registration and Image Fusion >> @@ -29,7 +29,7 @@ - IPCV >> Image Reading, Display and Exploration > tifread + IPCV >> Image Reading, Display and Exploration > tifread

      tifread

      @@ -68,11 +68,11 @@ - Image Reading, Display and Exploration + Image Reading, Display and Exploration - Image Registration and Image Fusion >> + Image Registration and Image Fusion >> diff --git a/help/en_US/scilab_en_US_help/warpmatselect.html b/help/en_US/scilab_en_US_help/warpmatselect.html index 57aabab..ca96e63 100644 --- a/help/en_US/scilab_en_US_help/warpmatselect.html +++ b/help/en_US/scilab_en_US_help/warpmatselect.html @@ -16,11 +16,11 @@ - Image Registration and Image Fusion + Image Registration and Image Fusion - Image Stitching >> + Image Stitching >> @@ -29,7 +29,7 @@ - IPCV >> Image Registration and Image Fusion > warpmatselect + IPCV >> Image Registration and Image Fusion > warpmatselect

      warpmatselect

      @@ -73,11 +73,11 @@ - Image Registration and Image Fusion + Image Registration and Image Fusion - Image Stitching >> + Image Stitching >> diff --git a/help/en_US/scilab_en_US_help/xs2im.html b/help/en_US/scilab_en_US_help/xs2im.html index 3f342ef..548931d 100644 --- a/help/en_US/scilab_en_US_help/xs2im.html +++ b/help/en_US/scilab_en_US_help/xs2im.html @@ -16,7 +16,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > xs2im + IPCV >> Image Types and Color Space Conversions > xs2im

      xs2im

      @@ -74,7 +74,7 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions diff --git a/help/en_US/scilab_en_US_help/ycbcr2rgb.html b/help/en_US/scilab_en_US_help/ycbcr2rgb.html index 8316ce3..26c3aa2 100644 --- a/help/en_US/scilab_en_US_help/ycbcr2rgb.html +++ b/help/en_US/scilab_en_US_help/ycbcr2rgb.html @@ -16,11 +16,11 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions - Morphological Operations >> + Morphological Operations >> @@ -29,7 +29,7 @@ - IPCV >> Image Types and Color Space Conversions > ycbcr2rgb + IPCV >> Image Types and Color Space Conversions > ycbcr2rgb

      ycbcr2rgb

      @@ -81,11 +81,11 @@ - Image Types and Color Space Conversions + Image Types and Color Space Conversions - Morphological Operations >> + Morphological Operations >> diff --git a/macros/dnn_readmodel.sci b/macros/dnn_readmodel.sci index 252fd6f..80d14bb 100644 --- a/macros/dnn_readmodel.sci +++ b/macros/dnn_readmodel.sci @@ -48,7 +48,7 @@ function net = dnn_readmodel(model,modelinfo,modeltype) if isempty(modeltype); modeltype = 1; end - supported_model = ["caffe","tensorflow","yolo","onnx"]; + supported_model = ["caffe","tensorflow","yolo","onnx","torch"]; // Check modeltype if type(modeltype) == 1 then checkrange(3,modeltype,1,size(supported_model,2)); @@ -57,7 +57,7 @@ function net = dnn_readmodel(model,modelinfo,modeltype) modelselect = grep(supported_model,modeltype); checkrange(3,modelselect,1,size(supported_model,2)); else - error("Only model type in number, 1 to 4, or model string ""caffe"", ""tensor"" , ""yolo"" and ""onnx"" are allowed."); + error("Only model type in number, 1 to 5, or model string ""caffe"", ""tensor"" , ""yolo"" , ""onnx"" and ""torch"" are allowed."); end modelname = strsplit(model,['\','/','\\','//']) diff --git a/macros/imadjust.sci b/macros/imadjust.sci index 63435ff..671b493 100644 --- a/macros/imadjust.sci +++ b/macros/imadjust.sci @@ -1,4 +1,4 @@ -//============================================================================= + //============================================================================= // IPCV - Scilab Image Processing and Computer Vision toolbox // Copyright (C) 2017 Tan Chin Luh //============================================================================= diff --git a/macros/imblobprop.sci b/macros/imblobprop.sci index ac4e5f0..b39b92f 100644 --- a/macros/imblobprop.sci +++ b/macros/imblobprop.sci @@ -41,7 +41,7 @@ function [A, BB, ctr] = imblobprop(imin) BB = zeros(4,n); ctr = zeros(2,n); for cnt = 1:n - disp(cnt); + //disp(cnt); A(cnt) = sum(imin==cnt); if A(cnt) == 0 then minx = 1; diff --git a/macros/improfile.sci b/macros/improfile.sci index fe5d9d7..4b4ba7d 100644 --- a/macros/improfile.sci +++ b/macros/improfile.sci @@ -52,7 +52,13 @@ function [xc,yc,pixval] = improfile(S,points) else xc = points(:,1); yc = points(:,2); cnt=3; end - + + a=gca(); + a.children // list the children of the axes. + // There are a compound made of two polylines and a legend + poly1= a.children(1).children(1); //store polyline handle into poly1 + poly1.foreground = 3; // another way to change the style... + [r,c] = size(S); //pixval = cell(cnt-1,1); yc = r+1-yc; diff --git a/macros/imrotate.sci b/macros/imrotate.sci index 7a77546..f561cec 100644 --- a/macros/imrotate.sci +++ b/macros/imrotate.sci @@ -35,26 +35,26 @@ function imout = imrotate(im1,deg,crp) if rhs < 2; error("Expect at least 2 arguments, source image and angle"); end if rhs < 3; crp = 0; end - imout = int_imrotate(im1,deg); -// sz = size(im1); -// -// // Checking on Rotation angle -// deg = modulo(deg,360); -// if abs(deg) >= 0 & abs(deg) <=90 -// deg2 = abs(deg); -// elseif abs(deg) > 90 & abs(deg) <=180 -// deg2 = 180 - abs(deg); -// elseif abs(deg) > 180 & abs(deg) <=270 -// deg2 = abs(deg) - 180; -// elseif abs(deg) > 270 & abs(deg) <=360 -// deg2 = 360 - abs(deg); -// end -// -// alpha = abs(deg2)*%pi/180; -// -// -// if crp == 0 -// +// imout = int_imrotate(im1,deg); + sz = size(im1); + + // Checking on Rotation angle + deg = modulo(deg,360); + if abs(deg) >= 0 & abs(deg) <=90 + deg2 = abs(deg); + elseif abs(deg) > 90 & abs(deg) <=180 + deg2 = 180 - abs(deg); + elseif abs(deg) > 180 & abs(deg) <=270 + deg2 = abs(deg) - 180; + elseif abs(deg) > 270 & abs(deg) <=360 + deg2 = 360 - abs(deg); + end + + alpha = abs(deg2)*%pi/180; + + + if crp == 0 + // // Compute new Image Size // // To-Do : Compute better size for 90 degree, and to consider finding a way to do all in C // r = max(floor(sz(2)*sin(alpha) + sz(1)*cos(alpha)),sz(2)); @@ -68,7 +68,7 @@ function imout = imrotate(im1,deg,crp) // if strtype == 'constant' then // im2 = zeros(r,c); // else -// im2 = eval(strtype + '(zeros(r,c))'); +// im2 = evstr(strtype + '(zeros(r,c))'); // end // // // To check whether image is gray or RGB, and map the old image to the new size @@ -78,17 +78,17 @@ function imout = imrotate(im1,deg,crp) // im2(r_offset+1:r_offset+sz(1),c_offset+1:c_offset+sz(2),2) = im1(:,:,2); // im2(r_offset+1:r_offset+sz(1),c_offset+1:c_offset+sz(2),3) = im1(:,:,3); // if strtype ~= 'constant' then -// im2 = eval(strtype + '(im2)'); // a bug to report? +// im2 = evstr(strtype + '(im2)'); // a bug to report? // end // else // im2(r_offset+1:r_offset+sz(1),c_offset+1:c_offset+sz(2)) = im1; // end -// -// imout = int_imrotate(im2,deg); -// -// else -// imout = int_imrotate(im1,deg); -// end + + imout = int_imrotate(im1,deg,0); + + else + imout = int_imrotate(im1,deg,1); + end endfunction diff --git a/sci_gateway/cpp/builder_gateway_cpp.sce b/sci_gateway/cpp/builder_gateway_cpp.sce index fd9b3cb..91ce3e0 100644 --- a/sci_gateway/cpp/builder_gateway_cpp.sce +++ b/sci_gateway/cpp/builder_gateway_cpp.sce @@ -165,13 +165,14 @@ function builder_gateway_cpp() all_libs = []; else // Windows + THIRDPARTY_ROOT_PATH = fullpath(gw_cpp_path + "../../thirdparty"); OPENCV_INCLUDE = fullpath(THIRDPARTY_ROOT_PATH + "/opencv/windows/include"); - TORCH_INCLUDE = ''; + // TORCH_INCLUDE = ''; // TORCH_INCLUDE = fullpath(gw_cpp_path + "../../thirdparty/libtorch/windows/include"); // TORCH2_INCLUDE = fullpath(gw_cpp_path + "../../thirdparty/libtorch/windows/include/torch/csrc/api/include"); - inter_cflags = ilib_include_flag([OPENCV_INCLUDE,TORCH_INCLUDE, includes_src_cpp]); + inter_cflags = ilib_include_flag([OPENCV_INCLUDE]); inter_cflags = inter_cflags + " -std=c++11"; inter_ldflags = ""; diff --git a/sci_gateway/cpp/common.h b/sci_gateway/cpp/common.h index 52daab0..8ede500 100644 --- a/sci_gateway/cpp/common.h +++ b/sci_gateway/cpp/common.h @@ -189,6 +189,7 @@ int get_pointer_info_imgvec(int _iRhs, int* _piParent, int *_piAddr, int _iItemP // int sci_int_geotiffread(char * fname, void* pvApiCtx); // int sci_int_gpu_conv(char * fname, void* pvApiCtx); // int sci_int_test(char * fname, void* pvApiCtx); + int sci_int_imdist(char * fname, void* pvApiCtx); int sci_int_tracker_init(char * fname, void* pvApiCtx); int sci_int_tracker_update(char * fname, void* pvApiCtx); int sci_int_tracker_unloadall(char * fname, void* pvApiCtx); diff --git a/sci_gateway/cpp/libgw_ipcv.cpp b/sci_gateway/cpp/libgw_ipcv.cpp deleted file mode 100644 index 5ee62e0..0000000 --- a/sci_gateway/cpp/libgw_ipcv.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include -#include "libgw_ipcv.hxx" -extern "C" -{ -#include "libgw_ipcv.h" -#include "addfunction.h" -} - -#define MODULE_NAME L"libgw_ipcv" - -int libgw_ipcv(wchar_t* _pwstFuncName) -{ - if(wcscmp(_pwstFuncName, L"imdisplay") == 0){ addCStackFunction(L"imdisplay", &sci_imdisplay, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"aviopen") == 0){ addCStackFunction(L"aviopen", &sci_aviopen, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imextract_DescriptorORB") == 0){ addCStackFunction(L"int_imextract_DescriptorORB", &sci_int_imextract_DescriptorORB, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imfilter") == 0){ addCStackFunction(L"int_imfilter", &sci_int_imfilter, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imresize") == 0){ addCStackFunction(L"imresize", &sci_imresize, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_unloadall") == 0){ addCStackFunction(L"int_dnn_unloadall", &sci_int_dnn_unloadall, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"camopen") == 0){ addCStackFunction(L"camopen", &sci_camopen, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imabsdiff") == 0){ addCStackFunction(L"imabsdiff", &sci_imabsdiff, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_affinetransform") == 0){ addCStackFunction(L"int_affinetransform", &sci_int_affinetransform, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"addframe") == 0){ addCStackFunction(L"addframe", &sci_addframe, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imidct") == 0){ addCStackFunction(L"int_imidct", &sci_int_imidct, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imadd") == 0){ addCStackFunction(L"imadd", &sci_imadd, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imextract_DescriptorBRISK") == 0){ addCStackFunction(L"int_imextract_DescriptorBRISK", &sci_int_imextract_DescriptorBRISK, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"camclose") == 0){ addCStackFunction(L"camclose", &sci_camclose, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_FAST") == 0){ addCStackFunction(L"int_imdetect_FAST", &sci_int_imdetect_FAST, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"avireadframe") == 0){ addCStackFunction(L"avireadframe", &sci_avireadframe, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_getParam") == 0){ addCStackFunction(L"int_dnn_getParam", &sci_int_dnn_getParam, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imdestroyall") == 0){ addCStackFunction(L"imdestroyall", &sci_imdestroyall, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_perspectivetransform") == 0){ addCStackFunction(L"int_perspectivetransform", &sci_int_perspectivetransform, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_ORB") == 0){ addCStackFunction(L"int_imdetect_ORB", &sci_int_imdetect_ORB, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_immatch_BruteForce") == 0){ addCStackFunction(L"int_immatch_BruteForce", &sci_int_immatch_BruteForce, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imradon") == 0){ addCStackFunction(L"int_imradon", &sci_int_imradon, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_list") == 0){ addCStackFunction(L"int_dnn_list", &sci_int_dnn_list, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_BRISK") == 0){ addCStackFunction(L"int_imdetect_BRISK", &sci_int_imdetect_BRISK, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"avifile") == 0){ addCStackFunction(L"avifile", &sci_avifile, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imlogpolar") == 0){ addCStackFunction(L"int_imlogpolar", &sci_int_imlogpolar, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imhough") == 0){ addCStackFunction(L"int_imhough", &sci_int_imhough, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_getLayersCount") == 0){ addCStackFunction(L"int_dnn_getLayersCount", &sci_int_dnn_getLayersCount, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imhoughcircles") == 0){ addCStackFunction(L"int_imhoughcircles", &sci_int_imhoughcircles, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imsuperres") == 0){ addCStackFunction(L"int_imsuperres", &sci_int_imsuperres, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imadapthistequal") == 0){ addCStackFunction(L"int_imadapthistequal", &sci_int_imadapthistequal, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"aviinfo") == 0){ addCStackFunction(L"aviinfo", &sci_aviinfo, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imextract_DescriptorSIFT") == 0){ addCStackFunction(L"int_imextract_DescriptorSIFT", &sci_int_imextract_DescriptorSIFT, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imerode") == 0){ addCStackFunction(L"int_imerode", &sci_int_imerode, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imextract_DescriptorSURF") == 0){ addCStackFunction(L"int_imextract_DescriptorSURF", &sci_int_imextract_DescriptorSURF, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_immatch_Flann") == 0){ addCStackFunction(L"int_immatch_Flann", &sci_int_immatch_Flann, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imfindContours") == 0){ addCStackFunction(L"int_imfindContours", &sci_int_imfindContours, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imdestroy") == 0){ addCStackFunction(L"imdestroy", &sci_imdestroy, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_canny") == 0){ addCStackFunction(L"int_canny", &sci_int_canny, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_tracker_unloadall") == 0){ addCStackFunction(L"int_tracker_unloadall", &sci_int_tracker_unloadall, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"camlistopened") == 0){ addCStackFunction(L"camlistopened", &sci_camlistopened, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imsubtract") == 0){ addCStackFunction(L"imsubtract", &sci_imsubtract, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imlabel") == 0){ addCStackFunction(L"int_imlabel", &sci_int_imlabel, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdct") == 0){ addCStackFunction(L"int_imdct", &sci_int_imdct, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_cvtcolor") == 0){ addCStackFunction(L"int_cvtcolor", &sci_int_cvtcolor, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imfill") == 0){ addCStackFunction(L"int_imfill", &sci_int_imfill, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_rgb2gray") == 0){ addCStackFunction(L"int_rgb2gray", &sci_int_rgb2gray, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"avicloseall") == 0){ addCStackFunction(L"avicloseall", &sci_avicloseall, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imwrite") == 0){ addCStackFunction(L"int_imwrite", &sci_int_imwrite, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_getLayerNames") == 0){ addCStackFunction(L"int_dnn_getLayerNames", &sci_int_dnn_getLayerNames, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_detectobjects") == 0){ addCStackFunction(L"int_detectobjects", &sci_int_detectobjects, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imstitchImage") == 0){ addCStackFunction(L"int_imstitchImage", &sci_int_imstitchImage, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_immorphologyex") == 0){ addCStackFunction(L"int_immorphologyex", &sci_int_immorphologyex, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_sobel") == 0){ addCStackFunction(L"int_sobel", &sci_int_sobel, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"immultiply") == 0){ addCStackFunction(L"immultiply", &sci_immultiply, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imconvexHull") == 0){ addCStackFunction(L"int_imconvexHull", &sci_int_imconvexHull, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imread2") == 0){ addCStackFunction(L"int_imread2", &sci_int_imread2, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_tracker_init") == 0){ addCStackFunction(L"int_tracker_init", &sci_int_tracker_init, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_SURF") == 0){ addCStackFunction(L"int_imdetect_SURF", &sci_int_imdetect_SURF, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_immedian") == 0){ addCStackFunction(L"int_immedian", &sci_int_immedian, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdilate") == 0){ addCStackFunction(L"int_imdilate", &sci_int_imdilate, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdrawmatches") == 0){ addCStackFunction(L"int_imdrawmatches", &sci_int_imdrawmatches, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imcreatese") == 0){ addCStackFunction(L"int_imcreatese", &sci_int_imcreatese, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"aviaddframe") == 0){ addCStackFunction(L"aviaddframe", &sci_aviaddframe, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_unload") == 0){ addCStackFunction(L"int_dnn_unload", &sci_int_dnn_unload, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"camread") == 0){ addCStackFunction(L"camread", &sci_camread, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"ipcv_init") == 0){ addCStackFunction(L"ipcv_init", &sci_ipcv_init, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_MSER") == 0){ addCStackFunction(L"int_imdetect_MSER", &sci_int_imdetect_MSER, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_forward") == 0){ addCStackFunction(L"int_dnn_forward", &sci_int_dnn_forward, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_GFTT") == 0){ addCStackFunction(L"int_imdetect_GFTT", &sci_int_imdetect_GFTT, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_dnn_init") == 0){ addCStackFunction(L"int_dnn_init", &sci_int_dnn_init, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"filter2") == 0){ addCStackFunction(L"filter2", &sci_filter2, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_STAR") == 0){ addCStackFunction(L"int_imdetect_STAR", &sci_int_imdetect_STAR, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"impyramid") == 0){ addCStackFunction(L"impyramid", &sci_impyramid, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_iminpaint") == 0){ addCStackFunction(L"int_iminpaint", &sci_int_iminpaint, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imfinfo") == 0){ addCStackFunction(L"int_imfinfo", &sci_int_imfinfo, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"camcloseall") == 0){ addCStackFunction(L"camcloseall", &sci_camcloseall, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_tracker_update") == 0){ addCStackFunction(L"int_tracker_update", &sci_int_tracker_update, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_rgb2lab") == 0){ addCStackFunction(L"int_rgb2lab", &sci_int_rgb2lab, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imread") == 0){ addCStackFunction(L"int_imread", &sci_int_imread, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imrotate") == 0){ addCStackFunction(L"int_imrotate", &sci_int_imrotate, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_getaffinetransform") == 0){ addCStackFunction(L"int_getaffinetransform", &sci_int_getaffinetransform, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"avilistopened") == 0){ addCStackFunction(L"avilistopened", &sci_avilistopened, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imdetect_SIFT") == 0){ addCStackFunction(L"int_imdetect_SIFT", &sci_int_imdetect_SIFT, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"iminspect") == 0){ addCStackFunction(L"iminspect", &sci_iminspect, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_getperspectivetransform") == 0){ addCStackFunction(L"int_getperspectivetransform", &sci_int_getperspectivetransform, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"imdivide") == 0){ addCStackFunction(L"imdivide", &sci_imdivide, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"int_imboundingRect") == 0){ addCStackFunction(L"int_imboundingRect", &sci_int_imboundingRect, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"aviclose") == 0){ addCStackFunction(L"aviclose", &sci_aviclose, MODULE_NAME); } - if(wcscmp(_pwstFuncName, L"mat2utfimg") == 0){ addCStackFunction(L"mat2utfimg", &sci_mat2utfimg, MODULE_NAME); } - - return 1; -} diff --git a/sci_gateway/cpp/libgw_ipcv.h b/sci_gateway/cpp/libgw_ipcv.h deleted file mode 100644 index 9d5a8c6..0000000 --- a/sci_gateway/cpp/libgw_ipcv.h +++ /dev/null @@ -1,97 +0,0 @@ -#ifndef __LIBGW_IPCV_GW_H__ -#define __LIBGW_IPCV_GW_H__ - -#include "c_gateway_prototype.h" - -STACK_GATEWAY_PROTOTYPE(sci_addframe); -STACK_GATEWAY_PROTOTYPE(sci_aviaddframe); -STACK_GATEWAY_PROTOTYPE(sci_aviclose); -STACK_GATEWAY_PROTOTYPE(sci_avicloseall); -STACK_GATEWAY_PROTOTYPE(sci_avifile); -STACK_GATEWAY_PROTOTYPE(sci_aviinfo); -STACK_GATEWAY_PROTOTYPE(sci_avilistopened); -STACK_GATEWAY_PROTOTYPE(sci_aviopen); -STACK_GATEWAY_PROTOTYPE(sci_avireadframe); -STACK_GATEWAY_PROTOTYPE(sci_camclose); -STACK_GATEWAY_PROTOTYPE(sci_camcloseall); -STACK_GATEWAY_PROTOTYPE(sci_camlistopened); -STACK_GATEWAY_PROTOTYPE(sci_camopen); -STACK_GATEWAY_PROTOTYPE(sci_camread); -STACK_GATEWAY_PROTOTYPE(sci_filter2); -STACK_GATEWAY_PROTOTYPE(sci_imabsdiff); -STACK_GATEWAY_PROTOTYPE(sci_imadd); -STACK_GATEWAY_PROTOTYPE(sci_imdestroy); -STACK_GATEWAY_PROTOTYPE(sci_imdestroyall); -STACK_GATEWAY_PROTOTYPE(sci_imdisplay); -STACK_GATEWAY_PROTOTYPE(sci_imdivide); -STACK_GATEWAY_PROTOTYPE(sci_iminspect); -STACK_GATEWAY_PROTOTYPE(sci_immultiply); -STACK_GATEWAY_PROTOTYPE(sci_impyramid); -STACK_GATEWAY_PROTOTYPE(sci_imresize); -STACK_GATEWAY_PROTOTYPE(sci_imsubtract); -STACK_GATEWAY_PROTOTYPE(sci_int_affinetransform); -STACK_GATEWAY_PROTOTYPE(sci_int_canny); -STACK_GATEWAY_PROTOTYPE(sci_int_cvtcolor); -STACK_GATEWAY_PROTOTYPE(sci_int_detectobjects); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_forward); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_getLayerNames); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_getLayersCount); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_getParam); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_init); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_list); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_unload); -STACK_GATEWAY_PROTOTYPE(sci_int_dnn_unloadall); -STACK_GATEWAY_PROTOTYPE(sci_int_getaffinetransform); -STACK_GATEWAY_PROTOTYPE(sci_int_getperspectivetransform); -STACK_GATEWAY_PROTOTYPE(sci_int_imadapthistequal); -STACK_GATEWAY_PROTOTYPE(sci_int_imboundingRect); -STACK_GATEWAY_PROTOTYPE(sci_int_imconvexHull); -STACK_GATEWAY_PROTOTYPE(sci_int_imcreatese); -STACK_GATEWAY_PROTOTYPE(sci_int_imdct); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_BRISK); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_FAST); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_GFTT); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_MSER); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_ORB); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_SIFT); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_STAR); -STACK_GATEWAY_PROTOTYPE(sci_int_imdetect_SURF); -STACK_GATEWAY_PROTOTYPE(sci_int_imdilate); -STACK_GATEWAY_PROTOTYPE(sci_int_imdrawmatches); -STACK_GATEWAY_PROTOTYPE(sci_int_imerode); -STACK_GATEWAY_PROTOTYPE(sci_int_imextract_DescriptorBRISK); -STACK_GATEWAY_PROTOTYPE(sci_int_imextract_DescriptorORB); -STACK_GATEWAY_PROTOTYPE(sci_int_imextract_DescriptorSIFT); -STACK_GATEWAY_PROTOTYPE(sci_int_imextract_DescriptorSURF); -STACK_GATEWAY_PROTOTYPE(sci_int_imfill); -STACK_GATEWAY_PROTOTYPE(sci_int_imfilter); -STACK_GATEWAY_PROTOTYPE(sci_int_imfindContours); -STACK_GATEWAY_PROTOTYPE(sci_int_imfinfo); -STACK_GATEWAY_PROTOTYPE(sci_int_imhough); -STACK_GATEWAY_PROTOTYPE(sci_int_imhoughcircles); -STACK_GATEWAY_PROTOTYPE(sci_int_imidct); -STACK_GATEWAY_PROTOTYPE(sci_int_iminpaint); -STACK_GATEWAY_PROTOTYPE(sci_int_imlabel); -STACK_GATEWAY_PROTOTYPE(sci_int_imlogpolar); -STACK_GATEWAY_PROTOTYPE(sci_int_immatch_BruteForce); -STACK_GATEWAY_PROTOTYPE(sci_int_immatch_Flann); -STACK_GATEWAY_PROTOTYPE(sci_int_immedian); -STACK_GATEWAY_PROTOTYPE(sci_int_immorphologyex); -STACK_GATEWAY_PROTOTYPE(sci_int_imradon); -STACK_GATEWAY_PROTOTYPE(sci_int_imread); -STACK_GATEWAY_PROTOTYPE(sci_int_imread2); -STACK_GATEWAY_PROTOTYPE(sci_int_imrotate); -STACK_GATEWAY_PROTOTYPE(sci_int_imstitchImage); -STACK_GATEWAY_PROTOTYPE(sci_int_imsuperres); -STACK_GATEWAY_PROTOTYPE(sci_int_imwrite); -STACK_GATEWAY_PROTOTYPE(sci_int_perspectivetransform); -STACK_GATEWAY_PROTOTYPE(sci_int_rgb2gray); -STACK_GATEWAY_PROTOTYPE(sci_int_rgb2lab); -STACK_GATEWAY_PROTOTYPE(sci_int_sobel); -STACK_GATEWAY_PROTOTYPE(sci_int_tracker_init); -STACK_GATEWAY_PROTOTYPE(sci_int_tracker_unloadall); -STACK_GATEWAY_PROTOTYPE(sci_int_tracker_update); -STACK_GATEWAY_PROTOTYPE(sci_ipcv_init); -STACK_GATEWAY_PROTOTYPE(sci_mat2utfimg); - -#endif /* __LIBGW_IPCV_GW_H__ */ diff --git a/sci_gateway/cpp/libgw_ipcv.hxx b/sci_gateway/cpp/libgw_ipcv.hxx deleted file mode 100644 index afb7dfc..0000000 --- a/sci_gateway/cpp/libgw_ipcv.hxx +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __LIBGW_IPCV_GW_HXX__ -#define __LIBGW_IPCV_GW_HXX__ - -#ifdef _MSC_VER -#ifdef LIBGW_IPCV_GW_EXPORTS -#define LIBGW_IPCV_GW_IMPEXP __declspec(dllexport) -#else -#define LIBGW_IPCV_GW_IMPEXP __declspec(dllimport) -#endif -#else -#define LIBGW_IPCV_GW_IMPEXP -#endif - -extern "C" LIBGW_IPCV_GW_IMPEXP int libgw_ipcv(wchar_t* _pwstFuncName); - - - -#endif /* __LIBGW_IPCV_GW_HXX__ */ diff --git a/sci_gateway/cpp/libgw_ipcv.so b/sci_gateway/cpp/libgw_ipcv.so deleted file mode 100755 index a7d599b..0000000 Binary files a/sci_gateway/cpp/libgw_ipcv.so and /dev/null differ diff --git a/sci_gateway/cpp/sci_addframe.cpp b/sci_gateway/cpp/sci_addframe.cpp index 9621531..b780b50 100644 --- a/sci_gateway/cpp/sci_addframe.cpp +++ b/sci_gateway/cpp/sci_addframe.cpp @@ -31,7 +31,7 @@ int sci_addframe(char * fname,void* pvApiCtx) Mat pImage; CheckInputArgument(pvApiCtx, 2, 2); - CheckOutputArgument(pvApiCtx, 1, 1); + CheckOutputArgument(pvApiCtx, 0, 0); double *out = NULL; int iRows = 0; diff --git a/sci_gateway/cpp/sci_int_dnn_init.cpp b/sci_gateway/cpp/sci_int_dnn_init.cpp index d140763..08cb5e8 100644 --- a/sci_gateway/cpp/sci_int_dnn_init.cpp +++ b/sci_gateway/cpp/sci_int_dnn_init.cpp @@ -83,6 +83,10 @@ int sci_int_dnn_init(char * fname, void* pvApiCtx) sciprint("Loading ONNX Model: %s\n", modelBin.c_str()); DeepNet[nCurrFile].net = dnn::readNetFromONNX(modelBin); break; } + case 5: { + sciprint("Loading Torch Model: %s\n", modelBin.c_str()); + DeepNet[nCurrFile].net = dnn::readNetFromTorch(modelBin); + break; } } //DeepNet[nCurrFile].net = dnn::readNet(modelBin, modelTxt); diff --git a/sci_gateway/cpp/sci_int_imdist.cpp b/sci_gateway/cpp/sci_int_imdist.cpp new file mode 100644 index 0000000..5d9d7e2 --- /dev/null +++ b/sci_gateway/cpp/sci_int_imdist.cpp @@ -0,0 +1,29 @@ +/*********************************************************************** + * IPCV - Scilab Image Processing and Computer Vision toolbox + * Copyright (C) 2020 Tan Chin Luh + ***********************************************************************/ + +#include "common.h" + +/************************************************************ +* imout = int_imdist(imin, me); +************************************************************/ + + +int sci_int_imdist(char * fname,void* pvApiCtx) +{ + + Mat src; + Mat dst; + Mat se; + + GetImage(1,src,pvApiCtx); + + distanceTransform(src, dst, CV_DIST_L1, 3); + + SetImage(1,dst,pvApiCtx); + + return 0; + + +} diff --git a/sci_gateway/cpp/sci_int_imrotate.cpp b/sci_gateway/cpp/sci_int_imrotate.cpp index 6b9ccf4..484048f 100644 --- a/sci_gateway/cpp/sci_int_imrotate.cpp +++ b/sci_gateway/cpp/sci_int_imrotate.cpp @@ -18,41 +18,41 @@ using namespace std; int sci_int_imrotate(char * fname,void* pvApiCtx) { - CheckInputArgument(pvApiCtx, 2, 2); + CheckInputArgument(pvApiCtx, 3, 3); CheckOutputArgument(pvApiCtx, 0, 1); - /////////////////// - //// First Input // - /////////////////// + // First Input - Image Mat src; GetImage(1,src,pvApiCtx); - - //sciprint("Input type %d\n",src.type()); - - /////////////////// Mat dst; + // Second Input - Rotation angle int *piAddr2 = NULL; double angle = 0; getVarAddressFromPosition(pvApiCtx, 2, &piAddr2); getScalarDouble(pvApiCtx, piAddr2, &angle); - //Point2f pt(src.cols*0.5f, src.rows*0.5f); - // Mat r = getRotationMatrix2D(pt, angle, 1.0); - // warpAffine(src, dst, r, dst.size()); - - ///////////// + // Third Input - Crop + int *piAddr3 = NULL; + double crop = 0; + getVarAddressFromPosition(pvApiCtx, 3, &piAddr3); + getScalarDouble(pvApiCtx, piAddr3, &crop); + + // Process Point2f center(src.cols/2.0, src.rows/2.0); Mat rot = getRotationMatrix2D(center, angle, 1.0); - // determine bounding rectangle - Rect bbox = RotatedRect(center,src.size(), angle).boundingRect(); - // adjust transformation matrix - rot.at(0,2) += bbox.width/2.0 - center.x; - rot.at(1,2) += bbox.height/2.0 - center.y; - warpAffine(src, dst, rot, bbox.size()); - //////////// - + if (crop == 1) { + warpAffine(src, dst, rot, src.size()); + } + else { + // determine bounding rectangle + Rect bbox = RotatedRect(center, src.size(), angle).boundingRect(); + // adjust transformation matrix + rot.at(0, 2) += bbox.width / 2.0 - center.x; + rot.at(1, 2) += bbox.height / 2.0 - center.y; + warpAffine(src, dst, rot, bbox.size()); + } //waitKey(0); SetImage(1,dst,pvApiCtx);