PIXNET Logo登入

天天向上

跳到主文

程式外包服務  E-mail: me1237guy@yahoo.com.tw 歡迎來信洽談, 請附上相關文件或問題說明, 謝謝

專長:  ※自動光學檢測 ※人臉辨識 ※車牌辨識 ※錄影監控系統 ※自動控制I/O相關 
      ※演算法開發 ※基因演算法 ※類神經網路 
      ※MATLAB  ※VISUAL C++/C# ※Xamarin ※OpenCV ※Emgu ※Unity ※QT4/5
-----------------------------------------------------------------------------------------------
   SA (模擬退火法)     GA (基因演算法)    ACO (蟻群演算法)    PSO (粒子最佳化演算法)   
   排列組合問題最佳化   TSP  Scheduling  K-means, Fuzzy C-means, KNN, DBSCAN分群  
   Fuzzy Control (模糊控制)  Neural Networks (類神經網路) Object Tracking (Kalman Filter, Optical Flow)  
   Object Recognition (Pattern Match, Haar-Like Features, EigenFace)  Human Pose Recognition
   人臉偵測     移動物偵測   車牌辨識    智慧型監控攝影  XBOX Kinect影像處理及應用 體感互動應用  
   自動光學檢測(AOI) 玻璃檢測  NVIDIA CUDA平行運算處理
   TI-DSP 6xxx系列 雙影像輸入   / Raspberry PI 樹莓派 / Arduino控制  自走車避障礙物(GPS/機器視覺)

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 10月 30 週三 201322:00
  • 輪廓搜尋 Finding contours using OpenCV2.4.6 with Qt5.1


接續上一篇<輪廓搜尋 Finding contours using OpenCV2.4.6 with visual studio 2010>
這次將整合搜尋輪廓find contours範例至Image Viewer平台, 開啟上一篇的範例程式<find contour VS2010 OpenCV2.4.6>
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(506)

  • 個人分類:OpenCV
▲top
  • 10月 30 週三 201315:03
  • 輪廓搜尋 Finding contours using OpenCV2.4.6 with visual studio 2010


/**
 * @function findContours_Demo.cpp
 * @brief Demo code to find contours in an image
 * @author OpenCV team
 */
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace cv;
using namespace std;
Mat src; Mat src_gray;
int thresh = 100;                        // scollbar預設值(門檻值)   
int max_thresh = 255;                    // scrollbar上限(max value)
RNG rng(12345);                          // Random Number Generator, 參考core.hpp
/// Function header
void thresh_callback(int, void* );       // 門檻回呼函式
/**
 * @function main
 */
int main( int arg, char** argv )
{
  /// Load source image and convert it to gray
     const char* filename = arg == 2 ? argv[1] : "sample.jpg";      
    src = imread(filename, 1 );
  /// Convert image to gray and blur it
  cvtColor( src, src_gray, CV_BGR2GRAY );      // 轉灰階
  blur( src_gray, src_gray, Size(3,3) );             // 模糊化
  /// Create Window
  const char* source_window = "Source";
  namedWindow( source_window, CV_WINDOW_AUTOSIZE );  // CV_WINDOW_AUTOSIZE:使用者無法調整視窗大小
  imshow( source_window, src );
  createTrackbar( " Canny thresh:", "Source", &thresh, max_thresh, thresh_callback );/* createTrackbar(scrollbar名稱,
                                                                                                       視窗標題,
                                                                                                       scrollbar預設值,
                                                                                                       scrollbar上限值,
                                                                                                       回呼函式)
                                                                                     */
  thresh_callback( 0, 0 );
  waitKey(0);
  return(0);
}
/**
 * @function thresh_callback
 */
void thresh_callback(int, void* )
{
  Mat canny_output;
  vector<vector<Point> > contours;
  vector<Vec4i> hierarchy;
  /// Detect edges using canny
  Canny( src_gray, canny_output, thresh, thresh*2, 3 );
  namedWindow( "Canny", CV_WINDOW_AUTOSIZE );     // Canny output
  imshow( "Canny", canny_output );
  /// Find contours
  findContours( canny_output, contours, hierarchy, CV_RETR_TREE, CV_CHAIN_APPROX_SIMPLE, Point(0, 0) );
  /// Draw contours
  //Mat drawing = Mat::zeros( canny_output.size(), CV_8UC3 );   // contour 輸出
  Mat drawing;
  src.copyTo(drawing);
 
  for( size_t i = 0; i< contours.size(); i++ )
     {
       Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
       drawContours( drawing, contours, (int)i, color, 3, 8, hierarchy, 0, Point() );
       /*
           void drawContours( InputOutputArray image,
                              InputArrayOfArrays contours,
                              int contourIdx,
                              const Scalar& color,
                              int thickness=1,
                              int lineType=8,
                              InputArray hierarchy=noArray(),
                              int maxLevel=INT_MAX,
                              Point offset=Point() );
       */
     }
  /// Show in a window
  namedWindow( "Contours", CV_WINDOW_AUTOSIZE );
  imshow( "Contours", drawing );
}
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(3,118)

  • 個人分類:OpenCV
