Video Processing: From Offline to Online

I’ve chance to use LabVIEW for image and video processing, while having fear in converting from the software I used to, I found a lot of fun and excitement playing around with the LabVIEW Vision Development Module and Vision Assistant.
Here how it goes:
1. Using LabVIEW Vision for offline Image Processing




2. Having a little bit modification, it could be turned to real-time using webcam.



Required Components: LabVIEW, Vision Module, USB WebCam

Contents by Categories

Most of the examples in this blog using Matlab as the programming tool for this moment, however, other software examples will be uploaded in the future.

The following list is the full content by categories, and it will be updated everytime a new post is posted. The full content sorted by date could be found by clicking on the link at the side panel of this page or at the bottom of every page.

p/s : Matlab is the registered trademark of The Mathworks Inc. The link to the page could be found at the side panel as well.


LabVIEW Examples:-


  • Video Processing: From Offline to Online


  • Downloads:-


  • Download Examples by Author



  • General:-


  • Maple for Image Processing (II)

  • Maple for Image Processing?

  • Which Software to Use?

  • What is Image Compression?

  • Adding Object on Images:-


  • Fill The Area Between 2 Lines

  • Converting Pixels to Line

  • Drawing Circles Around Round Object

  • Drawing Transparent Object

  • Drawing Shapes by Overwriting Pixel Value


  • Object Detection:-


  • Measuring Object Length (with a Reference Object)

  • Hough Transform For Hyperbola Detection - with known eccentricity

  • Hough Transform For Circle Detection - with unknown radius (II)

  • Detecting Objects' Motion in 2 Subsequence Images

  • Hough Transform For Circle Detection - with unknown radius (I)

  • Hough Transform For Circle Detection - with known radius (II)

  • Hough Transform For Circle Detection - with known radius (I)

  • Simple Code for Hough Transform

  • Signature of Binary Objects

  • Object Detection using Hough Transform (II)

  • Object Detection using Hough Transform (I)

  • Detecting Objects' Shape(III) : Triangle Object

  • Detecting Objects' Shape(II) : Square Object

  • Detecting Objects' Shape(I) : Round Object

  • Detecting Object in an Image


  • Character Recognition:-


  • Character Recognition Example: An Explanation On the Simple Concept Used in This Demo

  • Character Recognition Example (III):Training a Simple NN for classification

  • Character Recognition Example (II):Automating Image Pre-processing

  • Character Recognition Example (I): Image Pre-processing


  • Other Examples:-


  • Playing with “Edge Detection”

  • Panoramic Picture Creation


  • Useful Resources:-


  • Useful software could be found from the link at the sidebar

  • Useful keyword to seacrh for this blogs: image processing, image analysis, edge detection, matlab, maple, mathematica, mathcad


  • Code Udpates/Error Corrections:-


  • Do notes that for all the Circle Det

  • Download Examples by Author

    For those who are not aware, most of the examples descript here had been post in MATLAB Central:

    1. Speech Analysis using LPC

    2. Character Recognition Example (III):Training a Simple NN for classification

    3. Simple DIP demos

    4. Video Surveillance Using MATLAB and Image Acquisition Toolbox

    5. Icon Menu

    6. Character Recognition Example (I&II): Pre-processing of Image

    7. Simple Shape Detection using Hough Transform

    8. DTMF generator using TI C6711 DSK

    9. Using RTW and Compiler

    10. Hough Transform for Circle Detection (GUI)

    11. Drawing Transparent Object on Image

    Maple for Image Processing (II)

    More Functions for Image Processing in Symbolic Tools

    Found more image processing functions in Maple 11, however, doesn't have much time to explore much.

    http://www.maplesoft.com/applications/app_center_view.aspx?AID=2059&CID=10&SCID=149

    Well, since this is the first article after one year, at least it is a new start. :)

    Measuring Object Length (with a Reference Object)

    It has been a long long time I've not update this blog due to my new notebook modem spoiled just after I bought it! The support staff came 3 times and now I am waiting for a replacement model...

    Further more, life become more and more busy, and sometimes I really out of idea what to post here. :P

    Until I receive some e-mail from some reader...

    This is rather a simple example to measure a length of an object in an image. We could easily get the reading in pixels, and with a reference, we could just use a simple mathematic to compute the lenght in some standard unit.

    Let's see this simple example:

    1. Reading image and show the true color image.
    clear all;clc;
    I = imread('pic29.tif');
    imshow (I);



    2. Assuming that we know the length of the red object (as reference) which is 5 cm, locate the red object with simple command and find the length in pixels:


    Ired_labeled = bwlabel(Ired);
    Ired_props = regionprops(Ired_labeled);
    Ired_length_in_pixel = Ired_props.BoundingBox(3);
    disp(Ired_length_in_pixel);

    212

    3. To measure the length of the green object, extract the object:

    Igreen_labeled = bwlabel(Igreen);
    Igreen_props = regionprops(Igreen_labeled);
    Igreen_length_in_pixel = Igreen_props.BoundingBox(3);
    disp(Igreen_length_in_pixel);

    146


    4. Calculate the length of green object in cm

    Igreen_length_in_cm = Igreen_length_in_pixel/Ired_length_in_pixel*5;
    disp(Igreen_length_in_cm);

    3.4434