Langsung ke konten utama

CV :: Simple Color Tracking Menggunakan Webcam Dengan Library AForge.NET

Komentar

Postingan populer dari blog ini

CV :: Color Detection & Object Tracking

Color Detection & Object Tracking Object detection and  segmentation  is the most important and challenging fundamental task of computer vision .   It is a critical part in many applications such as image search, scene understanding, etc. However it is still an open problem due to the variety and complexity of object classes and backgrounds. The easiest way to detect and segment an object from an image is the color based methods . The object and the background should have a significant color difference in order to  successfully    segment objects  using color based methods . Simple Example of Detecting a Red Object In this example, I am going to process a video with a red color object and create a binary video by thresholding the red color. (Red color area of the video is  assigned  to '1' and other area is assigned to '0' in the binary image so that you will see a white patch wherever the red object is i...

CV :: Histogram Equalization of Grayscale or Color Image

Histogram Histogram is the intensity distribution of an image. E.G - Consider the following image. Say, depth of the image is 2 bits. Therefore the value range for each and every pixel is from 0 to 3. Sample Image (Depth = 2 bits) Histogram of the a image shows how the pixel values are distributed. As you can see in the above image there are 5 pixels with value 0, 7 pixels with value 1, 9 pixels with value 2 and 4 pixels with value 3. These information is tabulated as follows. Intensity Distribution of above image Histogram of a image usually presented as a graph. The following graph represents the histogram of the above image. Image Histogram Histogram Equalization Histogram Equalization is defined as equalizing the intensity distribution of an image or flattening the intensity distribution curve. Histogram equalization is used to improve the contrast of an image. The equalized histogram of the above image should be ideally like the following graph....