▲top
  • 10月 30 週三 201310:17
  • Qt日期時間操作 Date and time in Qt


Qt Creator新增一個專案<Qt圖形介面應用程式>
專案名稱: DateTimeGUI
-----------------------------------------------------------------------------------------------------------
開始利用QDate和QTime來進行日期時間的操作吧!
首先mainwindow.h加入下列標頭檔
#include <QDate>
#include <QTime>
#pragmaexecution_character_set("utf-8")
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(4,067)

  • 個人分類:其他語言
▲top
  • 10月 28 週一 201315:35
  • 安裝Git for Windows 1.8.4


Git-1.8.4-preview20130916.exe   14.9 MB
Git教學:初學者使用心得分享(Windows)
 
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(34)

  • 個人分類:C#
▲top
  • 10月 26 週六 201319:39
  • 以延展或正常大小的方式顯示影像Displaying a a stretched or normal image within a form layout Using OpenCV2.4.6 with Qt5


接續之前一篇<二值化灰階影像 Binarize a gray level image Using OpenCV 2.4.6 with Qt5 >
這次打算寫一個即時調整門檻值並顯示對應二值化後的小圖
1. 在tabwidget插入一個頁面<參數>
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(482)

  • 個人分類:OpenCV
▲top
  • 10月 24 週四 201313:46
  • 滑鼠移動時取得滑鼠座標位置的像素值Getting pixel value by mouse move event Qt5 + OpenCV2.4.6


參考: Getting MouseMoveEvents in Qt
請加入下列至 mainwindow.h
bool eventFilter(QObject *obj,QEvent *event);//事件偵測(滑鼠)
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(3,965)

  • 個人分類:OpenCV
▲top
  • 10月 17 週四 201316:07
  • Basler 3.2 Pylon C API 筆記2


接續上一篇<Basler 3.2 Pylon C API 筆記1>
Grabbing Using Stream Grabber Objects(電腦端非攝影機端)
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(1) 人氣(6,044)

  • 個人分類:攝影機
▲top
  • 10月 17 週四 201311:13
  • Basler 3.2 Pylon C API 筆記1

pylon C and GenApi
The pylon C API builds upon GenApi, a software framework that provides a high-level API for generic access to all compliant digital cameras, hiding the peculiarities of the particular interface technology used. Accordingly, the application developer can focus on the functional aspects of the program to be developed. Due to the abstraction provided by GenApi, programs need not be adjusted to work with different types of camera interfaces.(例如使用area camera和linescan camera幾乎感覺一模一樣, 因為兩者的差異已經在GenAPI處理掉了, 使用者只需要專注在收到影像像素後的處理) Even applications can be addressed where different camera interfaces are used at the same time.The dependency of pylon C upon GenApi shows in some places, mostly where names of functions or other entities start with a GenApi prefix. Wherever this is the case, an element of the underlying GenApi layer is directly exposed to the pylon C user.
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(6) 人氣(4,070)

  • 個人分類:攝影機
▲top
  • 10月 16 週三 201320:11
  • 影像放大 & 縮小 & 適中 & 貼齊視窗功能


