From 1dc99d862fe3178a3a6e72e2c1338000545ec859 Mon Sep 17 00:00:00 2001 From: Ankitr19 Date: Fri, 7 Jul 2017 12:47:56 +0530 Subject: Demos and RPi compiler compatibility --- demos/FilterResponse.dem.sce | 18 +++ demos/Jacobi.dem.sce | 18 +++ demos/analogFilter.dem.sce | 18 +++ demos/scilab2c.dem.gateway.sce | 6 +- demos/string.dem.sce | 16 ++ etc/scilab2c.start | 2 +- jar/scilab_en_US_help.jar | Bin 88922 -> 88922 bytes macros/CCodeGeneration/C_GenerateMakefile.sci | 2 +- .../ToolInitialization/INIT_FillSCI2LibCDirs.sci | 2 +- macros/scilab2c.sci | 2 +- src/c/signalProcessing/%k/dmodka.c | 25 ++-- src/c/signalProcessing/%sn/dmodsns.c | 10 +- src/c/signalProcessing/ell1mag/dell1maga.c | 2 +- src/c/signalProcessing/ell1mag/zell1maga.c | 11 +- src/c/signalProcessing/ffilt/gffilts.c | 9 +- src/c/signalProcessing/fsfirlin/dfsfirlina.c | 2 - src/c/signalProcessing/sincd/dsincds.c | 1 - src/c/signalProcessing/sincd/u8sincds.c | 5 +- src/c/signalProcessing/zmodsns.c | 161 +++++++++++++++++++++ src/c/signalProcessing/zpbutt/dzpbutts.c | 1 + src/c/string/ascii/gasciia.c | 4 +- src/c/string/includes/ascii.h | 2 +- src/c/string/strcspn/gstrcspna.c | 6 +- .../test_analogFilters/scilabcode/main.sci | 33 +++++ .../test_analogFilters/scilabcode/zpbutttest.sci | 7 + .../test_analogFilters/scilabcode/zpch1test.sci | 9 ++ .../test_analogFilters/scilabcode/zpch2test.sci | 9 ++ .../test_filterResponse/scilabcode/buttmagtest.sci | 7 + .../scilabcode/cheb1magtest.sci | 8 + .../test_filterResponse/scilabcode/ell1magtest.sci | 7 + .../test_filterResponse/scilabcode/main.sci | 20 +++ tests/unit_tests/test_jacobi/scilabcode/main.sci | 18 +++ .../unit_tests/test_jacobi/scilabcode/modktest.sci | 5 + .../test_jacobi/scilabcode/modsntest.sci | 6 + .../test_string/scilabcode/asciitest.sci | 11 ++ .../test_string/scilabcode/asciitest2.sci | 5 + tests/unit_tests/test_string/scilabcode/main.sci | 30 ++++ .../test_string/scilabcode/strchrtest.sci | 6 + .../test_string/scilabcode/strcspntest.sci | 6 + .../test_string/scilabcode/strncpytest.sci | 6 + thirdparty/lib/raspberrypi/libcblas.a | Bin 260756 -> 260756 bytes thirdparty/lib/raspberrypi/liblapack.a | Bin 7700624 -> 7700624 bytes thirdparty/lib/raspberrypi/librefblas.a | Bin 441244 -> 441244 bytes 43 files changed, 468 insertions(+), 48 deletions(-) create mode 100644 demos/FilterResponse.dem.sce create mode 100644 demos/Jacobi.dem.sce create mode 100644 demos/analogFilter.dem.sce create mode 100644 demos/string.dem.sce create mode 100644 src/c/signalProcessing/zmodsns.c create mode 100644 tests/unit_tests/test_analogFilters/scilabcode/main.sci create mode 100644 tests/unit_tests/test_analogFilters/scilabcode/zpbutttest.sci create mode 100644 tests/unit_tests/test_analogFilters/scilabcode/zpch1test.sci create mode 100644 tests/unit_tests/test_analogFilters/scilabcode/zpch2test.sci create mode 100644 tests/unit_tests/test_filterResponse/scilabcode/buttmagtest.sci create mode 100644 tests/unit_tests/test_filterResponse/scilabcode/cheb1magtest.sci create mode 100644 tests/unit_tests/test_filterResponse/scilabcode/ell1magtest.sci create mode 100644 tests/unit_tests/test_filterResponse/scilabcode/main.sci create mode 100644 tests/unit_tests/test_jacobi/scilabcode/main.sci create mode 100644 tests/unit_tests/test_jacobi/scilabcode/modktest.sci create mode 100644 tests/unit_tests/test_jacobi/scilabcode/modsntest.sci create mode 100644 tests/unit_tests/test_string/scilabcode/asciitest.sci create mode 100644 tests/unit_tests/test_string/scilabcode/asciitest2.sci create mode 100644 tests/unit_tests/test_string/scilabcode/main.sci create mode 100644 tests/unit_tests/test_string/scilabcode/strchrtest.sci create mode 100644 tests/unit_tests/test_string/scilabcode/strcspntest.sci create mode 100644 tests/unit_tests/test_string/scilabcode/strncpytest.sci diff --git a/demos/FilterResponse.dem.sce b/demos/FilterResponse.dem.sce new file mode 100644 index 0000000..7104836 --- /dev/null +++ b/demos/FilterResponse.dem.sce @@ -0,0 +1,18 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +//This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + + + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_filterResponse/scilabcode"); diff --git a/demos/Jacobi.dem.sce b/demos/Jacobi.dem.sce new file mode 100644 index 0000000..0b1618c --- /dev/null +++ b/demos/Jacobi.dem.sce @@ -0,0 +1,18 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_jacobi/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_jacobi/scilabcode"); + diff --git a/demos/analogFilter.dem.sce b/demos/analogFilter.dem.sce new file mode 100644 index 0000000..674c954 --- /dev/null +++ b/demos/analogFilter.dem.sce @@ -0,0 +1,18 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +//This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + + + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_analogFilters/scilabcode"); diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce index 71372e2..011e474 100644 --- a/demos/scilab2c.dem.gateway.sce +++ b/demos/scilab2c.dem.gateway.sce @@ -16,6 +16,10 @@ subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce"; "Linear Regression" , "LinearRegression.dem.sce"; "Symbols", "Symbols.dem.sce"; "High Pass Filter", "Filter.dem.sce"; + "Jacobi functions","Jacobi.dem.sce"; + "Analog Filters","analogFilter.dem.sce"; + "String Functions","string.dem.sce"; + "Filter Responses","FilterResponse.dem.sce"; ]; -subdemolist(:,2) = demopath + subdemolist(:,2); \ No newline at end of file +subdemolist(:,2) = demopath + subdemolist(:,2); diff --git a/demos/string.dem.sce b/demos/string.dem.sce new file mode 100644 index 0000000..db90905 --- /dev/null +++ b/demos/string.dem.sce @@ -0,0 +1,16 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +//This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Ankit Raj +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME+"/tests/unit_tests/test_string/scilabcode/main.sci",TMPDIR,SCI2CHOME+"/tests/unit_tests/test_string/scilabcode"); diff --git a/etc/scilab2c.start b/etc/scilab2c.start index 2f364c6..793b0a7 100644 --- a/etc/scilab2c.start +++ b/etc/scilab2c.start @@ -47,7 +47,7 @@ if or(getscilabmode() == ["NW";"STD"]) then mprintf("\tLoad demos\n"); pathdemos = pathconvert(root_tlbx + "/demos/scilab2c.dem.gateway.sce",%f,%t); -// add_demo(gettext("Scilab2C"),pathdemos); + add_demo(gettext("Scilab2C"),pathdemos); clear pathdemos ; end diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar index d829915..afe0ba2 100644 Binary files a/jar/scilab_en_US_help.jar and b/jar/scilab_en_US_help.jar differ diff --git a/macros/CCodeGeneration/C_GenerateMakefile.sci b/macros/CCodeGeneration/C_GenerateMakefile.sci index 3b977bd..dbdae9d 100644 --- a/macros/CCodeGeneration/C_GenerateMakefile.sci +++ b/macros/CCodeGeneration/C_GenerateMakefile.sci @@ -70,7 +70,7 @@ else PrintStringInfo('CXX = arm-linux-gnueabihf-g++ ',FileInfo.MakefileFilename,'file','y','y'); PrintStringInfo('CFLAGS = -Wall -pedantic -g -I $(HSRCDIR) -I $(ISRCDIR) -L $(LIBDIR)',FileInfo.MakefileFilename,'file','y','y'); PrintStringInfo('CXXFLAGS = -Wall -pedantic -g -I $(HSRCDIR) -I $(ISRCDIR) -L $(LIBDIR)',FileInfo.MakefileFilename,'file','y','y'); - PrintStringInfo('LDFLAGS = -llapack -lrefblas -lgfortran -lwiringPi -lwiringPiDev -lrt -lpthread',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('LDFLAGS = -llapack -lrefblas -lgfortran -lwiringPi -lwiringPiDev -lrt -lpthread -lRPIwfi',FileInfo.MakefileFilename,'file','y','y'); else PrintStringInfo('CC = gcc',FileInfo.MakefileFilename,'file','y','y'); PrintStringInfo('CXX = g++',FileInfo.MakefileFilename,'file','y','y'); diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index 325f4d5..639fa68 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -9715,7 +9715,7 @@ ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); PrintStringInfo('NIN= 3',ClassFileName,'file','y'); PrintStringInfo('NOUT= 1',ClassFileName,'file','y'); -PrintStringInfo('OUT(1).TP= IN(3).TP',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= ''d''',ClassFileName,'file','y'); PrintStringInfo('OUT(1).SZ(1)= IN(3).SZ(1)',ClassFileName,'file','y'); PrintStringInfo('OUT(1).SZ(2)= IN(3).SZ(2)',ClassFileName,'file','y'); diff --git a/macros/scilab2c.sci b/macros/scilab2c.sci index 197c88b..70290d0 100644 --- a/macros/scilab2c.sci +++ b/macros/scilab2c.sci @@ -57,7 +57,7 @@ function scilab2c(varargin) RunMode = "All"; BuildTool = getNativeBuildTool(); Target = "StandAlone" - //Board_name = "uno" + Board_name = "uno" // // scilab2c(UserScilabMainFile, CCodeOutputDir, UserSciFilesPaths, RunMode) // diff --git a/src/c/signalProcessing/%k/dmodka.c b/src/c/signalProcessing/%k/dmodka.c index c0630ec..8368cb6 100644 --- a/src/c/signalProcessing/%k/dmodka.c +++ b/src/c/signalProcessing/%k/dmodka.c @@ -1,3 +1,14 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ankit Raj + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ #include #include #include "modk.h" @@ -10,7 +21,6 @@ double max_calc(double* ptr,int sz) ptr[0]=-1*ptr[0]; } mx=(ptr[0]); - //printf("%lf\n",mx); for(i=1;ieps) { @@ -88,10 +95,4 @@ void dmodka(double* inp,int size,double* oup) } } -/* -int main() -{ - double m[3]={0.1,0.2,0.3}; - dka(m,3); -} -*/ + diff --git a/src/c/signalProcessing/%sn/dmodsns.c b/src/c/signalProcessing/%sn/dmodsns.c index 06d0a6f..aae16c1 100644 --- a/src/c/signalProcessing/%sn/dmodsns.c +++ b/src/c/signalProcessing/%sn/dmodsns.c @@ -82,12 +82,4 @@ double dmodsns(double uu, double emmc) } return sn; } -/* -int main() -{ - double u,k; - u=4; - k=0.7; - sn(u,k); -} -*/ + diff --git a/src/c/signalProcessing/ell1mag/dell1maga.c b/src/c/signalProcessing/ell1mag/dell1maga.c index 9af0c8e..58ef303 100644 --- a/src/c/signalProcessing/ell1mag/dell1maga.c +++ b/src/c/signalProcessing/ell1mag/dell1maga.c @@ -21,7 +21,7 @@ void dell1maga(double eps,double m1,double* z,int size,double* oup ) int i; for(i=0;i - #include #include "sincd.h" #include "fsfirlin.h" -//#define PI 3.14159265358979 void dfsfirlina(double* hd,int size,double flag,double* hst) { diff --git a/src/c/signalProcessing/sincd/dsincds.c b/src/c/signalProcessing/sincd/dsincds.c index 1475d8d..c9f2f81 100644 --- a/src/c/signalProcessing/sincd/dsincds.c +++ b/src/c/signalProcessing/sincd/dsincds.c @@ -13,7 +13,6 @@ #include #include #include "sincd.h" -//#define PI 3.14159265358979 void dsincds(double n,double flg,double* oup) { double npt=4*n; diff --git a/src/c/signalProcessing/sincd/u8sincds.c b/src/c/signalProcessing/sincd/u8sincds.c index d03f48a..ff0a2ac 100644 --- a/src/c/signalProcessing/sincd/u8sincds.c +++ b/src/c/signalProcessing/sincd/u8sincds.c @@ -13,12 +13,11 @@ #include #include #include "sincd.h" -#define PI 3.14159265358979 void u8sincds(int n,int flg,double* oup) { double npt=4*n; int sz=4*n; - double pas=PI/npt; + double pas=M_PI/npt; double om[sz+1]; int i; //om[0]=0; @@ -69,7 +68,7 @@ void u8sincds(int n,int flg,double* oup) int a; for(a=0;a<=4*n;a++) { - om[a]=om[a]-(PI/(2*n)); + om[a]=om[a]-(M_PI/(2*n)); } int j,k; for(j=0;j<=4*n;j++) diff --git a/src/c/signalProcessing/zmodsns.c b/src/c/signalProcessing/zmodsns.c new file mode 100644 index 0000000..5f35059 --- /dev/null +++ b/src/c/signalProcessing/zmodsns.c @@ -0,0 +1,161 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ankit Raj + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + Reference:- Abramowitz, Milton and Stegun, Irene A + Handbook of Mathematical Functions, Dover, 1965 + Chapter 16 (Sections 16.4, 16.13 and 16.15) + Link for FORTRAN code:-http://www.aip.de/groups/soe/local/numres/bookfpdf/f6-11.pdf +*/ + +#include +#include +#include "modsn.h" +#include "doubleComplex.h" +#define CA 0.0003 + +doubleComplex zmodsns(doubleComplex uu,double emmc) +{ + doubleComplex ans; + double uur,uui; + uur=zreals(uu); + uui=zimags(uu); + double sr,cr,dr; + //Performing Elliptic Function operation for the real values + double a1,b1,c1,d1,emc1,u1; + double em1[14],en1[14]; + int i1,ii1,l1,bo1; + emc1=1-emmc; + u1=uur; + if(emc1) + { + bo1=(emc1<0.0); + if(bo1) + { + d1=1.0-emc1; + emc1/=-1.0/d1; + u1*=(d1=sqrt(d1)); + } + a1=1.0; + dr=1.0; + for(i1=1;i1<=13;i1++) + { + l1=i1; + em1[i1]=a1; + en1[i1]=(emc1=sqrt(emc1)); + c1=0.5*(a1+emc1); + if(fabs(a1-emc1)<=CA*a1)break; + emc1*=a1; + a1=c1; + } + u1*=c1; + sr=sin(u1); + cr=cos(u1); + if(sr) + { + a1=cr/sr; + c1*=a1; + for(ii1=l1;ii1>=1;ii1--) + { + b1=em1[ii1]; + a1*=c1; + c1*=dr; + dr=(en1[ii1]+a1)/(b1+a1); + a1=c1/b1; + } + a1=1.0/sqrt(c1*c1+1.0); + sr=(sr>=0.0?a1:-a1); + cr=c1*(sr); + } + if(bo1) + { + a1=dr; + dr=cr; + cr=a1; + sr/=d1; + } + } + else + { + cr=1.0/cosh(u1); + dr=cr; + sr=tanh(u1); + } + //////////////////////////////////////////////////////////////// + double si,ci,di; + //Performing Elleptic Function operation for the imaginary values + double a,b,c,d,emc,u; + double em[14],en[14]; + int i,ii,l,bo; + //double s1,c1,d1; + emc=emmc; + u=uui; + if(emc) + { + bo=(emc<0.0); + if(bo) + { + d=1.0-emc; + emc/=-1.0/d; + u*=(d=sqrt(d)); + } + a=1.0; + di=1.0; + for(i=1;i<=13;i++) + { + l=i; + em[i]=a; + en[i]=(emc=sqrt(emc)); + c=0.5*(a+emc); + if(fabs(a-emc)<=CA*a)break; + emc*=a; + a=c; + } + u*=c; + si=sin(u); + ci=cos(u); + if(si) + { + a=ci/si; + c*=a; + for(ii=l;ii>=1;ii--) + { + b=em[ii]; + a*=c; + c*=di; + di=(en[ii]+a)/(b+a); + a=c/b; + } + a=1.0/sqrt(c*c+1.0); + si=(si>=0.0?a:-a); + ci=c*(si); + } + if(bo) + { + a=di; + di=ci; + ci=a; + si/=d; + } + } + else + { + ci=1.0/cosh(u); + di=ci; + si=tanh(u); + } + ///////////////////////////////////////////////////////// + double delta; + delta=ci*ci + emmc*sr*sr*si*si; + double snir,snii; + snir=(sr*di)/delta; + snii=(cr*dr*si*ci)/delta; + ans=DoubleComplex(snir,snii); + return ans; +} diff --git a/src/c/signalProcessing/zpbutt/dzpbutts.c b/src/c/signalProcessing/zpbutt/dzpbutts.c index 33f22af..7b9fe9b 100644 --- a/src/c/signalProcessing/zpbutt/dzpbutts.c +++ b/src/c/signalProcessing/zpbutt/dzpbutts.c @@ -12,6 +12,7 @@ #include #include #include "zpbutt.h" +#include "doubleComplex.h" #define PI 3.14159265 double dzpbutts(double n,double fl,doubleComplex* out) { diff --git a/src/c/string/ascii/gasciia.c b/src/c/string/ascii/gasciia.c index ec11d6e..5fe95e0 100644 --- a/src/c/string/ascii/gasciia.c +++ b/src/c/string/ascii/gasciia.c @@ -14,12 +14,12 @@ into its ascii equivalent. */ #include "ascii.h" -void gasciia(char *str,int size,int* oup) +void gasciia(char *str,int size,uint8* oup) { int i; for(i=0;ibutterworth filter +//zpch1 ->chebyshev type-1 filter +//zpch2 ->chebyshev type-2 filter +function main() + n=5; //n is the filter order + fl=3; //fl is the cutoff frequency + [pb,gb]=zpbutt(n,fl); + disp("poles of butterworth filter") + disp(pb); + disp("gain of butterworth filter"); + disp(gb); + + e=0.5; //e (epsilon) it is the ripples in pass band + wc=4; // wc cutoff frequency + [pc1,gc1]=zpch1(n,e,wc); + disp("poles of chebyshev-1 filter") + disp(pc1); + disp("gain of chebyshev-1 filter") + disp(gc1); + + a=4; //a is the attenuation in stop band + w=5; //w (omega) is the cutoff frequency + [zc2,pc2,gc2]=zpch2(n,a,w); + disp("zeros of chebyshev-2 filter") + disp(zc2); + disp("poles of chebyshev-2 filter") + disp(pc2); + disp("gain of chebyshev-2 filter") + disp(gc2); +endfunction diff --git a/tests/unit_tests/test_analogFilters/scilabcode/zpbutttest.sci b/tests/unit_tests/test_analogFilters/scilabcode/zpbutttest.sci new file mode 100644 index 0000000..1ea723d --- /dev/null +++ b/tests/unit_tests/test_analogFilters/scilabcode/zpbutttest.sci @@ -0,0 +1,7 @@ +function zpbutttest() + n=5; + fl=3; + [p,g]=zpbutt(n,fl); + disp(p); + disp(g); +endfunction diff --git a/tests/unit_tests/test_analogFilters/scilabcode/zpch1test.sci b/tests/unit_tests/test_analogFilters/scilabcode/zpch1test.sci new file mode 100644 index 0000000..4f29e0d4 --- /dev/null +++ b/tests/unit_tests/test_analogFilters/scilabcode/zpch1test.sci @@ -0,0 +1,9 @@ +function zpch1test() + + N=5; //N is the filter order + e=0.5; //e (epsilon) it is the ripples in pass band + wc=4; // wc cutoff frequency + [p,g]=zpch1(N,e,wc); + disp(p); + disp(g); +endfunction diff --git a/tests/unit_tests/test_analogFilters/scilabcode/zpch2test.sci b/tests/unit_tests/test_analogFilters/scilabcode/zpch2test.sci new file mode 100644 index 0000000..665fb41 --- /dev/null +++ b/tests/unit_tests/test_analogFilters/scilabcode/zpch2test.sci @@ -0,0 +1,9 @@ +function zpch2test() + n=5; + a=4; + w=5; + [z,p,g]=zpch2(n,a,w); + disp(z); + disp(p); + disp(g); +endfunction diff --git a/tests/unit_tests/test_filterResponse/scilabcode/buttmagtest.sci b/tests/unit_tests/test_filterResponse/scilabcode/buttmagtest.sci new file mode 100644 index 0000000..c7426c2 --- /dev/null +++ b/tests/unit_tests/test_filterResponse/scilabcode/buttmagtest.sci @@ -0,0 +1,7 @@ +function buttmagtest() + smp=[1:5]; + od=6; + frq=2.2; + oup=buttmag(od,frq,smp); + disp(oup); +endfunction diff --git a/tests/unit_tests/test_filterResponse/scilabcode/cheb1magtest.sci b/tests/unit_tests/test_filterResponse/scilabcode/cheb1magtest.sci new file mode 100644 index 0000000..7d09637 --- /dev/null +++ b/tests/unit_tests/test_filterResponse/scilabcode/cheb1magtest.sci @@ -0,0 +1,8 @@ +function cheb1magtest() + od=5; + wfc=3; + eps=0.3; + sap=[1:5]; + out=cheb1mag(od,wfc,eps,sap); + disp(out); +endfunction diff --git a/tests/unit_tests/test_filterResponse/scilabcode/ell1magtest.sci b/tests/unit_tests/test_filterResponse/scilabcode/ell1magtest.sci new file mode 100644 index 0000000..b53c435 --- /dev/null +++ b/tests/unit_tests/test_filterResponse/scilabcode/ell1magtest.sci @@ -0,0 +1,7 @@ +function ell1magtest() + eps1=0.2; + m11=0.4; + z1=[1,2,3]; + [s1]=ell1mag(eps1,m11,z1); + disp(s1); +endfunction diff --git a/tests/unit_tests/test_filterResponse/scilabcode/main.sci b/tests/unit_tests/test_filterResponse/scilabcode/main.sci new file mode 100644 index 0000000..6a8cbc5 --- /dev/null +++ b/tests/unit_tests/test_filterResponse/scilabcode/main.sci @@ -0,0 +1,20 @@ +function main() + + order=5; + sample1=[1:5]; + frq=2.2; + out1=buttmag(order,frq,sample1); + disp(out1); + + wfc=3; + eps=0.3; + sample2=[1:5]; + out2=cheb1mag(order,wfc,eps,sample2); + disp(out2); + + eps1=0.2; + m11=0.4; + z1=[1,2,3]; + [s1]=ell1mag(eps1,m11,z1); + disp(s1); +endfunction diff --git a/tests/unit_tests/test_jacobi/scilabcode/main.sci b/tests/unit_tests/test_jacobi/scilabcode/main.sci new file mode 100644 index 0000000..ee229eb --- /dev/null +++ b/tests/unit_tests/test_jacobi/scilabcode/main.sci @@ -0,0 +1,18 @@ +// Demo function to test %sn and %k functions +// %sn is the Jacobi's elliptic function +// %k is the Jacobi's complete integral +function main() + u=[1+2*%i 2+3*%i 3+1*%i]; // the corresponding complex vector + k=0.6; // parameter of elliptic integral + [out]=%sn(u,k); + disp(out); + m=[0.1 0.2 0.3]; // parametrt of Jacobi complete integral + s=%k(m); + disp(s); +endfunction + +//Output +//for %sn +// 1.5641568 - 0.2037920i 1.0580372 + 0.0100213i 1.1386855 - 0.4631921i +// for %k +// 1.6124413 1.6596236 1.7138894 diff --git a/tests/unit_tests/test_jacobi/scilabcode/modktest.sci b/tests/unit_tests/test_jacobi/scilabcode/modktest.sci new file mode 100644 index 0000000..613cd33 --- /dev/null +++ b/tests/unit_tests/test_jacobi/scilabcode/modktest.sci @@ -0,0 +1,5 @@ +function modktest() + m=[0.1 0.2 0.3]; + s=%k(m); + disp(s); +endfunction diff --git a/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci b/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci new file mode 100644 index 0000000..dc5d435 --- /dev/null +++ b/tests/unit_tests/test_jacobi/scilabcode/modsntest.sci @@ -0,0 +1,6 @@ +function modsntest() + u=[1+2*%i 2+3*%i 3+1*%i]; // the corresponding complex vector + k=0.6; // parameter of elliptic integral + [out]=%sn(u,k); + disp(out); +endfunction diff --git a/tests/unit_tests/test_string/scilabcode/asciitest.sci b/tests/unit_tests/test_string/scilabcode/asciitest.sci new file mode 100644 index 0000000..aa0017d --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/asciitest.sci @@ -0,0 +1,11 @@ +//This function test the ascii function in scilab. +//Ascii function takes the input string and then gives the ascii code of the string. +// The output for the scilab will be:- +//[97. 110. 107. 105. 116. 32. 105. 115. 32. 114. 97. 106.] + +function asciitest() + y="ankit is raj"; //This is the input string for testing the function. + x=ascii(y); //calling of the function + disp(x); +endfunction + diff --git a/tests/unit_tests/test_string/scilabcode/asciitest2.sci b/tests/unit_tests/test_string/scilabcode/asciitest2.sci new file mode 100644 index 0000000..ca7dcb7 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/asciitest2.sci @@ -0,0 +1,5 @@ +function asciitest2() + d=[97 98 99 100 101]; + si=ascii(d); + disp(si); +endfunction diff --git a/tests/unit_tests/test_string/scilabcode/main.sci b/tests/unit_tests/test_string/scilabcode/main.sci new file mode 100644 index 0000000..4030ee0 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/main.sci @@ -0,0 +1,30 @@ +//This is the demo function to test a set of string functions +// ascii->converts the input char vector/array to corresponding ascii code or vice versa +// strchr-> it finds the occurence of a charcter in a given string +// strncpy->copy charcters from string +// strspn-> get span of character set in string + +function main() + strascii1="ankit is raj"; //This is the input string for testing the function. + asciiout1=ascii(strascii1); //calling of the function + disp(asciiout1); + + strascii2=[97 98 99 100 101]; //Input as the ascii code to get converted to string + asciiout2=ascii(strascii2); //calling the function + disp(asciiout2); + + str="This is a sample string"; + ch="s"; + out1=strchr(str,ch); + disp(out1); + + ss="Ankit Raj"; + nn=5; + resu=strncpy(ss,nn); + disp(resu); + + strsample2="Hello this is Ankit"; + a="Ank"; + oup2=strspn(a,strsample2); + disp(oup2) +endfunction diff --git a/tests/unit_tests/test_string/scilabcode/strchrtest.sci b/tests/unit_tests/test_string/scilabcode/strchrtest.sci new file mode 100644 index 0000000..f8d3419 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/strchrtest.sci @@ -0,0 +1,6 @@ +function strchrtest() + s="This is a sample string"; + ch="s"; + y=strchr(s,ch); + disp(y); +endfunction diff --git a/tests/unit_tests/test_string/scilabcode/strcspntest.sci b/tests/unit_tests/test_string/scilabcode/strcspntest.sci new file mode 100644 index 0000000..9a03c57 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/strcspntest.sci @@ -0,0 +1,6 @@ +function strcspntest() + x="123243545assdsc"; + y="anki5t3"; + z=strcspn(y,x); + disp(z); +endfunction diff --git a/tests/unit_tests/test_string/scilabcode/strncpytest.sci b/tests/unit_tests/test_string/scilabcode/strncpytest.sci new file mode 100644 index 0000000..14eceb8 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/strncpytest.sci @@ -0,0 +1,6 @@ +function strncpytest() + ss="Ankit Raj"; + nn=5; + resu=strncpy(ss,nn); + disp(resu); +endfunction diff --git a/thirdparty/lib/raspberrypi/libcblas.a b/thirdparty/lib/raspberrypi/libcblas.a index 719376d..bbba3e2 100644 Binary files a/thirdparty/lib/raspberrypi/libcblas.a and b/thirdparty/lib/raspberrypi/libcblas.a differ diff --git a/thirdparty/lib/raspberrypi/liblapack.a b/thirdparty/lib/raspberrypi/liblapack.a index 9af700f..6165c43 100644 Binary files a/thirdparty/lib/raspberrypi/liblapack.a and b/thirdparty/lib/raspberrypi/liblapack.a differ diff --git a/thirdparty/lib/raspberrypi/librefblas.a b/thirdparty/lib/raspberrypi/librefblas.a index 0307f90..d1921c4 100644 Binary files a/thirdparty/lib/raspberrypi/librefblas.a and b/thirdparty/lib/raspberrypi/librefblas.a differ -- cgit From 936bd00d2855553f52d682494814804065c7b99e Mon Sep 17 00:00:00 2001 From: Ankitr19 Date: Fri, 7 Jul 2017 14:17:54 +0530 Subject: Html and xml files removed --- Visual-Studio-settings/f2c.xml | 127 ---------- help/en_US/AVRADCSetup.xml | 83 ------- help/en_US/AVRDigitalIn.xml | 79 ------- help/en_US/AVRDigitalOut.xml | 82 ------- help/en_US/AVRDigitalPortSetup.xml | 81 ------- help/en_US/AVRDigitalSetup.xml | 83 ------- help/en_US/AVRGetTimerValue.xml | 73 ------ help/en_US/AVRPWM0SetDuty.xml | 66 ------ help/en_US/AVRPWM0Setup.xml | 92 -------- help/en_US/AVRPWM1SetDuty.xml | 66 ------ help/en_US/AVRPWM1Setup.xml | 91 -------- help/en_US/AVRPWM2SetDuty.xml | 65 ------ help/en_US/AVRPWM2Setup.xml | 88 ------- help/en_US/AVRReadADC.xml | 71 ------ help/en_US/AVRSleep.xml | 56 ----- help/en_US/AVRTimerSetup.xml | 37 --- help/en_US/AVRUARTReceive.xml | 59 ----- help/en_US/AVRUARTSetup.xml | 90 ------- help/en_US/AVRUARTTransmit.xml | 59 ----- help/en_US/CV_AdaptiveThreshold.xml | 86 ------- help/en_US/CV_Blur.xml | 92 -------- help/en_US/CV_Canny.xml | 88 ------- help/en_US/CV_CornerHarris.xml | 93 -------- help/en_US/CV_CreateImage.xml | 76 ------ help/en_US/CV_CvtColor.xml | 81 ------- help/en_US/CV_Dilate.xml | 93 -------- help/en_US/CV_DistanceTransform.xml | 78 ------- help/en_US/CV_Erode.xml | 93 -------- help/en_US/CV_GaussianBlur.xml | 95 -------- help/en_US/CV_GetImgSize.xml | 75 ------ help/en_US/CV_LoadImage.xml | 83 ------- help/en_US/CV_MedianBlur.xml | 77 ------ help/en_US/CV_SaveImage.xml | 77 ------ help/en_US/CV_ShowImage.xml | 77 ------ help/en_US/CV_Threshold.xml | 81 ------- help/en_US/CV_WaitKey.xml | 76 ------ help/en_US/master_help.xml | 91 -------- help/en_US/scilab_en_US_help/AVRADCSetup.html | 88 ------- help/en_US/scilab_en_US_help/AVRDigitalIn.html | 88 ------- help/en_US/scilab_en_US_help/AVRDigitalOut.html | 91 -------- .../scilab_en_US_help/AVRDigitalPortSetup.html | 89 ------- help/en_US/scilab_en_US_help/AVRDigitalSetup.html | 91 -------- help/en_US/scilab_en_US_help/AVRGetTimerValue.html | 83 ------- help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html | 80 ------- help/en_US/scilab_en_US_help/AVRPWM0Setup.html | 98 -------- help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html | 83 ------- help/en_US/scilab_en_US_help/AVRPWM1Setup.html | 100 -------- help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html | 81 ------- help/en_US/scilab_en_US_help/AVRPWM2Setup.html | 97 -------- help/en_US/scilab_en_US_help/AVRReadADC.html | 84 ------- help/en_US/scilab_en_US_help/AVRSleep.html | 75 ------ help/en_US/scilab_en_US_help/AVRTimerSetup.html | 66 ------ help/en_US/scilab_en_US_help/AVRUARTReceive.html | 77 ------ help/en_US/scilab_en_US_help/AVRUARTSetup.html | 96 -------- help/en_US/scilab_en_US_help/AVRUARTTransmit.html | 77 ------ .../scilab_en_US_help/CV_AdaptiveThreshold.html | 94 -------- help/en_US/scilab_en_US_help/CV_Blur.html | 96 -------- help/en_US/scilab_en_US_help/CV_Canny.html | 95 -------- help/en_US/scilab_en_US_help/CV_CornerHarris.html | 98 -------- help/en_US/scilab_en_US_help/CV_CreateImage.html | 85 ------- help/en_US/scilab_en_US_help/CV_CvtColor.html | 90 ------- help/en_US/scilab_en_US_help/CV_Dilate.html | 99 -------- .../scilab_en_US_help/CV_DistanceTransform.html | 87 ------- help/en_US/scilab_en_US_help/CV_Erode.html | 99 -------- help/en_US/scilab_en_US_help/CV_GaussianBlur.html | 98 -------- help/en_US/scilab_en_US_help/CV_GetImgSize.html | 84 ------- help/en_US/scilab_en_US_help/CV_LoadImage.html | 88 ------- help/en_US/scilab_en_US_help/CV_MedianBlur.html | 86 ------- help/en_US/scilab_en_US_help/CV_SaveImage.html | 86 ------- help/en_US/scilab_en_US_help/CV_ShowImage.html | 86 ------- help/en_US/scilab_en_US_help/CV_Threshold.html | 90 ------- help/en_US/scilab_en_US_help/CV_WaitKey.html | 83 ------- help/en_US/scilab_en_US_help/index.html | 259 --------------------- help/en_US/scilab_en_US_help/jhelpidx.xml | 3 - help/en_US/scilab_en_US_help/jhelptoc.xml | 43 ---- .../section_0da8c7f3adca54f0475553087384b7a7.html | 259 --------------------- .../section_473a2b9e79723ff76a7f243f85d2b6b8.html | 259 --------------------- .../section_4d177ceb9ae128b1850140a7901a140a.html | 259 --------------------- .../section_c4a64b600f61b91c1ebf30f1b892cb10.html | 259 --------------------- 79 files changed, 7389 deletions(-) delete mode 100644 Visual-Studio-settings/f2c.xml delete mode 100644 help/en_US/AVRADCSetup.xml delete mode 100644 help/en_US/AVRDigitalIn.xml delete mode 100644 help/en_US/AVRDigitalOut.xml delete mode 100644 help/en_US/AVRDigitalPortSetup.xml delete mode 100644 help/en_US/AVRDigitalSetup.xml delete mode 100644 help/en_US/AVRGetTimerValue.xml delete mode 100644 help/en_US/AVRPWM0SetDuty.xml delete mode 100644 help/en_US/AVRPWM0Setup.xml delete mode 100644 help/en_US/AVRPWM1SetDuty.xml delete mode 100644 help/en_US/AVRPWM1Setup.xml delete mode 100644 help/en_US/AVRPWM2SetDuty.xml delete mode 100644 help/en_US/AVRPWM2Setup.xml delete mode 100644 help/en_US/AVRReadADC.xml delete mode 100644 help/en_US/AVRSleep.xml delete mode 100644 help/en_US/AVRTimerSetup.xml delete mode 100644 help/en_US/AVRUARTReceive.xml delete mode 100644 help/en_US/AVRUARTSetup.xml delete mode 100644 help/en_US/AVRUARTTransmit.xml delete mode 100644 help/en_US/CV_AdaptiveThreshold.xml delete mode 100644 help/en_US/CV_Blur.xml delete mode 100644 help/en_US/CV_Canny.xml delete mode 100644 help/en_US/CV_CornerHarris.xml delete mode 100644 help/en_US/CV_CreateImage.xml delete mode 100644 help/en_US/CV_CvtColor.xml delete mode 100644 help/en_US/CV_Dilate.xml delete mode 100644 help/en_US/CV_DistanceTransform.xml delete mode 100644 help/en_US/CV_Erode.xml delete mode 100644 help/en_US/CV_GaussianBlur.xml delete mode 100644 help/en_US/CV_GetImgSize.xml delete mode 100644 help/en_US/CV_LoadImage.xml delete mode 100644 help/en_US/CV_MedianBlur.xml delete mode 100644 help/en_US/CV_SaveImage.xml delete mode 100644 help/en_US/CV_ShowImage.xml delete mode 100644 help/en_US/CV_Threshold.xml delete mode 100644 help/en_US/CV_WaitKey.xml delete mode 100644 help/en_US/master_help.xml delete mode 100644 help/en_US/scilab_en_US_help/AVRADCSetup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRDigitalIn.html delete mode 100644 help/en_US/scilab_en_US_help/AVRDigitalOut.html delete mode 100644 help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRDigitalSetup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRGetTimerValue.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM0Setup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM1Setup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html delete mode 100644 help/en_US/scilab_en_US_help/AVRPWM2Setup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRReadADC.html delete mode 100644 help/en_US/scilab_en_US_help/AVRSleep.html delete mode 100644 help/en_US/scilab_en_US_help/AVRTimerSetup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRUARTReceive.html delete mode 100644 help/en_US/scilab_en_US_help/AVRUARTSetup.html delete mode 100644 help/en_US/scilab_en_US_help/AVRUARTTransmit.html delete mode 100644 help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html delete mode 100644 help/en_US/scilab_en_US_help/CV_Blur.html delete mode 100644 help/en_US/scilab_en_US_help/CV_Canny.html delete mode 100644 help/en_US/scilab_en_US_help/CV_CornerHarris.html delete mode 100644 help/en_US/scilab_en_US_help/CV_CreateImage.html delete mode 100644 help/en_US/scilab_en_US_help/CV_CvtColor.html delete mode 100644 help/en_US/scilab_en_US_help/CV_Dilate.html delete mode 100644 help/en_US/scilab_en_US_help/CV_DistanceTransform.html delete mode 100644 help/en_US/scilab_en_US_help/CV_Erode.html delete mode 100644 help/en_US/scilab_en_US_help/CV_GaussianBlur.html delete mode 100644 help/en_US/scilab_en_US_help/CV_GetImgSize.html delete mode 100644 help/en_US/scilab_en_US_help/CV_LoadImage.html delete mode 100644 help/en_US/scilab_en_US_help/CV_MedianBlur.html delete mode 100644 help/en_US/scilab_en_US_help/CV_SaveImage.html delete mode 100644 help/en_US/scilab_en_US_help/CV_ShowImage.html delete mode 100644 help/en_US/scilab_en_US_help/CV_Threshold.html delete mode 100644 help/en_US/scilab_en_US_help/CV_WaitKey.html delete mode 100644 help/en_US/scilab_en_US_help/index.html delete mode 100644 help/en_US/scilab_en_US_help/jhelpidx.xml delete mode 100644 help/en_US/scilab_en_US_help/jhelptoc.xml delete mode 100644 help/en_US/scilab_en_US_help/section_0da8c7f3adca54f0475553087384b7a7.html delete mode 100644 help/en_US/scilab_en_US_help/section_473a2b9e79723ff76a7f243f85d2b6b8.html delete mode 100644 help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html delete mode 100644 help/en_US/scilab_en_US_help/section_c4a64b600f61b91c1ebf30f1b892cb10.html diff --git a/Visual-Studio-settings/f2c.xml b/Visual-Studio-settings/f2c.xml deleted file mode 100644 index b4df883..0000000 --- a/Visual-Studio-settings/f2c.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - General - - - - - Command Line - - - - - - - - - - - - Execute Before - - - Specifies the targets for the build customization to run before. - - - - - - - - - - - Execute After - - - Specifies the targets for the build customization to run after. - - - - - - - - - - - - - - Additional Options - - - Additional Options - - - - - - - \ No newline at end of file diff --git a/help/en_US/AVRADCSetup.xml b/help/en_US/AVRADCSetup.xml deleted file mode 100644 index a0abf03..0000000 --- a/help/en_US/AVRADCSetup.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - AVRADCSetup - Function to initialise ADC of AVR - - - - - Calling Sequence - - AVRADCSetup(uint8 prescaler, uint8 adc_ref) - - - - - - Parameters - - prescaler: - prescaler to be used for generating ADC clock (0-7) - adc_ref : - reference voltage to be used for ADC conversion - - - - - Description - -This function initialises ADc of AVR with given parameters. 'prescaler' is needed for deciding ADC clock. ADC clock should be between 50KHz and 200KHz and it given as (MCU clock/2^prescaler). Select appropriate prescaler depending on MCU clock. 'adc_ref' selects one of the available reference voltage sources available. - - -The adc_ref can take the following values- - -0 -> Voltage on VREF pin -1 -> Voltage on AVCC pin -2 -> Internal 2.56 reference voltage - - - -This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRReadADC - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRDigitalIn.xml b/help/en_US/AVRDigitalIn.xml deleted file mode 100644 index ef87407..0000000 --- a/help/en_US/AVRDigitalIn.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - AVRDigitalIn - Function to get state (high\low) of a digital input pin on AVR - - - - - Calling Sequence - - state=AVRDigitalIn(port,pin) - - - - - - Parameters - - port : - port of microcontroller to be used - pin : - pin of port (mentioned above) to be used - - - - - Description - -Each AVR microcontroller has pins which can be configured as digital -inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port as -digital input. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRDigitalSetup - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRDigitalOut.xml b/help/en_US/AVRDigitalOut.xml deleted file mode 100644 index 0ce8197..0000000 --- a/help/en_US/AVRDigitalOut.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - AVRDigitalOut - Function to change state (high\low) of a digital output pin on AVR - - - - - Calling Sequence - - AVRDigitalOut(port,pin,state) - - - - - - Parameters - - port : - port of microcontroller to be used - pin : - pin of port (mentioned above) to be used - state : - state to be outputed on pin (HIGH\LOW) - - - - - Description - -Each AVR microcontroller has pins which can be configured as digital -outputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port as -digital output. Also, desired output state must be specified as -'HIGH' or 'LOW'. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRDigitalIn - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRDigitalPortSetup.xml b/help/en_US/AVRDigitalPortSetup.xml deleted file mode 100644 index 8b7b15d..0000000 --- a/help/en_US/AVRDigitalPortSetup.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - AVRDigitalPortSetup - Function to decide direction of port on AVR - - - - - Calling Sequence - - AVRDigitalPortSetup(port,direction) - - - - - - Parameters - - port : - port of microcontroller to be used(1 for PORTA, 2 for PORTB,...) - direction : - direction to be set for pin (0 for INPUT, 1 for OUTPUT) - - - - - Description - -Each AVR microcontroller has pins which can be configured as digital -outputs/inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port to be -used as digital output/input. Also, desired direction must be specified as -'INPUT' or 'OUTPUT'. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRDigitalOut - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRDigitalSetup.xml b/help/en_US/AVRDigitalSetup.xml deleted file mode 100644 index a228573..0000000 --- a/help/en_US/AVRDigitalSetup.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - AVRDigitalSetup - Function to decide direction of a digital pin on AVR - - - - - Calling Sequence - - AVRDigitalSetup(port,pin,direction) - - - - - - Parameters - - port : - port of microcontroller to be used - pin : - pin of port (mentioned above) to be used - direction : - direction to be set for pin (INPUT\OUTPUT) - - - - - Description - -Each AVR microcontroller has pins which can be configured as digital -outputs/inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port to be -used as digital output/input. Also, desired direction must be specified as -'INPUT' or 'OUTPUT'. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRDigitalOut - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRGetTimerValue.xml b/help/en_US/AVRGetTimerValue.xml deleted file mode 100644 index f639c60..0000000 --- a/help/en_US/AVRGetTimerValue.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - AVRGetTimerValue - Function to get timer count - - - - - Parameters - - timer : - timer whose current count is to be returned - - - - - Description - -This function returns the count value of a desired timer.By knowing the count value certain interrupt action can be taken. - - -Timer can take the following values - -0 -> for timer0 -1 -> for timer1 -2 -> for timer2 - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRTimerSetup - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM0SetDuty.xml b/help/en_US/AVRPWM0SetDuty.xml deleted file mode 100644 index a3f2681..0000000 --- a/help/en_US/AVRPWM0SetDuty.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - AVRPWM0SetDuty - Function to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin. - - - - - Parameters - - duty : - It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active. - - - - - Description - -Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.In this function by varying the duty cycle, varying voltage can be produced. - - -This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRPWM0Setup - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM0Setup.xml b/help/en_US/AVRPWM0Setup.xml deleted file mode 100644 index f72f258..0000000 --- a/help/en_US/AVRPWM0Setup.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - AVRPWM0Setup - Function to Setup OC0 pin for required PWM mode - - - - - Parameters - - waveform_mode: - integer, from 0 to 2 - output_mode: - integer, from 0 to 1 (or 2) depending on the waveform_mode - - - - - Description - -Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC0 pin to produce required -output waveform by setting the waveform mode and otput mode. - - -waveform_mode can take values- - -0 -> for Phase correct PWM Mode -1 -> for Fast PWM Mode -2 -> for CTC Mode - - - -output_mode can take values- - -For Phase correct PWM Mode: -0 for Clear OC0 on compare match when up-counting. Set OC0 on compare match when down-counting. -1 for Set OC0 on compare match when up-counting. Clear OC0 on compare match when down-counting. -For Fast PWM Mode: -0 for non-inverted output i.e Clear OC0 on compare match, set OC0 at BOTTOM. -1 for inverted output i.e Set OC0 on compare match, clear OC0 at BOTTOM. -For CTC Mode: -0 to Clear OC0 on compare match -1 to Set OC0 on compare match -2 to toggle OC0 on compare match - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRPWM0SetDuty - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM1SetDuty.xml b/help/en_US/AVRPWM1SetDuty.xml deleted file mode 100644 index 83230ea..0000000 --- a/help/en_US/AVRPWM1SetDuty.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - AVRPWM1SetDuty - Function to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin. - - - - - Parameters - - ouput_pin: - integer, 0 (for OC1A) or 1 (for OC1B) - duty: - It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active. - Top_Value: - It holds an integer value from 0 to 65535.This value sets the Top value of the counter TCNT1 i.e ICR.(for more info refer datasheet) - - - - - Description - -Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.This function Sets the duty cycle of output PWM signal.Also this function -decides the Top Vale of TCNT1 and the output pin to output PWM signal. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - -Example -AVRPWM1SetDuty(0,50,40000); //This function will produce PWM signal of 50% duty cycle on OC1A pin and TCNT1 will reset at 40000 instead at 65535. - - - - - See also - - AVRPWM1Setup - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM1Setup.xml b/help/en_US/AVRPWM1Setup.xml deleted file mode 100644 index 1498413..0000000 --- a/help/en_US/AVRPWM1Setup.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - AVRPWM1Setup - Function to Setup OC1A or OC1B pin for required PWM mode - - - - - Parameters - - waveform_mode: - integer, from 0 to 2 - output_mode: - integer, from 0 to 1 (or 2) depending on the waveform_mode - output_pin: - 0 (for OC1A) or 1 for (OC1B) - - - - - Description - -Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC1A or OC1B pin to produces required -output waveform by setting the waveform mode and otput mode. - - -waveform_mode can take values- - -0 -> for Phase correct PWM Mode -1 -> for Fast PWM Mode -2 -> for CTC Mode - - - -output_mode can take values- - -For Phase correct PWM Mode: -0 for Clear OC1A or OC1B on compare match when up-counting. Set OC1A or OC1B on compare match when down-counting. -1 for Set OC1A or OC1B on compare match when up-counting. Clear OC1A or OC1B on compare match when down-counting. -For Fast PWM Mode: -0 for non-inverted output i.e Clear OC1A or OC1B on compare match, set OC1A or OC1B at BOTTOM. -1 for inverted output i.e Set OC1A or OC1B on compare match, clear OC1A or OC1B at BOTTOM. -For CTC Mode: -0 to Clear OC1A or OC1B on compare match -1 to Set OC1A or OC1B on compare match -2 to toggle OC1A or OC1B on compare match - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - -Example -AVRPWM1Setup(2,0,0); //This function will select CTC mode and will clear OC1A or OC1B -on compare match.Also as defined the output will be produced at -0C1A pin. - - - - - See also - - AVRPWM1SetDuty - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM2SetDuty.xml b/help/en_US/AVRPWM2SetDuty.xml deleted file mode 100644 index d44f0f7..0000000 --- a/help/en_US/AVRPWM2SetDuty.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - AVRPWM2SetDuty - Function to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin. - - - - - Parameters - - duty : - It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active. - - - - - Description - -Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.In this function by varying the duty cycle, varying voltage can be -produced. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - -Example -AVRPWM2SetDuty(50); //Produces 2.5V at OC2 pin -AVRPWM2SetDuty(0); //Produces 0V at OC2 pin - - - - - - - See also - - AVRPWM2Setup - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRPWM2Setup.xml b/help/en_US/AVRPWM2Setup.xml deleted file mode 100644 index fe80252..0000000 --- a/help/en_US/AVRPWM2Setup.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - AVRPWM2Setup - Function to Setup OC2 pin for required PWM mode - - - - - Parameters - - waveform_mode: - integer, from 0 to 2 - output_mode: - integer, from 0 to 1 (or 2) depending on the waveform_mode - - - - - Description - -Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC2 pin to produces required -output waveform by setting the waveform mode and otput mode. - - -waveform_mode can take values- - -0 -> for Phase correct PWM Mode -1 -> for Fast PWM Mode -2 -> for CTC Mode - - - -output_mode can take values- - -For Phase correct PWM Mode: -0 for Clear OC2 on compare match when up-counting. Set OC2 on compare match when down-counting. -1 for Set OC2 on compare match when up-counting. Clear OC2 on compare match when down-counting. -For Fast PWM Mode: -0 for non-inverted output i.e Clear OC2 on compare match, set OC2 at BOTTOM. -1 for inverted output i.e Set OC2 on compare match, clear OC2 at BOTTOM. -For CTC Mode: -0 to Clear OC2 on compare match -1 to Set OC2 on compare match -2 to toggle OC2 on compare match - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - -Example -AVRPWM2Setup(2,0); //This function will select CTC waveform mode and will clear OC2 on -compare match - - - - - See also - - AVRPWM2SetDuty - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRReadADC.xml b/help/en_US/AVRReadADC.xml deleted file mode 100644 index abdcad9..0000000 --- a/help/en_US/AVRReadADC.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - AVRReadADC - Function to get voltage on analog pin on AVR - - - - - Calling Sequence - - u8AVRReadADCs(channel) - - - - - - Parameters - - channel : - Select which channel is to be read. Values from 0-7 select one of the pins ADC0-ADC7. For other possible channel values refer datasheet - - - - - Description - -This function returns digital value for present on adc pins. 'channel' -selects which of the ADC0-ADC7 is to be used for reading analog value. -Apart from reading just ADC0-ADC7 other it can also read differential -voltages between some pins. For channel values for those options, please -refer datasheet. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - Authors - - Siddhesh Wani - Ashish Kamble - - - diff --git a/help/en_US/AVRSleep.xml b/help/en_US/AVRSleep.xml deleted file mode 100644 index 3ece53b..0000000 --- a/help/en_US/AVRSleep.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - AVRSleep - Function to pause the execution for the given time. - - - - - Description - -This function causes the execution to stop for the given amount of time. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - - - - - Authors - - Jorawar Singh - - - diff --git a/help/en_US/AVRTimerSetup.xml b/help/en_US/AVRTimerSetup.xml deleted file mode 100644 index 420e676..0000000 --- a/help/en_US/AVRTimerSetup.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - AVRTimerSetup - Function to setup Timers in ATmega16 - - - - - See also - - AVRGetTimerValues - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRUARTReceive.xml b/help/en_US/AVRUARTReceive.xml deleted file mode 100644 index 84f9510..0000000 --- a/help/en_US/AVRUARTReceive.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - AVRUARTReceive - Function to Receive Char value send to ATmega16 using UART or USART. - - - - - Description - -This function Receives Char as 8 bit value.This value is stored in UDR at receiving -end. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRUARTSetup - AVRUARTTransmit - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRUARTSetup.xml b/help/en_US/AVRUARTSetup.xml deleted file mode 100644 index 043e265..0000000 --- a/help/en_US/AVRUARTSetup.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - AVRUARTSetup - Function to Setup Serial Communication i.e UART or USART in ATmega16. - - - - - Parameters - - mode : - integer, from 0 to 2 - baudrate : - Enter one of the following available baudrates (2400 , 4800 , 9600 , 14400 , 19200 , 28800 , 38400 , 57600 , 768000 , 115200 , 230400 , 250000 , 1000000) - stopbits : - integer, (0 for one stopbit) or (1 for two stopbits) - parity : - integer, from 0 to 2 - - - - - Description - -This function Setup the UART or USART for Serial Communicaion between ATmega16 -and different micro controllers or between ATmega16 and Computer. - - -mode can take values: - -0 for Asynchronous Normal mode -1 for Asynchronous Double Speed mode -2 for Synchronous mode - - - -parity can take values: - -0 for parity disabled -1 for even parity -2 for odd parity - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRUARTTransmit - AVRUARTReceive - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/AVRUARTTransmit.xml b/help/en_US/AVRUARTTransmit.xml deleted file mode 100644 index e30e374..0000000 --- a/help/en_US/AVRUARTTransmit.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - AVRUARTTransmit - Function to Transmit data using UART or USART. - - - - - Description - -This function Tranmits data over UART or USART.The data to be transmitted can -be a Char , String , Unsigned Int, Signed Int. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR. - - - - - - - Examples - - - - - See also - - AVRUARTSetup - AVRUARTReceive - - - - - Authors - - Ashish Kamble - - - diff --git a/help/en_US/CV_AdaptiveThreshold.xml b/help/en_US/CV_AdaptiveThreshold.xml deleted file mode 100644 index 1483442..0000000 --- a/help/en_US/CV_AdaptiveThreshold.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - CV_AdaptiveThreshold - function to adaptively threshold input image - - - - - Calling Sequence - - dst = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_type,blk_size,c) - - - - - - Parameters - - src : - Source 8-bit single-channel image. - max_value : - Non-zero value assigned to the pixels for which the condition is satisfied. See the details below. - adaptive_method : - Adaptive thresholding algorithm to use, ADAPTIVE_THRESH_MEAN_C or ADAPTIVE_THRESH_GAUSSIAN_C . - thresh_type : - Thresholding type that must be either THRESH_BINARY or THRESH_BINARY_INV . - blockSize : - Size of a pixel neighborhood that is used to calculate a threshold value for the pixel: 3, 5, 7, and so on. - C : - Constant subtracted from the mean or weighted mean.Normally, it is positive but may be zero or negative as well. - - - - - Description - -This function can be used for adaptively threshold given image - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_Blur.xml b/help/en_US/CV_Blur.xml deleted file mode 100644 index 228b310..0000000 --- a/help/en_US/CV_Blur.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - CV_Blur - function to blur image using normalised box filter - - - - - Calling Sequence - - dst = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,border_type) - - - - - - Parameters - - srcimg : - Source image. - ksize_width, ksize_height : - blurring kernel size. - anchor_x, anchor_y : - x,y coordinates of anchor point - border_type : - border mode used to extrapolate pixels outside of the image. - - - - - Description - -This function can be used for blurring image using normalised box -filter. Image can be of any depth and have any no of channels. - - -border_type can be : - -BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh -BORDER_REFLECT: fedcba|abcdefgh|hgfedcb -BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba -BORDER_WRAP: cdefgh|abcdefgh|abcdefg -BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_Threshold, CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_Canny.xml b/help/en_US/CV_Canny.xml deleted file mode 100644 index daf7f55..0000000 --- a/help/en_US/CV_Canny.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - CV_Canny - Finds edges in image using Canny algorithm - - - - - Calling Sequence - - edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient) - - - - - - Parameters - - srcimg : - single-channel 8-bit input image. - threshold1 : - first threshold for the hysteresis procedure. - threshold2 : - second threshold for the hysteresis procedure. - aperture_size : - aperture size for the Sobel() operator. - L2gradient : - a flag, indicating whether a more accurate - - - - - Description - -This function can be used for finding edes in single channel 8 bit -image. 'aperture_size' and 'L2gradient' are optionals. By default, -aperture_size is 3 and L2gradient is false. - - -For L2gradient: L_2 norm =sqrt{(dI/dx)^2 + (dI/dy)^2} should be used to calculate the image gradient magnitude (L2gradient=1 ), or whether the default L_1 norm =|dI/dx|+|dI/dy| is enough (L2gradient=0). - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_CornerHarris.xml b/help/en_US/CV_CornerHarris.xml deleted file mode 100644 index e9b9426..0000000 --- a/help/en_US/CV_CornerHarris.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - CV_CornerHarris - Finds edges in image using Harris algorithm - - - - - Calling Sequence - - edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type) - - - - - - Parameters - - srcimg: - Input single-channel 8-bit or floating-point image. - blockSize: - Neighborhood size - ksize: - Aperture parameter for the Sobel() operator. - k: - Harris detector free parameter. - border_type: - border mode used to extrapolate pixels outside of the image. - - - - - Description - -The function runs the Harris edge detector on the image. For each pixel (x, y) it calculates a 2 * 2 gradient covariance matrix M(x,y) over a blockSize * blockSize neighborhood. Then, it computes the following characteristic: dst(x,y) = det(M(x,y)) - k .tr(M(x,y))^2. Corners in the image can be found as the local maxima of this response map. - - -border_type can be : - -BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh -BORDER_REFLECT: fedcba|abcdefgh|hgfedcb -BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba -BORDER_WRAP: cdefgh|abcdefgh|abcdefg -BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_CreateImage.xml b/help/en_US/CV_CreateImage.xml deleted file mode 100644 index 45fde56..0000000 --- a/help/en_US/CV_CreateImage.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - CV_CreateImage - function to create an image object of given size and type - - - - - Calling Sequence - - CV_CreateImage(image_size,bit_depth,no_of_channels) - - - - - - Parameters - - image_size: - width and height of image - bit_depth: - Bit depth of image elements - no_of_channels: - no of channels per pixels - - - - - Description - -This function can be used to create opencv image object. For more info about bit depth and channels,please refer to OpenCV documentation - - -This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_LoadImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_CvtColor.xml b/help/en_US/CV_CvtColor.xml deleted file mode 100644 index f1f25e0..0000000 --- a/help/en_US/CV_CvtColor.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - CV_CvtColor - function to convert image from one colorspace to other colorspace - - - - - Calling Sequence - - CV_CvtColor(srcimg,code) - - - - - - Parameters - - srcimg: - source image to be converted - dstimg: - destination image in which to store converted image - code: - String specifying conversion type. Same as defined in OpenCV. for eg. 'CV_RGB2GRAY' for conversion from RGB image to grayscale image - dstCn: - no of channels in destination image (0 by default) - - - - - Description - -This function can be used for converting an image to other colorspace. -Refer OpenCV documentation for list of available conversions - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_Dilate.xml b/help/en_US/CV_Dilate.xml deleted file mode 100644 index d01b3ab..0000000 --- a/help/en_US/CV_Dilate.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - CV_Dilate - dilates an image by using a specific structuring element. - - - - - Calling Sequence - - cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,[iterations,border_type,border_value]) - - - - - Parameters - - src : - input image; the number of channels can be arbitrary, but the depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F. - dilation_type : - can be one of MORPH_RECT, MORPH_CROSS,MORPH_ELLIPSE - dilation_size : - size of kernel to be used for erosion. Must be odd - iterations : - number of times erosion is applied. - border_type : - pixel extrapolation method. - border_value : - border value in case of a constant border - - - - - Description - -This function can be used for eroding an image. Kernel used for erosion is decided by type and size. Size must always be odd. Anchor pint of kernel is always center of kernel. Input arguements 'iterations(1), border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not specified, default values as as mentioned in brackets. - - -border_type can be : - - BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh - BORDER_REFLECT: fedcba|abcdefgh|hgfedcb - BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba - BORDER_WRAP: cdefgh|abcdefgh|abcdefg - BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_Erode - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_DistanceTransform.xml b/help/en_US/CV_DistanceTransform.xml deleted file mode 100644 index 0792999..0000000 --- a/help/en_US/CV_DistanceTransform.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - CV_DistanceTransform - function to calculate distance to closest zero pixels for each pixel - - - - - Calling Sequence - - dst = CV_DistanceTransform(srcimg,distance_type,mask_size) - - - - - - Parameters - - srcimg : - Source 8-bit single-channel image. - distance_type : - Type of distance. It can be CV_DIST_L1, CV_DIST_L2 , or CV_DIST_C - mask_size : - Size of the distance transform mask - - - - - Description - -This function can be used to calculate distance to closest zero pixel for each pixel of the source image. Output is 32 bit floatingpoint, single channel image of the same size as that of source image. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_Erode.xml b/help/en_US/CV_Erode.xml deleted file mode 100644 index 103d489..0000000 --- a/help/en_US/CV_Erode.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - CV_Erode - Erodes an image by using a specific structuring element. - - - - - Calling Sequence - - cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,[iterations,border_type,border_value]) - - - - - Parameters - - src : - input image; the number of channels can be arbitrary, but the depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F. - erosion_type : - can be one of : MORPH_RECT, MORPH_CROSS, MORPH_ELLIPSE - erosion_size : - size of kernel to be used for erosion. Must be odd - iterations : - number of times erosion is applied. - border_type : - pixel extrapolation method. - border_value : - border value in case of a constant border - - - - - Description - -This function can be used for eroding an image. Kernel used for erosion is decided by type and size. Size must always be odd. Anchor pint of kernel is always center of kernel. Input arguements 'iterations(1), border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not specified, default values as as mentioned in brackets. - - -border_type can be : - -BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh -BORDER_REFLECT: fedcba|abcdefgh|hgfedcb -BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba -BORDER_WRAP: cdefgh|abcdefgh|abcdefg -BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_Dilate - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_GaussianBlur.xml b/help/en_US/CV_GaussianBlur.xml deleted file mode 100644 index 88a8f33..0000000 --- a/help/en_US/CV_GaussianBlur.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - CV_GaussianBlur - function to blur image using gaussian filter - - - - - Calling Sequence - - cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y,border_type) - - - - - - Parameters - - srcimg : - Source image. - ksize_width, ksize_height : - blurring kernel size. must be odd. - sigmaX : - Gaussian kernel standard deviation in X direction. - sigmaY : - Gaussian kernel standard deviation in Y direction; - border_type : - border mode used to extrapolate pixels outside of the image. - - - - - Description - -This function can be used for blurring image using gaussian filter. Image can be of any depth and have any no of channels. - - -For sigmaX and sigmaY : if sigmaY is zero, it is set to be equal to sigmaX, if both sigmas are zeros, they are computed from ksize.width and ksize.height , respectively. - - -border_type can be : - -BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh -BORDER_REFLECT: fedcba|abcdefgh|hgfedcb -BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba -BORDER_WRAP: cdefgh|abcdefgh|abcdefg -BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_Blur, CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_GetImgSize.xml b/help/en_US/CV_GetImgSize.xml deleted file mode 100644 index 717c808..0000000 --- a/help/en_US/CV_GetImgSize.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - CV_GetImgSize - function to get size of the image (width*height) - - - - - Calling Sequence - - CV_GetImgSize(img) - - - - - - Parameters - - img: - image whose size is to be returned - - - - - Description - -This function can be used for retriving size information of the image. -It returs an array with first image element as width and second as height - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_LoadImage.xml b/help/en_US/CV_LoadImage.xml deleted file mode 100644 index 70f55c8..0000000 --- a/help/en_US/CV_LoadImage.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - CV_LoadImage - function to load an image object from given filename - - - - - Calling Sequence - - CV_LoadImage(filename,loadtype) - - - - - - Parameters - - filename: - name of file to be opened - loadtype: - desired load method - - - - - Description - -This function can be used for loading a previously stored image - - -loadtype can take the following values: - - less than 0 -> image is loaded as is (with alpha channel) - 0 -> image is loaded as greyscale - greater than 0 -> 3 channel color image is loaded - - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_MedianBlur.xml b/help/en_US/CV_MedianBlur.xml deleted file mode 100644 index d10291c..0000000 --- a/help/en_US/CV_MedianBlur.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - CV_MedianBlur - function to blur image using median filter - - - - - Calling Sequence - - cvtimg = CV_MedianBlur(srcimg,ksize) - - - - - - Parameters - - srcimg : - input 1-, 3-, or 4-channel image; when ksize is 3 or 5, the image depth should be CV_8U, CV_16U, or CV_32F, for larger aperture sizes, it can only be CV_8U. - ksize_width : - aperture linear size; it must be odd and greater than 1, for example: 3, 5, 7 ... - - - - - Description - -This function can be used for blurring image using median -filter. Image can be of any depth and have any no of channels. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_Blur, CV_CvtColor - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_SaveImage.xml b/help/en_US/CV_SaveImage.xml deleted file mode 100644 index 9e73200..0000000 --- a/help/en_US/CV_SaveImage.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - CV_SaveImage - function to save an image object as a given filename - - - - - Calling Sequence - - CV_SaveImage(filename,img) - - - - - - Parameters - - filename: - name of file image to be saved as - img: - image to be saved - - - - - Description - -This function can be used for saving image. File format is detected -from file extension - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_ShowImage.xml b/help/en_US/CV_ShowImage.xml deleted file mode 100644 index e3f6e67..0000000 --- a/help/en_US/CV_ShowImage.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - CV_ShowImage - function to show an image - - - - - Calling Sequence - - CV_ShowImage(img) - CV_ShowImage(winname,img) - - - - - - Parameters - - winname: - name of window in which img is to be shown - img: - image to be shown already acquired (from file/camera) - - - - - Description - -This function can be used for showing images - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_LoadImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_Threshold.xml b/help/en_US/CV_Threshold.xml deleted file mode 100644 index 0de0c14..0000000 --- a/help/en_US/CV_Threshold.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - CV_Threshold - function to threshold input image - - - - - Calling Sequence - - dst = CV_Threshold(srcimg,code,threshold,max_value,thresh_type) - - - - - - Parameters - - srcimg: - source image to be converted - threshold: - threshold value - max_value: - maximum value to be used with THRESH_BINARY and THRESH_BINARY_INV - thresh_type: - Type for threshold. It can one of the following: THRESH_BINARY, THRESH_BINARY_INV, THRESH_TRUNC, THRESH_TOZERO, THRESH_TOZERO_INV - - - - - Description - -This function can be used for converting an image to other colorspace. -Refer OpenCV documentation for list of available conversions - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_CreateImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/CV_WaitKey.xml b/help/en_US/CV_WaitKey.xml deleted file mode 100644 index 9b52707..0000000 --- a/help/en_US/CV_WaitKey.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - CV_WaitKey - function similar to cvWaitKey - - - - - Calling Sequence - - CV_WaitKey(delay) - - - - - - Parameters - - delay: - waiting delay, if 0 then wait till keypress - - - - - Description - -This function can be used for inseting some delay. This function must -follow CV_ShowImage to display image. - - -This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV - - - - - - - Examples - - - - - See also - - CV_ShowImage - - - - - Authors - - Siddhesh Wani - - - diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml deleted file mode 100644 index b0fcaa9..0000000 --- a/help/en_US/master_help.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - Scilab 2 C Converter - - - -Scilab 2 C Converter -&aa4e59f7469f5c11e672d1768d80a313d; -&a1d994fb4d945fae4acb80d6fd8333004; -&add09de2a95b7ed306a35b53e980b3e90; -&a4397b185ae2cdc0c38ee5cba453da0ce; -&a9c63c170d4525ca69b76e029a661bdb5; -&ae7cda6368a6b43939f00b5e4518c86f5; -&a978254b6f95f67857b984f6f47acbeef; -&a12d6e3990c9535a9a7a263a728194c65; -&a00a988928aa4270555daad63bcb690cb; -&a539c26defb9f05463d0ce5459f1c7583; -&a3288ef52e1705d6634e93a5e55a31bf2; -&a3548111a692116d8ee0eae34f799d72d; -&a9a959f18ddee333a1267e4872a779d22; -&aa92c26a5cba43827d64cdc489ae63ca5; -&a66fa288c2ad2c1a24e70cb036732ffff; -&aa505640044f2558f671950211dfbb695; -&aace75f8933c6ccb6a7bd24b19b784e3f; -&a8fc216f2dfd8eee80f14d174785b7bc0; -&a4edea9b44935b3180889f99e5370aee4; -&aff5fbeafa9733aeb2a9b23c1aacb4631; -&a68325bb85314e1d5ec89869069c8445e; -&ad3dd56a5d5a76d73636a583751902602; -&a0f0d979abe457bb6a40d2a542732bf10; -&a9f22418ecd71f71eed44a456b8635ddb; -&a3d8fa68e94f2bf78571ec1c132cbf30d; -&ae280e09f59dc55502a391472a5e3c6a7; -&a34ae20f1c7b1a6aba4cfe28cb8458f4e; -&ae55c9b2aa4e91cd219c5ca2b997898b4; -&ac8a5edd3c9c9a7f196e5dbb50d6a35a2; -&ab2cca98b6ef2f0dc8983fab762ad7764; -&ab1553393fdffa9c613547bc6be1fff3d; -&abf0582be77e4c6c254d484f146797055; -&a709b81dcd97f499cf0d5ea132d4a8316; -&a61a3e5beb0f5d7654a142e2723b448fb; -&abba952c5250821630096b30b2ec5021f; - - diff --git a/help/en_US/scilab_en_US_help/AVRADCSetup.html b/help/en_US/scilab_en_US_help/AVRADCSetup.html deleted file mode 100644 index 54d6a64..0000000 --- a/help/en_US/scilab_en_US_help/AVRADCSetup.html +++ /dev/null @@ -1,88 +0,0 @@ - - - AVRADCSetup - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRADCSetup - -

-

AVRADCSetup

-

Function to initialise ADC of AVR

- - -

Calling Sequence

-
AVRADCSetup(uint8 prescaler, uint8 adc_ref)
- -

Parameters

-
prescaler: -

prescaler to be used for generating ADC clock (0-7)

-
adc_ref : -

reference voltage to be used for ADC conversion

- -

Description

-

This function initialises ADc of AVR with given parameters. 'prescaler' is needed for deciding ADC clock. ADC clock should be between 50KHz and 200KHz and it given as (MCU clock/2^prescaler). Select appropriate prescaler depending on MCU clock. 'adc_ref' selects one of the available reference voltage sources available.

-

The adc_ref can take the following values- -

  • 0 -> Voltage on VREF pin

  • -
  • 1 -> Voltage on AVCC pin

  • -
  • 2 -> Internal 2.56 reference voltage

-

This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR.

-

- -

Examples

-
AVRADCSetup(128,0)
- -

See also

-
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRDigitalIn.html b/help/en_US/scilab_en_US_help/AVRDigitalIn.html deleted file mode 100644 index a1f6eb0..0000000 --- a/help/en_US/scilab_en_US_help/AVRDigitalIn.html +++ /dev/null @@ -1,88 +0,0 @@ - - - AVRDigitalIn - - - -
- - - - -
- << AVRADCSetup - - - Scilab 2 C Converter - - - AVRDigitalOut >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalIn - -

-

AVRDigitalIn

-

Function to get state (high\low) of a digital input pin on AVR

- - -

Calling Sequence

-
state=AVRDigitalIn(port,pin)
- -

Parameters

-
port : -

port of microcontroller to be used

-
pin : -

pin of port (mentioned above) to be used

- -

Description

-

Each AVR microcontroller has pins which can be configured as digital -inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port as -digital input.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
pinA0 = AVRDigitalIn(1,0)   //To read state on pin 0 of port A
- -

See also

-
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRDigitalOut.html b/help/en_US/scilab_en_US_help/AVRDigitalOut.html deleted file mode 100644 index 0219f8c..0000000 --- a/help/en_US/scilab_en_US_help/AVRDigitalOut.html +++ /dev/null @@ -1,91 +0,0 @@ - - - AVRDigitalOut - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalOut - -

-

AVRDigitalOut

-

Function to change state (high\low) of a digital output pin on AVR

- - -

Calling Sequence

-
AVRDigitalOut(port,pin,state)
- -

Parameters

-
port : -

port of microcontroller to be used

-
pin : -

pin of port (mentioned above) to be used

-
state : -

state to be outputed on pin (HIGH\LOW)

- -

Description

-

Each AVR microcontroller has pins which can be configured as digital -outputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port as -digital output. Also, desired output state must be specified as -'HIGH' or 'LOW'.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRDigitalOut('A',0,HIGH)
- -

