Monday, August 31, 2009

Images grab

HOW to read the image pixels on the picture grab
by Khairuddin Abdul Rahman 31.8.2009 03:33pm

we used USB webcam for capture the images (example images from capture see figure 1). Images capture will be displayed on the screen computer used visual basic programming languages for analysis this images. An image, it is generally sampled into a rectangular array of pixels. Each pixel has an (x,y) coordinate that corresponds to its location within the images (figure 1). The x coordinate is the pixel’s horizontal location; the y coordinates its vertical location. Easy to say, it is size of image; height is horizontal; width is vertical. It’s called images size. On this program we fix that images size to 300 (height) x 363 (weight) pixels (see figure 1).

Now, from pixels size of image be defined as a two-dimension function, f(x,y), where x and y are spatial (plane) coordinate, the amplitude of f at any pair of coordinates (x,y) is called the intensity or gray level of the images of the point  [1]. From a density value in the gray-level images will be calculated by linear combination of an RGB vector of the color image [2], [3], [4], is show on figure 2.


From this linear combination of an RGB vector (figure 2), the problem to defined of the green grass now can be dealt with on this read. We be formulated as an ill-posed problem which searches for an RGB vector from a density value as a solution.

No comments:

Post a Comment