整合這篇<利用Qt5寫一個簡單的影像瀏覽器>至另一篇<分別取出RGB像素頻道Extract RGB channels from an image Using OpenCV2.4.6 with Qt5 >
將SplitRGBQt5OpenCV246目錄夾複製一份
(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(607)

  • 個人分類:OpenCV
▲top
  • 10月 16 週三 201315:15
  • 安裝FlyCapture v2.5.3.4 Viewer



Download:   FlyCapture v2.5.3.4 Viewer - Windows



Description:
The FlyCap2 Viewer download is a reduced installer with the minimum files required to be able to stream your camera and save images with our FlyCap2 GUI. For developers who require source code, other examples, libraries, and documentation, please download the complete FlyCapture2 SDK below. [read release notes]
FlyCapture 2.5.3.4 Viewer - Windows (64-bit Download) (exe) 25.39 MB
FlyCapture v2.5.3.4 Viewer - Windows (32-bit Download) (exe) 24.75 MB





Date:  2013/08/14

(繼續閱讀...)
文章標籤

me1237guy 發表在 痞客邦 留言(0) 人氣(1,565)

  • 個人分類:攝影機
▲top
«1...78798089»

個人資訊

me1237guy
暱稱:
me1237guy
分類:
數位生活
好友:
累積中
地區:

熱門文章

  • (23,900)Adding Something to DataGridView
  • (14,210)網路上提供測試 RTSP 的伺服器
  • (8,485)分水嶺影像分割Marker-based Image Segmentation Algorithm Using OpenCV2.4.7 with Visual Studio 2010
  • (7,370)建立和使用 C# 的 DLL
  • (6,044)Basler 3.2 Pylon C API 筆記2
  • (4,453)安裝PLC學習軟體 FX-TRN-BEG-T
  • (4,008)Pylon Live View C# Sample Code Review
  • (3,663)安裝Open eVision 1.2.5.8549
  • (2,910)C# 在憑證存放區中找不到資訊清單簽署憑證
  • (449)Install e2v Line Scan CCD with Camera Link

文章分類

  • wordpress (2)
  • 雲端計算 (1)
  • 邊緣運算 (5)
  • MPI (2)
  • Git & Github (6)
  • Unity (2)
  • Android Studio (10)
  • Deep Leraning (35)
  • LaTex (2)
  • Linux (6)
  • jetson nano (3)
  • Qt (20)
  • Docker (4)
  • Office (1)
  • OpenTK (1)
  • WPF (8)
  • SQL (4)
  • Revit (6)
  • MATLAB (13)
  • R Language (8)
  • Design Pattern & Implementation by Using C# (48)
  • RaspberryPI (5)
  • Python (77)
  • 其他語言 (40)
  • 攝影機 (45)
  • 工業應用 (50)
  • 家庭 (12)
  • Mobile (31)
  • 工作日誌 (3)
  • Linux (5)
  • C/C++ (15)
  • AOI (41)
  • Emgu CV (42)
  • C# (148)
  • Visual Studio (48)
  • OpenCV (118)
  • 未分類文章 (1)

最新文章

  • C# Grabber Service
  • 格式化隨身碟
  • git開分支測試完成後整併回原本的分支
  • Gemini API Key 低成本 Nano Banana Pro作圖
  • DMK 37AUX226
  • wafer基礎術語
  • 將資料夾中多個mp4影片合併成一個mp4檔案
  • 如何用沙子制造芯片:从冶炼硅锭到晶圆打磨|芯片工艺合集
  • yolov9安裝
  • ActionEngine, ActionTask and ActionWorker

最新留言

  • [21/09/21] 訪客 於文章「EmguCV - C# / Conver...」留言:
    Good ...
  • [21/09/18] me1237guy 於文章「A Simple C# window f...」發表了一則私密留言
  • [21/04/20] zpspu 於文章「請勿嘗試在 DllMain 或影像初始設...」留言:
    感謝分享...
  • [20/07/27] zimark 於文章「Face / Object Detect...」留言:
    您好 我在setup_fdt的步驟下會出現以下錯誤回報 想...
  • [20/07/03] 鴨 於文章「在Azure上通过asp.net使用Em...」留言:
    請問如何在asp.net上做emgucv的環境設置?...
  • [20/06/10] 昌 於文章「C# 模擬滑鼠事件...」留言:
    版主您好! 最近在練習C#的滑鼠模擬控制 我參考您的程式...
  • [20/04/16] 樹懶 於文章「Orientalmotor 東方馬達 M...」留言:
    請問您上述這樣操作,為什麼需要先對寄存器位址0401h寫入資...
  • [20/03/16] 馬崇文 於文章「Orientalmotor 東方馬達 M...」留言:
    有聯絡之訊嗎line 可以給我嗎? 謝謝 ...
  • [20/03/12] HI 於文章「Line Scan CCD Setup ...」留言:
    你好我也正在使用這個軟體 請問這個軟體能擷取影像嗎? ...
  • [19/12/30] 馬崇文 於文章「Orientalmotor 東方馬達 M...」留言:
    Modbus Test這軟體在哪裡下載...

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: