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.

Advanced images analysis for spraying system project.

Introduction
This paper discuss about development of Spraying System at ITMA (SFTL), UPM (see Figure A1). This system used two units digital camera. This camera control the areas for spraying system. The camera will be capture the images and display on the screen computer. By the user clicked on the screen computer, the signal computer will be created. This signal from computer be transfer to the PC Parallel Port for send the volt for on the pump and on the nozzle. Then the system will be automatically spraying the grass. This project used ATV (All Terrain Vehicle), with computer system and PC parallel port controller, poison tank and pump, two units webcam and 6 spraying nozzle, show on figure A2.