diff options
Diffstat (limited to 'macros/ImageProcessing/core')
-rw-r--r-- | macros/ImageProcessing/core/CV_CreateImage.bin | bin | 3564 -> 3604 bytes | |||
-rw-r--r-- | macros/ImageProcessing/core/CV_CreateImage.sci | 2 | ||||
-rw-r--r-- | macros/ImageProcessing/core/CV_GetImgSize.bin | bin | 0 -> 2764 bytes | |||
-rw-r--r-- | macros/ImageProcessing/core/CV_GetImgSize.sci | 38 | ||||
-rw-r--r-- | macros/ImageProcessing/core/lib | bin | 676 -> 700 bytes | |||
-rw-r--r-- | macros/ImageProcessing/core/names | 1 |
6 files changed, 40 insertions, 1 deletions
diff --git a/macros/ImageProcessing/core/CV_CreateImage.bin b/macros/ImageProcessing/core/CV_CreateImage.bin Binary files differindex 4c638cc2..d5aa3080 100644 --- a/macros/ImageProcessing/core/CV_CreateImage.bin +++ b/macros/ImageProcessing/core/CV_CreateImage.bin diff --git a/macros/ImageProcessing/core/CV_CreateImage.sci b/macros/ImageProcessing/core/CV_CreateImage.sci index 49649201..72dd9b8c 100644 --- a/macros/ImageProcessing/core/CV_CreateImage.sci +++ b/macros/ImageProcessing/core/CV_CreateImage.sci @@ -13,7 +13,7 @@ function img = CV_CreateImage(width,height,bit_depth,no_of_channels) // This function can be used to create opencv image object. For more info // about bit depth and channels,please refer to OpenCV documentation // Examples -// CV_CreateImage([320 240], "8U", 1) //to create image of the size 320*240 +// 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 diff --git a/macros/ImageProcessing/core/CV_GetImgSize.bin b/macros/ImageProcessing/core/CV_GetImgSize.bin Binary files differnew file mode 100644 index 00000000..ede60e6f --- /dev/null +++ b/macros/ImageProcessing/core/CV_GetImgSize.bin diff --git a/macros/ImageProcessing/core/CV_GetImgSize.sci b/macros/ImageProcessing/core/CV_GetImgSize.sci new file mode 100644 index 00000000..cd7ebdaf --- /dev/null +++ b/macros/ImageProcessing/core/CV_GetImgSize.sci @@ -0,0 +1,38 @@ +// Copyright (C) 2016 - 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: Siddhesh Wani +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + +function imgsize = CV_GetImgSize(img) +// 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 +// Examples +// img = CV_LoadImage('~/test.jpg',0) +// size = CV_GetImgSize(img) +// +// See also +// CV_LoadImage CV_CreateImage +// +// Authors +// Siddhesh Wani +// +imgsize = [0 0]; +// This is curretly dummy function. It provides no functionality but is required +// for providing support for generating C code for OpenCV + +endfunction diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib Binary files differindex 4bccbc8b..8d5e5c74 100644 --- a/macros/ImageProcessing/core/lib +++ b/macros/ImageProcessing/core/lib diff --git a/macros/ImageProcessing/core/names b/macros/ImageProcessing/core/names index a681f790..f56c951c 100644 --- a/macros/ImageProcessing/core/names +++ b/macros/ImageProcessing/core/names @@ -1 +1,2 @@ CV_CreateImage +CV_GetImgSize |