[1]
目前分類:OpenCV (118)
- Sep 07 Wed 2016 11:26
複雜背景中刮傷偵測
- Aug 11 Thu 2016 01:32
Image Affinement and Real-time Object Detection
- May 21 Sat 2016 19:47
GPU-accelerated LIBSVM
This is my first time to study GPU-accelerated LIBSVM, which is an accerlated version of original LIBSVM.
A video on YOUTUBE demonstrates such a powerful tool.
I think you will love it espcially when you have a lot of features to train by using LIBSVM.
- May 06 Fri 2016 10:13
Convex and Concave的應用
convex and concave 中文直譯: 凸凹
- Apr 06 Wed 2016 07:38
OpenCV meanStdDev
- Mar 30 Wed 2016 11:28
HSV顏色範圍內的遮罩應用
請先參考下面這一篇, 篩選RGB得到顏色範圍內的遮罩
-
-
RGB顏色範圍內的遮罩應用 Part II
-
----------------------------------------------------
-
先來認識inRange函式定義
-
inRange
Checks if array elements lie between the elements of two other arrays.
- C++: void inRange(InputArray src, InputArray lowerb, InputArray upperb, OutputArray dst)
- Python: cv2.inRange(src, lowerb, upperb[, dst]) → dst
- C: void cvInRange(const CvArr* src, const CvArr* lower, const CvArr* upper, CvArr* dst)
- C: void cvInRangeS(const CvArr* src, CvScalar lower, CvScalar upper, CvArr* dst)
- Python: cv.InRange(src, lower, upper, dst) → None
- Python: cv.InRangeS(src, lower, upper, dst) → None
-
Parameters:
- src – first input array.
- lowerb – inclusive lower boundary array or a scalar.
- upperb – inclusive upper boundary array or a scalar.
- dst – output array of the same size as src and CV_8U type.
The function checks the range as follows:
-
For every element of a single-channel input array:
-
- Mar 30 Wed 2016 00:48
RGB顏色範圍內的遮罩應用 Part II
- Mar 29 Tue 2016 00:24
RGB顏色範圍內的遮罩應用 Part I: Visual Studio 2013編譯環境建構
首先, 先下載安裝OpenCV2.4.10, 安裝方式請參考下面這篇:
- Mar 28 Mon 2016 07:58
Quick Installation for OpenCV 2.4.10 with Visual Studio 2013
- Mar 17 Thu 2016 12:54
利用距離轉換和分水嶺演算法進行影像分割
- Mar 13 Sun 2016 08:58
OpenCV 像素加入雜訊
- Mar 11 Fri 2016 02:32
利用C# 拉UI並傳參數給OpenCV C++ DLL
How to Create an OpenCV C++ DLL and To be Used in C# Windows Form Project?
- Mar 10 Thu 2016 12:55
Calculating Disparity Map Using OpenCV 2.4.9 with Visual Studio 2010
- Mar 03 Thu 2016 09:33
OpenCV 2.4.9 取得和設定彩色(灰階)影像的像素值
#include "stdafx.h"
#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <iostream>
using namespace std;
using namespace cv;
void AddNoise(Mat image, int numPts); // 加入雜訊
int _tmain(int argc, _TCHAR* argv[])
{
char *path = "C:\\OpenCV\\images\\lena.jpg";
Mat image;
// 載入圖檔
image = imread(path, CV_LOAD_IMAGE_COLOR);
// 檢查讀檔是否成功
if(! image.data )
{
cout << "無法開啟或找不到圖檔" << std::endl ;
return -1;
}
namedWindow("original image", CV_WND_PROP_AUTOSIZE);
imshow("original image", image);
//-------------------------------------
int numPts = 10000;
AddNoise(image, numPts);
namedWindow("image with noise", CV_WND_PROP_AUTOSIZE);
imshow("image with noise", image);
waitKey(0);
getchar();
return 0;
}
- Jan 30 Sat 2016 18:49
Distance Transform
Distance Transform [2]經常應用在二值影像,其運算結果則為一灰階影像,
- Jan 24 Sun 2016 17:16
安裝IrfanView看圖軟體
C:\Program Files (x86)\IrfanView
- Nov 29 Sun 2015 21:31
Mat Structure in OpenCV
- Nov 27 Fri 2015 10:22
Load an image Using OpenCV2.4.9 with Visual Studio 2010
- Jun 21 Sun 2015 14:25
Calling OpenCV C++ Code in C# Windows Form Applications
Before you start to read this article, you should have read VS2013 Build OpenCV2.4.9 with CUDA.
Some prerequisites are needed:
- Jun 19 Fri 2015 14:48
VS2013 Build OpenCV2.4.9 with CUDA