Tag Archives: opencv

What is depth in image processing ?

What is depth in image processing ? Depth or color depth or bit depth is either the number of bits used to indicate the color of a single pixel or number of bits used to indicate each color component in a single pixel. When referring to the first concept then we use the term bpp… Read More »

Sample code to convert image to HSV realtime xcode opencv

Sample code to convert image to HSV realtime xcode opencv

 

Sample code for converting image to grey realtime opencv mac

sample code for converting image to grey realtime opencv mac

 

imgproc file issue xcode opencv

imgproc file issue xcode opencv If imageproc file in not found issue occurs, then do the following: 1. Go to build rules -> Add binary libopencv_imgproc2.4.10.dylib 2. Try changing the path to #include<opencv2/imgproc/imgproc.hpp> Similarly, #include<opencv2/highgui/highgui.hpp> Note : Any error in Xcode appears like “exit with -1” then understand it’s that library hasn’t been included properly.… Read More »

What is the meaning of channel in OpenCV ?

What is the meaning of channel in OpenCV ? An image is a collection of pixels. Pixel type determines how image is stored as data. There are three ways to represent a pixel from an image : 1. BGR – Blue, Green, Red ( 3 Channel color – each color is termed as a channel)… Read More »

Installing OpenCV in Mac OSx tutorial

Installing OpenCV in Mac OSx tutorial – OpenCV 2.4.10 on OSx 10.10 Yosemite Please see the latest blog to install OpenCV 3 on macOS here ! Notes : Consider following suggestions before you start installing OpenCV on your Mac 1. Do not use any “beta” versions – for both OpenCV and XCode (Please Avoid / Use stable… Read More »

Macports updating error – Yosemite terminal

Macports updating error – Yosemite terminal If you come across following error when updating macports: Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts Run the command in terminal : sudo port -v selfupdate you need to run command under the root and this will work !