See also

-
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html b/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html deleted file mode 100644 index a5b8c2d..0000000 --- a/help/en_US/scilab_en_US_help/AVRDigitalPortSetup.html +++ /dev/null @@ -1,89 +0,0 @@ - - - AVRDigitalPortSetup - - - -
- - - - -
- << AVRDigitalOut - - - Scilab 2 C Converter - - - AVRDigitalSetup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalPortSetup - -

-

AVRDigitalPortSetup

-

Function to decide direction of port on AVR

- - -

Calling Sequence

-
AVRDigitalPortSetup(port,direction)
- -

Parameters

-
port : -

port of microcontroller to be used(1 for PORTA, 2 for PORTB,...)

-
direction : -

direction to be set for pin (0 for INPUT, 1 for OUTPUT)

- -

Description

-

Each AVR microcontroller has pins which can be configured as digital -outputs/inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port to be -used as digital output/input. Also, desired direction must be specified as -'INPUT' or 'OUTPUT'.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRDigitalPortSetup(1,0); //This function will make PortA as input port
- -

See also

-
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRDigitalSetup.html b/help/en_US/scilab_en_US_help/AVRDigitalSetup.html deleted file mode 100644 index b2048ad..0000000 --- a/help/en_US/scilab_en_US_help/AVRDigitalSetup.html +++ /dev/null @@ -1,91 +0,0 @@ - - - AVRDigitalSetup - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRDigitalSetup - -

-

AVRDigitalSetup

-

Function to decide direction of a digital pin on AVR

- - -

Calling Sequence

-
AVRDigitalSetup(port,pin,direction)
- -

Parameters

-
port : -

port of microcontroller to be used

-
pin : -

pin of port (mentioned above) to be used

-
direction : -

direction to be set for pin (INPUT\OUTPUT)

- -

Description

-

Each AVR microcontroller has pins which can be configured as digital -outputs/inputs. These are normally divided among some 'ports' (group of pins). -User has to select one of these port and which pin of that port to be -used as digital output/input. Also, desired direction must be specified as -'INPUT' or 'OUTPUT'.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRDigitalSetup('A',0,OUTPUT)
- -

See also

-
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRGetTimerValue.html b/help/en_US/scilab_en_US_help/AVRGetTimerValue.html deleted file mode 100644 index 1ca3642..0000000 --- a/help/en_US/scilab_en_US_help/AVRGetTimerValue.html +++ /dev/null @@ -1,83 +0,0 @@ - - - AVRGetTimerValue - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRGetTimerValue - -

-

AVRGetTimerValue

-

Function to get timer count

- - -

Parameters

-
timer : -

timer whose current count is to be returned

- -

Description

-

This function returns the count value of a desired timer.By knowing the count value certain interrupt action can be taken.

-

Timer can take the following values -

  • 0 -> for timer0

  • -
  • 1 -> for timer1

  • -
  • 2 -> for timer2

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRGetTimerValue(0);   //returns present count of the TCNT0 counter
- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html deleted file mode 100644 index 5657473..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM0SetDuty.html +++ /dev/null @@ -1,80 +0,0 @@ - - - AVRPWM0SetDuty - - - -
- - - - -
- << AVRGetTimerValue - - - Scilab 2 C Converter - - - AVRPWM0Setup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0SetDuty - -

-

AVRPWM0SetDuty

-

Function to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.

- - -

Parameters

-
duty : -

It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.

- -

Description

-

Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.In this function by varying the duty cycle, varying voltage can be produced.

-

This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for AVR.

-

- -

Examples

-
AVRPWM0SetDuty(50); //Produces 2.5V at OC0 pin
-AVRPWM0SetDuty(0); //Produces 0V at OC0 pin
- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html b/help/en_US/scilab_en_US_help/AVRPWM0Setup.html deleted file mode 100644 index 2343202..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM0Setup.html +++ /dev/null @@ -1,98 +0,0 @@ - - - AVRPWM0Setup - - - -
- - - - -
- << AVRPWM0SetDuty - - - Scilab 2 C Converter - - - AVRPWM1SetDuty >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM0Setup - -

-

AVRPWM0Setup

-

Function to Setup OC0 pin for required PWM mode

- - -

Parameters

-
waveform_mode: -

integer, from 0 to 2

-
output_mode: -

integer, from 0 to 1 (or 2) depending on the waveform_mode

- -

Description

-

Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC0 pin to produce required -output waveform by setting the waveform mode and otput mode.

-

waveform_mode can take values- -

  • 0 -> for Phase correct PWM Mode

  • -
  • 1 -> for Fast PWM Mode

  • -
  • 2 -> for CTC Mode

-

output_mode can take values- -

    For Phase correct PWM Mode: -
  • 0 for Clear OC0 on compare match when up-counting. Set OC0 on compare match when down-counting.

  • -
  • 1 for Set OC0 on compare match when up-counting. Clear OC0 on compare match when down-counting.

  • -For Fast PWM Mode: -
  • 0 for non-inverted output i.e Clear OC0 on compare match, set OC0 at BOTTOM.

  • -
  • 1 for inverted output i.e Set OC0 on compare match, clear OC0 at BOTTOM.

  • -For CTC Mode: -
  • 0 to Clear OC0 on compare match

  • -
  • 1 to Set OC0 on compare match

  • -
  • 2 to toggle OC0 on compare match

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRPWM0Setup(2,0);     //This function will select CTC waveform mode and will clear OC0 on compare match
- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html deleted file mode 100644 index 3a5adda..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM1SetDuty.html +++ /dev/null @@ -1,83 +0,0 @@ - - - AVRPWM1SetDuty - - - -
- - - - -
- << AVRPWM0Setup - - - Scilab 2 C Converter - - - AVRPWM1Setup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1SetDuty - -

-

AVRPWM1SetDuty

-

Function to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.

- - -

Parameters

-
ouput_pin: -

integer, 0 (for OC1A) or 1 (for OC1B)

-
duty: -

It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.

-
Top_Value: -

It holds an integer value from 0 to 65535.This value sets the Top value of the counter TCNT1 i.e ICR.(for more info refer datasheet)

- -

Description

-

Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.This function Sets the duty cycle of output PWM signal.Also this function -decides the Top Vale of TCNT1 and the output pin to output PWM signal.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

Example -AVRPWM1SetDuty(0,50,40000); //This function will produce PWM signal of 50% duty cycle on OC1A pin and TCNT1 will reset at 40000 instead at 65535.

- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM1Setup.html b/help/en_US/scilab_en_US_help/AVRPWM1Setup.html deleted file mode 100644 index 94e3929..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM1Setup.html +++ /dev/null @@ -1,100 +0,0 @@ - - - AVRPWM1Setup - - - -
- - - - -
- << AVRPWM1SetDuty - - - Scilab 2 C Converter - - - AVRPWM2SetDuty >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM1Setup - -

-

AVRPWM1Setup

-

Function to Setup OC1A or OC1B pin for required PWM mode

- - -

Parameters

-
waveform_mode: -

integer, from 0 to 2

-
output_mode: -

integer, from 0 to 1 (or 2) depending on the waveform_mode

-
output_pin: -

0 (for OC1A) or 1 for (OC1B)

- -

Description

-

Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC1A or OC1B pin to produces required -output waveform by setting the waveform mode and otput mode.

-

waveform_mode can take values- -

  • 0 -> for Phase correct PWM Mode

  • -
  • 1 -> for Fast PWM Mode

  • -
  • 2 -> for CTC Mode

-

output_mode can take values- -

    For Phase correct PWM Mode: -
  • 0 for Clear OC1A or OC1B on compare match when up-counting. Set OC1A or OC1B on compare match when down-counting.

  • -
  • 1 for Set OC1A or OC1B on compare match when up-counting. Clear OC1A or OC1B on compare match when down-counting.

  • -For Fast PWM Mode: -
  • 0 for non-inverted output i.e Clear OC1A or OC1B on compare match, set OC1A or OC1B at BOTTOM.

  • -
  • 1 for inverted output i.e Set OC1A or OC1B on compare match, clear OC1A or OC1B at BOTTOM.

  • -For CTC Mode: -
  • 0 to Clear OC1A or OC1B on compare match

  • -
  • 1 to Set OC1A or OC1B on compare match

  • -
  • 2 to toggle OC1A or OC1B on compare match

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

Example -AVRPWM1Setup(2,0,0); //This function will select CTC mode and will clear OC1A or OC1B -on compare match.Also as defined the output will be produced at -0C1A pin.

- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html b/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html deleted file mode 100644 index ade4fa2..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM2SetDuty.html +++ /dev/null @@ -1,81 +0,0 @@ - - - AVRPWM2SetDuty - - - -
- - - - -
- << AVRPWM1Setup - - - Scilab 2 C Converter - - - AVRPWM2Setup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2SetDuty - -

-

AVRPWM2SetDuty

-

Function to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.

- - -

Parameters

-
duty : -

It holds an integer value from 0 to 100 which sets the percentage of time for which signal is active.

- -

Description

-

Each Micro controller has PWM output pins which can generate varying voltage -from 0V-5V.In this function by varying the duty cycle, varying voltage can be -produced.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

Example -AVRPWM2SetDuty(50); //Produces 2.5V at OC2 pin -AVRPWM2SetDuty(0); //Produces 0V at OC2 pin

-

- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRPWM2Setup.html b/help/en_US/scilab_en_US_help/AVRPWM2Setup.html deleted file mode 100644 index 139693a..0000000 --- a/help/en_US/scilab_en_US_help/AVRPWM2Setup.html +++ /dev/null @@ -1,97 +0,0 @@ - - - AVRPWM2Setup - - - -
- - - - -
- << AVRPWM2SetDuty - - - Scilab 2 C Converter - - - AVRReadADC >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRPWM2Setup - -

-

AVRPWM2Setup

-

Function to Setup OC2 pin for required PWM mode

- - -

Parameters

-
waveform_mode: -

integer, from 0 to 2

-
output_mode: -

integer, from 0 to 1 (or 2) depending on the waveform_mode

- -

Description

-

Every Micro controller has PWM pins which can generate varying voltages -from 0V-5V.This function helps to use OC2 pin to produces required -output waveform by setting the waveform mode and otput mode.

-

waveform_mode can take values- -

  • 0 -> for Phase correct PWM Mode

  • -
  • 1 -> for Fast PWM Mode

  • -
  • 2 -> for CTC Mode

-

output_mode can take values- -

    For Phase correct PWM Mode: -
  • 0 for Clear OC2 on compare match when up-counting. Set OC2 on compare match when down-counting.

  • -
  • 1 for Set OC2 on compare match when up-counting. Clear OC2 on compare match when down-counting.

  • -For Fast PWM Mode: -
  • 0 for non-inverted output i.e Clear OC2 on compare match, set OC2 at BOTTOM.

  • -
  • 1 for inverted output i.e Set OC2 on compare match, clear OC2 at BOTTOM.

  • -For CTC Mode: -
  • 0 to Clear OC2 on compare match

  • -
  • 1 to Set OC2 on compare match

  • -
  • 2 to toggle OC2 on compare match

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

Example -AVRPWM2Setup(2,0); //This function will select CTC waveform mode and will clear OC2 on -compare match

- -

See also

-
- -

Authors

-
  • Ashish Kamble
-
- - - - diff --git a/help/en_US/scilab_en_US_help/AVRReadADC.html b/help/en_US/scilab_en_US_help/AVRReadADC.html deleted file mode 100644 index 47488b0..0000000 --- a/help/en_US/scilab_en_US_help/AVRReadADC.html +++ /dev/null @@ -1,84 +0,0 @@ - - - AVRReadADC - - - -
- - - - -
- << AVRPWM2Setup - - - Scilab 2 C Converter - - - AVRSleep >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRReadADC - -

-

AVRReadADC

-

Function to get voltage on analog pin on AVR

- - -

Calling Sequence

-
u8AVRReadADCs(channel)
- -

Parameters

-
channel : -

Select which channel is to be read. Values from 0-7 select one of the pins ADC0-ADC7. For other possible channel values refer datasheet

- -

Description

-

This function returns digital value for present on adc pins. 'channel' -selects which of the ADC0-ADC7 is to be used for reading analog value. -Apart from reading just ADC0-ADC7 other it can also read differential -voltages between some pins. For channel values for those options, please -refer datasheet.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
adc_result = u8AVRReadADC(0)   //Read ADC0
- -

Authors

-
  • Siddhesh Wani
  • -
  • Ashish Kamble
-
- -
- - - - - - -
Report an issue
- << AVRPWM2Setup - - - Scilab 2 C Converter - - - AVRSleep >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/AVRSleep.html b/help/en_US/scilab_en_US_help/AVRSleep.html deleted file mode 100644 index b491c96..0000000 --- a/help/en_US/scilab_en_US_help/AVRSleep.html +++ /dev/null @@ -1,75 +0,0 @@ - - - AVRSleep - - - -
- - - - -
- << AVRReadADC - - - Scilab 2 C Converter - - - AVRTimerSetup >> - -
-
-
- - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRSleep - -

-

AVRSleep

-

Function to pause the execution for the given time.

- - -

Description

-

This function causes the execution to stop for the given amount of time.

-

This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

-

- -

Examples

-
AVRSleep(5000);
- -

See also

-
    - -

    Authors

    -
    • Jorawar Singh
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/AVRTimerSetup.html b/help/en_US/scilab_en_US_help/AVRTimerSetup.html deleted file mode 100644 index a815093..0000000 --- a/help/en_US/scilab_en_US_help/AVRTimerSetup.html +++ /dev/null @@ -1,66 +0,0 @@ - - - AVRTimerSetup - - - -
    - - - - -
    - << AVRSleep - - - Scilab 2 C Converter - - - AVRUARTReceive >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRTimerSetup - -

    -

    AVRTimerSetup

    -

    Function to setup Timers in ATmega16

    - - - - -

    Authors

    -
    • Ashish Kamble
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/AVRUARTReceive.html b/help/en_US/scilab_en_US_help/AVRUARTReceive.html deleted file mode 100644 index 47e683a..0000000 --- a/help/en_US/scilab_en_US_help/AVRUARTReceive.html +++ /dev/null @@ -1,77 +0,0 @@ - - - AVRUARTReceive - - - -
    - - - - -
    - << AVRTimerSetup - - - Scilab 2 C Converter - - - AVRUARTSetup >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTReceive - -

    -

    AVRUARTReceive

    -

    Function to Receive Char value send to ATmega16 using UART or USART.

    - - -

    Description

    -

    This function Receives Char as 8 bit value.This value is stored in UDR at receiving -end.

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

    -

    - -

    Examples

    -
    state = AVRUARTReceive(); //This function will Receive char and return the entire value
    - - - -

    Authors

    -
    • Ashish Kamble
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/AVRUARTSetup.html b/help/en_US/scilab_en_US_help/AVRUARTSetup.html deleted file mode 100644 index c8adca4..0000000 --- a/help/en_US/scilab_en_US_help/AVRUARTSetup.html +++ /dev/null @@ -1,96 +0,0 @@ - - - AVRUARTSetup - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTSetup - -

    -

    AVRUARTSetup

    -

    Function to Setup Serial Communication i.e UART or USART in ATmega16.

    - - -

    Parameters

    -
    mode : -

    integer, from 0 to 2

    -
    baudrate : -

    Enter one of the following available baudrates (2400 , 4800 , 9600 , 14400 , 19200 , 28800 , 38400 , 57600 , 768000 , 115200 , 230400 , 250000 , 1000000)

    -
    stopbits : -

    integer, (0 for one stopbit) or (1 for two stopbits)

    -
    parity : -

    integer, from 0 to 2

    - -

    Description

    -

    This function Setup the UART or USART for Serial Communicaion between ATmega16 -and different micro controllers or between ATmega16 and Computer.

    -

    mode can take values: -

    • 0 for Asynchronous Normal mode

    • -
    • 1 for Asynchronous Double Speed mode

    • -
    • 2 for Synchronous mode

    -

    parity can take values: -

    • 0 for parity disabled

    • -
    • 1 for even parity

    • -
    • 2 for odd parity

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

    -

    - -

    Examples

    -
    AVRUARTSetup(0,9600,0,0); //This function will enable UART Communication for ATmega16
    -with 9600 as baudrate,one stop bit and parity disabled
    - - - -

    Authors

    -
    • Ashish Kamble
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/AVRUARTTransmit.html b/help/en_US/scilab_en_US_help/AVRUARTTransmit.html deleted file mode 100644 index 36ce625..0000000 --- a/help/en_US/scilab_en_US_help/AVRUARTTransmit.html +++ /dev/null @@ -1,77 +0,0 @@ - - - AVRUARTTransmit - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > AVRUARTTransmit - -

    -

    AVRUARTTransmit

    -

    Function to Transmit data using UART or USART.

    - - -

    Description

    -

    This function Tranmits data over UART or USART.The data to be transmitted can -be a Char , String , Unsigned Int, Signed Int.

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for AVR.

    -

    - -

    Examples

    -
    AVRUARTTransmit("This is example");  //This function will transmit the entered string.
    - - - -

    Authors

    -
    • Ashish Kamble
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html b/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html deleted file mode 100644 index b3e5a63..0000000 --- a/help/en_US/scilab_en_US_help/CV_AdaptiveThreshold.html +++ /dev/null @@ -1,94 +0,0 @@ - - - CV_AdaptiveThreshold - - - -
    - - - - -
    - << AVRUARTTransmit - - - Scilab 2 C Converter - - - CV_Blur >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_AdaptiveThreshold - -

    -

    CV_AdaptiveThreshold

    -

    function to adaptively threshold input image

    - - -

    Calling Sequence

    -
    dst = CV_AdaptiveThreshold(srcimg,max_value,adaptive_method,thresh_type,blk_size,c)
    - -

    Parameters

    -
    src : -

    Source 8-bit single-channel image.

    -
    max_value : -

    Non-zero value assigned to the pixels for which the condition is satisfied. See the details below.

    -
    adaptive_method : -

    Adaptive thresholding algorithm to use, ADAPTIVE_THRESH_MEAN_C or ADAPTIVE_THRESH_GAUSSIAN_C .

    -
    thresh_type : -

    Thresholding type that must be either THRESH_BINARY or THRESH_BINARY_INV .

    -
    blockSize : -

    Size of a pixel neighborhood that is used to calculate a threshold value for the pixel: 3, 5, 7, and so on.

    -
    C : -

    Constant subtracted from the mean or weighted mean.Normally, it is positive but may be zero or negative as well.

    - -

    Description

    -

    This function can be used for adaptively threshold given image

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_AdaptiveThreshold(img,255,"ADAPTIVE_THRESH_MEAN_C", ...
    -"THRESH_BINARY",5,0)
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_Blur.html b/help/en_US/scilab_en_US_help/CV_Blur.html deleted file mode 100644 index 1dbcc5b..0000000 --- a/help/en_US/scilab_en_US_help/CV_Blur.html +++ /dev/null @@ -1,96 +0,0 @@ - - - CV_Blur - - - -
    - - - - -
    - << CV_AdaptiveThreshold - - - Scilab 2 C Converter - - - CV_Canny >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Blur - -

    -

    CV_Blur

    -

    function to blur image using normalised box filter

    - - -

    Calling Sequence

    -
    dst = CV_Blur(srcimg,ksize_width,ksize_height,anchor_x,anchor_y,border_type)
    - -

    Parameters

    -
    srcimg : -

    Source image.

    -
    ksize_width, ksize_height : -

    blurring kernel size.

    -
    anchor_x, anchor_y : -

    x,y coordinates of anchor point

    -
    border_type : -

    border mode used to extrapolate pixels outside of the image.

    - -

    Description

    -

    This function can be used for blurring image using normalised box -filter. Image can be of any depth and have any no of channels.

    -

    border_type can be : -

    • BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
    • -
    • BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
    • -
    • BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
    • -
    • BORDER_WRAP: cdefgh|abcdefgh|abcdefg
    • -
    • BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_Blur(img,3,3,-1,-1,"BORDER_CONSTANT")
    - - - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_Canny.html b/help/en_US/scilab_en_US_help/CV_Canny.html deleted file mode 100644 index dbf3ffc..0000000 --- a/help/en_US/scilab_en_US_help/CV_Canny.html +++ /dev/null @@ -1,95 +0,0 @@ - - - CV_Canny - - - -
    - - - - -
    - << CV_Blur - - - Scilab 2 C Converter - - - CV_CornerHarris >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Canny - -

    -

    CV_Canny

    -

    Finds edges in image using Canny algorithm

    - - -

    Calling Sequence

    -
    edges = CV_Canny(srcimg,threhold1,threshold2,aperture_size,L2gradient)
    - -

    Parameters

    -
    srcimg : -

    single-channel 8-bit input image.

    -
    threshold1 : -

    first threshold for the hysteresis procedure.

    -
    threshold2 : -

    second threshold for the hysteresis procedure.

    -
    aperture_size : -

    aperture size for the Sobel() operator.

    -
    L2gradient : -

    a flag, indicating whether a more accurate

    - -

    Description

    -

    This function can be used for finding edes in single channel 8 bit -image. 'aperture_size' and 'L2gradient' are optionals. By default, -aperture_size is 3 and L2gradient is false.

    -

    For L2gradient: L_2 norm =sqrt{(dI/dx)^2 + (dI/dy)^2} should be used to calculate the image gradient magnitude (L2gradient=1 ), or whether the default L_1 norm =|dI/dx|+|dI/dy| is enough (L2gradient=0).

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_CvtColor(img,"CV_RGB2GRAY");
    -edge = CV_Canny(dst,50,100,3,0);
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_CornerHarris.html b/help/en_US/scilab_en_US_help/CV_CornerHarris.html deleted file mode 100644 index 453169f..0000000 --- a/help/en_US/scilab_en_US_help/CV_CornerHarris.html +++ /dev/null @@ -1,98 +0,0 @@ - - - CV_CornerHarris - - - -
    - - - - -
    - << CV_Canny - - - Scilab 2 C Converter - - - CV_CreateImage >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CornerHarris - -

    -

    CV_CornerHarris

    -

    Finds edges in image using Harris algorithm

    - - -

    Calling Sequence

    -
    edges = CV_CornerHarris(srcimg,blocksize,ksize,k,border_type)
    - -

    Parameters

    -
    srcimg: -

    Input single-channel 8-bit or floating-point image.

    -
    blockSize: -

    Neighborhood size

    -
    ksize: -

    Aperture parameter for the Sobel() operator.

    -
    k: -

    Harris detector free parameter.

    -
    border_type: -

    border mode used to extrapolate pixels outside of the image.

    - -

    Description

    -

    The function runs the Harris edge detector on the image. For each pixel (x, y) it calculates a 2 * 2 gradient covariance matrix M(x,y) over a blockSize * blockSize neighborhood. Then, it computes the following characteristic: dst(x,y) = det(M(x,y)) - k .tr(M(x,y))^2. Corners in the image can be found as the local maxima of this response map.

    -

    border_type can be : -

    • BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
    • -
    • BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
    • -
    • BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
    • -
    • BORDER_WRAP: cdefgh|abcdefgh|abcdefg
    • -
    • BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_CvtColor(img,"CV_RGB2GRAY");
    -edge = CV_CornerHarris(dst,5,3,1,"BORDER_REPLICATE");
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_CreateImage.html b/help/en_US/scilab_en_US_help/CV_CreateImage.html deleted file mode 100644 index 6e27eeb..0000000 --- a/help/en_US/scilab_en_US_help/CV_CreateImage.html +++ /dev/null @@ -1,85 +0,0 @@ - - - CV_CreateImage - - - -
    - - - - -
    - << CV_CornerHarris - - - Scilab 2 C Converter - - - CV_CvtColor >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CreateImage - -

    -

    CV_CreateImage

    -

    function to create an image object of given size and type

    - - -

    Calling Sequence

    -
    CV_CreateImage(image_size,bit_depth,no_of_channels)
    - -

    Parameters

    -
    image_size: -

    width and height of image

    -
    bit_depth: -

    Bit depth of image elements

    -
    no_of_channels: -

    no of channels per pixels

    - -

    Description

    -

    This function can be used to create opencv image object. For more info about bit depth and channels,please refer to OpenCV documentation

    -

    This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    CV_CreateImage([320 240], "IPL_DEPTH_8U", 1)    //to create image of the size 320*240 pixels with 8 bit unsigned each pixels and gray scale image
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_CvtColor.html b/help/en_US/scilab_en_US_help/CV_CvtColor.html deleted file mode 100644 index 43c27c9..0000000 --- a/help/en_US/scilab_en_US_help/CV_CvtColor.html +++ /dev/null @@ -1,90 +0,0 @@ - - - CV_CvtColor - - - -
    - - - - -
    - << CV_CreateImage - - - Scilab 2 C Converter - - - CV_Dilate >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_CvtColor - -

    -

    CV_CvtColor

    -

    function to convert image from one colorspace to other colorspace

    - - -

    Calling Sequence

    -
    CV_CvtColor(srcimg,code)
    - -

    Parameters

    -
    srcimg: -

    source image to be converted

    -
    dstimg: -

    destination image in which to store converted image

    -
    code: -

    String specifying conversion type. Same as defined in OpenCV. for eg. 'CV_RGB2GRAY' for conversion from RGB image to grayscale image

    -
    dstCn: -

    no of channels in destination image (0 by default)

    - -

    Description

    -

    This function can be used for converting an image to other colorspace. -Refer OpenCV documentation for list of available conversions

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_CvtColor(img,'CV_RGB2GRAY')
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_Dilate.html b/help/en_US/scilab_en_US_help/CV_Dilate.html deleted file mode 100644 index f93f7ce..0000000 --- a/help/en_US/scilab_en_US_help/CV_Dilate.html +++ /dev/null @@ -1,99 +0,0 @@ - - - CV_Dilate - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Dilate - -

    -

    CV_Dilate

    -

    dilates an image by using a specific structuring element.

    - - -

    Calling Sequence

    -
    cvtimg = CV_Dilate(srcimg,dilation_type,dilation_size,[iterations,border_type,border_value])
    - -

    Parameters

    -
    src : -

    input image; the number of channels can be arbitrary, but the depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.

    -
    dilation_type : -

    can be one of MORPH_RECT, MORPH_CROSS,MORPH_ELLIPSE

    -
    dilation_size : -

    size of kernel to be used for erosion. Must be odd

    -
    iterations : -

    number of times erosion is applied.

    -
    border_type : -

    pixel extrapolation method.

    -
    border_value : -

    border value in case of a constant border

    - -

    Description

    -

    This function can be used for eroding an image. Kernel used for erosion is decided by type and size. Size must always be odd. Anchor pint of kernel is always center of kernel. Input arguements 'iterations(1), border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not specified, default values as as mentioned in brackets.

    -

    border_type can be : -

    • BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh

    • -
    • BORDER_REFLECT: fedcba|abcdefgh|hgfedcb

    • -
    • BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba

    • -
    • BORDER_WRAP: cdefgh|abcdefgh|abcdefg

    • -
    • BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_DistanceTransform.html b/help/en_US/scilab_en_US_help/CV_DistanceTransform.html deleted file mode 100644 index 584fe1d..0000000 --- a/help/en_US/scilab_en_US_help/CV_DistanceTransform.html +++ /dev/null @@ -1,87 +0,0 @@ - - - CV_DistanceTransform - - - -
    - - - - -
    - << CV_Dilate - - - Scilab 2 C Converter - - - CV_Erode >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_DistanceTransform - -

    -

    CV_DistanceTransform

    -

    function to calculate distance to closest zero pixels for each pixel

    - - -

    Calling Sequence

    -
    dst = CV_DistanceTransform(srcimg,distance_type,mask_size)
    - -

    Parameters

    -
    srcimg : -

    Source 8-bit single-channel image.

    -
    distance_type : -

    Type of distance. It can be CV_DIST_L1, CV_DIST_L2 , or CV_DIST_C

    -
    mask_size : -

    Size of the distance transform mask

    - -

    Description

    -

    This function can be used to calculate distance to closest zero pixel for each pixel of the source image. Output is 32 bit floatingpoint, single channel image of the same size as that of source image.

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_DistanceTransform(img,"CV_DIST_L1",3)
    - - - -

    Authors

    -
    • Siddhesh Wani
    -
    - -
    - - - - - - -
    Report an issue
    - << CV_Dilate - - - Scilab 2 C Converter - - - CV_Erode >> - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/CV_Erode.html b/help/en_US/scilab_en_US_help/CV_Erode.html deleted file mode 100644 index 921f2f9..0000000 --- a/help/en_US/scilab_en_US_help/CV_Erode.html +++ /dev/null @@ -1,99 +0,0 @@ - - - CV_Erode - - - - - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Erode - -

    -

    CV_Erode

    -

    Erodes an image by using a specific structuring element.

    - - -

    Calling Sequence

    -
    cvtimg = CV_Erode(srcimg,erosion_type,erosion_size,[iterations,border_type,border_value])
    - -

    Parameters

    -
    src : -

    input image; the number of channels can be arbitrary, but the depth should be one of CV_8U, CV_16U, CV_16S, CV_32F or CV_64F.

    -
    erosion_type : -

    can be one of : MORPH_RECT, MORPH_CROSS, MORPH_ELLIPSE

    -
    erosion_size : -

    size of kernel to be used for erosion. Must be odd

    -
    iterations : -

    number of times erosion is applied.

    -
    border_type : -

    pixel extrapolation method.

    -
    border_value : -

    border value in case of a constant border

    - -

    Description

    -

    This function can be used for eroding an image. Kernel used for erosion is decided by type and size. Size must always be odd. Anchor pint of kernel is always center of kernel. Input arguements 'iterations(1), border_type(BORDER_CONSTANT) and border_value' are optionals. Whwn not specified, default values as as mentioned in brackets.

    -

    border_type can be : -

    • BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
    • -
    • BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
    • -
    • BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
    • -
    • BORDER_WRAP: cdefgh|abcdefgh|abcdefg
    • -
    • BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_Erode(img,"MORPH_RECT",3,1,"BORDER_CONSTANT",0);
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_GaussianBlur.html b/help/en_US/scilab_en_US_help/CV_GaussianBlur.html deleted file mode 100644 index a5de798..0000000 --- a/help/en_US/scilab_en_US_help/CV_GaussianBlur.html +++ /dev/null @@ -1,98 +0,0 @@ - - - CV_GaussianBlur - - - -
    - - - - -
    - << CV_Erode - - - Scilab 2 C Converter - - - CV_GetImgSize >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_GaussianBlur - -

    -

    CV_GaussianBlur

    -

    function to blur image using gaussian filter

    - - -

    Calling Sequence

    -
    cvtimg = CV_GaussianBlur(srcimg,ksize_width,ksize_height,sigma_x,sigma_y,border_type)
    - -

    Parameters

    -
    srcimg : -

    Source image.

    -
    ksize_width, ksize_height : -

    blurring kernel size. must be odd.

    -
    sigmaX : -

    Gaussian kernel standard deviation in X direction.

    -
    sigmaY : -

    Gaussian kernel standard deviation in Y direction;

    -
    border_type : -

    border mode used to extrapolate pixels outside of the image.

    - -

    Description

    -

    This function can be used for blurring image using gaussian filter. Image can be of any depth and have any no of channels.

    -

    For sigmaX and sigmaY : if sigmaY is zero, it is set to be equal to sigmaX, if both sigmas are zeros, they are computed from ksize.width and ksize.height , respectively.

    -

    border_type can be : -

    • BORDER_REPLICATE: aaaaaa|abcdefgh|hhhhhhh
    • -
    • BORDER_REFLECT: fedcba|abcdefgh|hgfedcb
    • -
    • BORDER_REFLECT_101: gfedcb|abcdefgh|gfedcba
    • -
    • BORDER_WRAP: cdefgh|abcdefgh|abcdefg
    • -
    • BORDER_CONSTANT: iiiiii|abcdefgh|iiiiiii

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_GaussianBlur(img,3,3,0,0,"BORDER_CONSTANT")
    - - - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_GetImgSize.html b/help/en_US/scilab_en_US_help/CV_GetImgSize.html deleted file mode 100644 index 4d610c3..0000000 --- a/help/en_US/scilab_en_US_help/CV_GetImgSize.html +++ /dev/null @@ -1,84 +0,0 @@ - - - CV_GetImgSize - - - -
    - - - - -
    - << CV_GaussianBlur - - - Scilab 2 C Converter - - - CV_LoadImage >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_GetImgSize - -

    -

    CV_GetImgSize

    -

    function to get size of the image (width*height)

    - - -

    Calling Sequence

    -
    CV_GetImgSize(img)
    - -

    Parameters

    -
    img: -

    image whose size is to be returned

    - -

    Description

    -

    This function can be used for retriving size information of the image. -It returs an array with first image element as width and second as height

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -size = CV_GetImgSize(img)
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_LoadImage.html b/help/en_US/scilab_en_US_help/CV_LoadImage.html deleted file mode 100644 index 1d4a81b..0000000 --- a/help/en_US/scilab_en_US_help/CV_LoadImage.html +++ /dev/null @@ -1,88 +0,0 @@ - - - CV_LoadImage - - - -
    - - - - -
    - << CV_GetImgSize - - - Scilab 2 C Converter - - - CV_MedianBlur >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_LoadImage - -

    -

    CV_LoadImage

    -

    function to load an image object from given filename

    - - -

    Calling Sequence

    -
    CV_LoadImage(filename,loadtype)
    - -

    Parameters

    -
    filename: -

    name of file to be opened

    -
    loadtype: -

    desired load method

    - -

    Description

    -

    This function can be used for loading a previously stored image

    -

    loadtype can take the following values: -

    • less than 0 -> image is loaded as is (with alpha channel)

    • -
    • 0 -> image is loaded as greyscale

    • -
    • greater than 0 -> 3 channel color image is loaded

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    CV_LoadImage('~/test.jpg',0)
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_MedianBlur.html b/help/en_US/scilab_en_US_help/CV_MedianBlur.html deleted file mode 100644 index 276055b..0000000 --- a/help/en_US/scilab_en_US_help/CV_MedianBlur.html +++ /dev/null @@ -1,86 +0,0 @@ - - - CV_MedianBlur - - - -
    - - - - -
    - << CV_LoadImage - - - Scilab 2 C Converter - - - CV_SaveImage >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_MedianBlur - -

    -

    CV_MedianBlur

    -

    function to blur image using median filter

    - - -

    Calling Sequence

    -
    cvtimg = CV_MedianBlur(srcimg,ksize)
    - -

    Parameters

    -
    srcimg : -

    input 1-, 3-, or 4-channel image; when ksize is 3 or 5, the image depth should be CV_8U, CV_16U, or CV_32F, for larger aperture sizes, it can only be CV_8U.

    -
    ksize_width : -

    aperture linear size; it must be odd and greater than 1, for example: 3, 5, 7 ...

    - -

    Description

    -

    This function can be used for blurring image using median -filter. Image can be of any depth and have any no of channels.

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_MedianBlur(img,3)
    - - - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_SaveImage.html b/help/en_US/scilab_en_US_help/CV_SaveImage.html deleted file mode 100644 index 02336d2..0000000 --- a/help/en_US/scilab_en_US_help/CV_SaveImage.html +++ /dev/null @@ -1,86 +0,0 @@ - - - CV_SaveImage - - - -
    - - - - -
    - << CV_MedianBlur - - - Scilab 2 C Converter - - - CV_ShowImage >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_SaveImage - -

    -

    CV_SaveImage

    -

    function to save an image object as a given filename

    - - -

    Calling Sequence

    -
    CV_SaveImage(filename,img)
    - -

    Parameters

    -
    filename: -

    name of file image to be saved as

    -
    img: -

    image to be saved

    - -

    Description

    -

    This function can be used for saving image. File format is detected -from file extension

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -CV_SaveImage('test1.png',img)
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_ShowImage.html b/help/en_US/scilab_en_US_help/CV_ShowImage.html deleted file mode 100644 index 3fa3cb9..0000000 --- a/help/en_US/scilab_en_US_help/CV_ShowImage.html +++ /dev/null @@ -1,86 +0,0 @@ - - - CV_ShowImage - - - -
    - - - - -
    - << CV_SaveImage - - - Scilab 2 C Converter - - - CV_Threshold >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_ShowImage - -

    -

    CV_ShowImage

    -

    function to show an image

    - - -

    Calling Sequence

    -
    CV_ShowImage(img)
    -CV_ShowImage(winname,img)
    - -

    Parameters

    -
    winname: -

    name of window in which img is to be shown

    -
    img: -

    image to be shown already acquired (from file/camera)

    - -

    Description

    -

    This function can be used for showing images

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -CV_ShowImage(img)
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_Threshold.html b/help/en_US/scilab_en_US_help/CV_Threshold.html deleted file mode 100644 index ae0ad86..0000000 --- a/help/en_US/scilab_en_US_help/CV_Threshold.html +++ /dev/null @@ -1,90 +0,0 @@ - - - CV_Threshold - - - -
    - - - - -
    - << CV_ShowImage - - - Scilab 2 C Converter - - - CV_WaitKey >> - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_Threshold - -

    -

    CV_Threshold

    -

    function to threshold input image

    - - -

    Calling Sequence

    -
    dst = CV_Threshold(srcimg,code,threshold,max_value,thresh_type)
    - -

    Parameters

    -
    srcimg: -

    source image to be converted

    -
    threshold: -

    threshold value

    -
    max_value: -

    maximum value to be used with THRESH_BINARY and THRESH_BINARY_INV

    -
    thresh_type: -

    Type for threshold. It can one of the following: THRESH_BINARY, THRESH_BINARY_INV, THRESH_TRUNC, THRESH_TOZERO, THRESH_TOZERO_INV

    - -

    Description

    -

    This function can be used for converting an image to other colorspace. -Refer OpenCV documentation for list of available conversions

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -dst = CV_Threshold(img,100,255,'THRESH_BINARY')
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - - - - diff --git a/help/en_US/scilab_en_US_help/CV_WaitKey.html b/help/en_US/scilab_en_US_help/CV_WaitKey.html deleted file mode 100644 index 42dc813..0000000 --- a/help/en_US/scilab_en_US_help/CV_WaitKey.html +++ /dev/null @@ -1,83 +0,0 @@ - - - CV_WaitKey - - - -
    - - - - -
    - << CV_Threshold - - - Scilab 2 C Converter - - - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter > CV_WaitKey - -

    -

    CV_WaitKey

    -

    function similar to cvWaitKey

    - - -

    Calling Sequence

    -
    CV_WaitKey(delay)
    - -

    Parameters

    -
    delay: -

    waiting delay, if 0 then wait till keypress

    - -

    Description

    -

    This function can be used for inseting some delay. This function must -follow CV_ShowImage to display image.

    -

    This is curretly dummy function. It provides no functionality but is required -for providing support for generating C code for OpenCV

    -

    - -

    Examples

    -
    img = CV_LoadImage('~/test.jpg',0)
    -CV_ShowImage('',img)
    -CV_WaitKey(0);
    - -

    See also

    -
    - -

    Authors

    -
    • Siddhesh Wani
    -
    - -
    - - - - - - -
    Report an issue
    - << CV_Threshold - - - Scilab 2 C Converter - - - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html deleted file mode 100644 index 55a9600..0000000 --- a/help/en_US/scilab_en_US_help/index.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -
    - - - - -
    - - - - - -
    -
    -
    - - - - -

    -

    Scilab 2 C Converter

    -
      - -
    • Scilab 2 C Converter -
      • AVRADCSetupFunction to initialise ADC of AVR
      • - - - - - -
      • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
      • - - - - - -
      • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
      • - - - - - -
      • AVRDigitalPortSetupFunction to decide direction of port on AVR
      • - - - - - -
      • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
      • - - - - - -
      • AVRGetTimerValueFunction to get timer count
      • - - - - - -
      • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
      • - - - - - -
      • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
      • - - - - - -
      • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
      • - - - - - -
      • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
      • - - - - - -
      • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
      • - - - - - -
      • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
      • - - - - - -
      • AVRReadADCFunction to get voltage on analog pin on AVR
      • - - - - - -
      • AVRSleepFunction to pause the execution for the given time.
      • - - - - - -
      • AVRTimerSetupFunction to setup Timers in ATmega16
      • - - - - - -
      • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
      • - - - - - -
      • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
      • - - - - - -
      • AVRUARTTransmitFunction to Transmit data using UART or USART.
      • - - - - - -
      • CV_AdaptiveThresholdfunction to adaptively threshold input image
      • - - - - - -
      • CV_Blurfunction to blur image using normalised box filter
      • - - - - - -
      • CV_CannyFinds edges in image using Canny algorithm
      • - - - - - -
      • CV_CornerHarrisFinds edges in image using Harris algorithm
      • - - - - - -
      • CV_CreateImagefunction to create an image object of given size and type
      • - - - - - -
      • CV_CvtColorfunction to convert image from one colorspace to other colorspace
      • - - - - - -
      • CV_Dilatedilates an image by using a specific structuring element.
      • - - - - - -
      • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
      • - - - - - -
      • CV_ErodeErodes an image by using a specific structuring element.
      • - - - - - -
      • CV_GaussianBlurfunction to blur image using gaussian filter
      • - - - - - -
      • CV_GetImgSizefunction to get size of the image (width*height)
      • - - - - - -
      • CV_LoadImagefunction to load an image object from given filename
      • - - - - - -
      • CV_MedianBlurfunction to blur image using median filter
      • - - - - - -
      • CV_SaveImagefunction to save an image object as a given filename
      • - - - - - -
      • CV_ShowImagefunction to show an image
      • - - - - - -
      • CV_Thresholdfunction to threshold input image
      • - - - - - -
      • CV_WaitKeyfunction similar to cvWaitKey
    -
    - -
    - - - - - - -
    Report an issue
    - - - - - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/jhelpidx.xml b/help/en_US/scilab_en_US_help/jhelpidx.xml deleted file mode 100644 index aa5a66e..0000000 --- a/help/en_US/scilab_en_US_help/jhelpidx.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml deleted file mode 100644 index 912cae2..0000000 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/section_0da8c7f3adca54f0475553087384b7a7.html b/help/en_US/scilab_en_US_help/section_0da8c7f3adca54f0475553087384b7a7.html deleted file mode 100644 index 647ce7c..0000000 --- a/help/en_US/scilab_en_US_help/section_0da8c7f3adca54f0475553087384b7a7.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -
    - - - - -
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter - -

    -

    Scilab 2 C Converter

    -
    • AVRADCSetupFunction to initialise ADC of AVR
    • - - - - - -
    • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
    • - - - - - -
    • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
    • - - - - - -
    • AVRDigitalPortSetupFunction to decide direction of port on AVR
    • - - - - - -
    • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
    • - - - - - -
    • AVRGetTimerValueFunction to get timer count
    • - - - - - -
    • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
    • - - - - - -
    • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
    • - - - - - -
    • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
    • - - - - - -
    • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
    • - - - - - -
    • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
    • - - - - - -
    • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
    • - - - - - -
    • AVRReadADCFunction to get voltage on analog pin on AVR
    • - - - - - -
    • AVRSleepFunction to pause the execution for the given time.
    • - - - - - -
    • AVRTimerSetupFunction to setup Timers in ATmega16
    • - - - - - -
    • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
    • - - - - - -
    • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
    • - - - - - -
    • AVRUARTTransmitFunction to Transmit data using UART or USART.
    • - - - - - -
    • CV_AdaptiveThresholdfunction to adaptively threshold input image
    • - - - - - -
    • CV_Blurfunction to blur image using normalised box filter
    • - - - - - -
    • CV_CannyFinds edges in image using Canny algorithm
    • - - - - - -
    • CV_CornerHarrisFinds edges in image using Harris algorithm
    • - - - - - -
    • CV_CreateImagefunction to create an image object of given size and type
    • - - - - - -
    • CV_CvtColorfunction to convert image from one colorspace to other colorspace
    • - - - - - -
    • CV_Dilatedilates an image by using a specific structuring element.
    • - - - - - -
    • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
    • - - - - - -
    • CV_ErodeErodes an image by using a specific structuring element.
    • - - - - - -
    • CV_GaussianBlurfunction to blur image using gaussian filter
    • - - - - - -
    • CV_GetImgSizefunction to get size of the image (width*height)
    • - - - - - -
    • CV_LoadImagefunction to load an image object from given filename
    • - - - - - -
    • CV_MedianBlurfunction to blur image using median filter
    • - - - - - -
    • CV_SaveImagefunction to save an image object as a given filename
    • - - - - - -
    • CV_ShowImagefunction to show an image
    • - - - - - -
    • CV_Thresholdfunction to threshold input image
    • - - - - - -
    • CV_WaitKeyfunction similar to cvWaitKey
    -
    - -
    - - - - - - -
    Report an issue
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/section_473a2b9e79723ff76a7f243f85d2b6b8.html b/help/en_US/scilab_en_US_help/section_473a2b9e79723ff76a7f243f85d2b6b8.html deleted file mode 100644 index 647ce7c..0000000 --- a/help/en_US/scilab_en_US_help/section_473a2b9e79723ff76a7f243f85d2b6b8.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -
    - - - - -
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter - -

    -

    Scilab 2 C Converter

    -
    • AVRADCSetupFunction to initialise ADC of AVR
    • - - - - - -
    • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
    • - - - - - -
    • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
    • - - - - - -
    • AVRDigitalPortSetupFunction to decide direction of port on AVR
    • - - - - - -
    • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
    • - - - - - -
    • AVRGetTimerValueFunction to get timer count
    • - - - - - -
    • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
    • - - - - - -
    • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
    • - - - - - -
    • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
    • - - - - - -
    • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
    • - - - - - -
    • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
    • - - - - - -
    • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
    • - - - - - -
    • AVRReadADCFunction to get voltage on analog pin on AVR
    • - - - - - -
    • AVRSleepFunction to pause the execution for the given time.
    • - - - - - -
    • AVRTimerSetupFunction to setup Timers in ATmega16
    • - - - - - -
    • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
    • - - - - - -
    • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
    • - - - - - -
    • AVRUARTTransmitFunction to Transmit data using UART or USART.
    • - - - - - -
    • CV_AdaptiveThresholdfunction to adaptively threshold input image
    • - - - - - -
    • CV_Blurfunction to blur image using normalised box filter
    • - - - - - -
    • CV_CannyFinds edges in image using Canny algorithm
    • - - - - - -
    • CV_CornerHarrisFinds edges in image using Harris algorithm
    • - - - - - -
    • CV_CreateImagefunction to create an image object of given size and type
    • - - - - - -
    • CV_CvtColorfunction to convert image from one colorspace to other colorspace
    • - - - - - -
    • CV_Dilatedilates an image by using a specific structuring element.
    • - - - - - -
    • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
    • - - - - - -
    • CV_ErodeErodes an image by using a specific structuring element.
    • - - - - - -
    • CV_GaussianBlurfunction to blur image using gaussian filter
    • - - - - - -
    • CV_GetImgSizefunction to get size of the image (width*height)
    • - - - - - -
    • CV_LoadImagefunction to load an image object from given filename
    • - - - - - -
    • CV_MedianBlurfunction to blur image using median filter
    • - - - - - -
    • CV_SaveImagefunction to save an image object as a given filename
    • - - - - - -
    • CV_ShowImagefunction to show an image
    • - - - - - -
    • CV_Thresholdfunction to threshold input image
    • - - - - - -
    • CV_WaitKeyfunction similar to cvWaitKey
    -
    - -
    - - - - - - -
    Report an issue
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html b/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html deleted file mode 100644 index 647ce7c..0000000 --- a/help/en_US/scilab_en_US_help/section_4d177ceb9ae128b1850140a7901a140a.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -
    - - - - -
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter - -

    -

    Scilab 2 C Converter

    -
    • AVRADCSetupFunction to initialise ADC of AVR
    • - - - - - -
    • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
    • - - - - - -
    • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
    • - - - - - -
    • AVRDigitalPortSetupFunction to decide direction of port on AVR
    • - - - - - -
    • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
    • - - - - - -
    • AVRGetTimerValueFunction to get timer count
    • - - - - - -
    • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
    • - - - - - -
    • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
    • - - - - - -
    • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
    • - - - - - -
    • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
    • - - - - - -
    • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
    • - - - - - -
    • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
    • - - - - - -
    • AVRReadADCFunction to get voltage on analog pin on AVR
    • - - - - - -
    • AVRSleepFunction to pause the execution for the given time.
    • - - - - - -
    • AVRTimerSetupFunction to setup Timers in ATmega16
    • - - - - - -
    • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
    • - - - - - -
    • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
    • - - - - - -
    • AVRUARTTransmitFunction to Transmit data using UART or USART.
    • - - - - - -
    • CV_AdaptiveThresholdfunction to adaptively threshold input image
    • - - - - - -
    • CV_Blurfunction to blur image using normalised box filter
    • - - - - - -
    • CV_CannyFinds edges in image using Canny algorithm
    • - - - - - -
    • CV_CornerHarrisFinds edges in image using Harris algorithm
    • - - - - - -
    • CV_CreateImagefunction to create an image object of given size and type
    • - - - - - -
    • CV_CvtColorfunction to convert image from one colorspace to other colorspace
    • - - - - - -
    • CV_Dilatedilates an image by using a specific structuring element.
    • - - - - - -
    • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
    • - - - - - -
    • CV_ErodeErodes an image by using a specific structuring element.
    • - - - - - -
    • CV_GaussianBlurfunction to blur image using gaussian filter
    • - - - - - -
    • CV_GetImgSizefunction to get size of the image (width*height)
    • - - - - - -
    • CV_LoadImagefunction to load an image object from given filename
    • - - - - - -
    • CV_MedianBlurfunction to blur image using median filter
    • - - - - - -
    • CV_SaveImagefunction to save an image object as a given filename
    • - - - - - -
    • CV_ShowImagefunction to show an image
    • - - - - - -
    • CV_Thresholdfunction to threshold input image
    • - - - - - -
    • CV_WaitKeyfunction similar to cvWaitKey
    -
    - -
    - - - - - - -
    Report an issue
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - diff --git a/help/en_US/scilab_en_US_help/section_c4a64b600f61b91c1ebf30f1b892cb10.html b/help/en_US/scilab_en_US_help/section_c4a64b600f61b91c1ebf30f1b892cb10.html deleted file mode 100644 index 647ce7c..0000000 --- a/help/en_US/scilab_en_US_help/section_c4a64b600f61b91c1ebf30f1b892cb10.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -
    - - - - -
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - - - Scilab 2 C Converter >> Scilab 2 C Converter - -

    -

    Scilab 2 C Converter

    -
    • AVRADCSetupFunction to initialise ADC of AVR
    • - - - - - -
    • AVRDigitalInFunction to get state (high\low) of a digital input pin on AVR
    • - - - - - -
    • AVRDigitalOutFunction to change state (high\low) of a digital output pin on AVR
    • - - - - - -
    • AVRDigitalPortSetupFunction to decide direction of port on AVR
    • - - - - - -
    • AVRDigitalSetupFunction to decide direction of a digital pin on AVR
    • - - - - - -
    • AVRGetTimerValueFunction to get timer count
    • - - - - - -
    • AVRPWM0SetDutyFunction to Set Duty cycle of PWM Output generated by Timer0 at OC0 pin.
    • - - - - - -
    • AVRPWM0SetupFunction to Setup OC0 pin for required PWM mode
    • - - - - - -
    • AVRPWM1SetDutyFunction to Set Duty cycle of PWM Output generated by Timer1 at OC1A or OC1B pin.
    • - - - - - -
    • AVRPWM1SetupFunction to Setup OC1A or OC1B pin for required PWM mode
    • - - - - - -
    • AVRPWM2SetDutyFunction to Set Duty cycle of PWM Output generated by Timer2 at OC2 pin.
    • - - - - - -
    • AVRPWM2SetupFunction to Setup OC2 pin for required PWM mode
    • - - - - - -
    • AVRReadADCFunction to get voltage on analog pin on AVR
    • - - - - - -
    • AVRSleepFunction to pause the execution for the given time.
    • - - - - - -
    • AVRTimerSetupFunction to setup Timers in ATmega16
    • - - - - - -
    • AVRUARTReceiveFunction to Receive Char value send to ATmega16 using UART or USART.
    • - - - - - -
    • AVRUARTSetupFunction to Setup Serial Communication i.e UART or USART in ATmega16.
    • - - - - - -
    • AVRUARTTransmitFunction to Transmit data using UART or USART.
    • - - - - - -
    • CV_AdaptiveThresholdfunction to adaptively threshold input image
    • - - - - - -
    • CV_Blurfunction to blur image using normalised box filter
    • - - - - - -
    • CV_CannyFinds edges in image using Canny algorithm
    • - - - - - -
    • CV_CornerHarrisFinds edges in image using Harris algorithm
    • - - - - - -
    • CV_CreateImagefunction to create an image object of given size and type
    • - - - - - -
    • CV_CvtColorfunction to convert image from one colorspace to other colorspace
    • - - - - - -
    • CV_Dilatedilates an image by using a specific structuring element.
    • - - - - - -
    • CV_DistanceTransformfunction to calculate distance to closest zero pixels for each pixel
    • - - - - - -
    • CV_ErodeErodes an image by using a specific structuring element.
    • - - - - - -
    • CV_GaussianBlurfunction to blur image using gaussian filter
    • - - - - - -
    • CV_GetImgSizefunction to get size of the image (width*height)
    • - - - - - -
    • CV_LoadImagefunction to load an image object from given filename
    • - - - - - -
    • CV_MedianBlurfunction to blur image using median filter
    • - - - - - -
    • CV_SaveImagefunction to save an image object as a given filename
    • - - - - - -
    • CV_ShowImagefunction to show an image
    • - - - - - -
    • CV_Thresholdfunction to threshold input image
    • - - - - - -
    • CV_WaitKeyfunction similar to cvWaitKey
    -
    - -
    - - - - - - -
    Report an issue
    - - - Scilab 2 C Converter - - - -
    -
    -
    - - -- cgit