thank u for posting ur suggestion sir, is there any other way so that i can distinguish each and every pixel apart from intensity of the pixel
chethan karupakala
Posts
-
image to matrix -
image to matrixthank u for the participation in solving the problem sir, to be more specific here matrix means a two dimensional array of interger, here we have to find the intensity of each pixel and store then in the array for example consider an image with resoultion 5x5 if the intesity of 0x0 pixel is 10 and 0x1 pixel is 20 then the matrix will be 10 20 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. and so on and one more thing is, i am not able to find a function in visual c++ 2005 to get the intensity of the pixel, for example C-language provides getpixel function, in vc++ this function is there but it operates only on bitmap files but i need to find intensity of the pixel even to jpg, and other forms of the image file
-
image to matrixto be more specific here matrix means a two dimensional array of interger, here we have to find the intensity of each pixel and store then int he array for example consider an image with resoultion 5x5 if the intesity of 0x0 pixel is 10 and 0x1 pixel is 20 then the matrix will be 10 20 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. and so on
-
image to matrixi am using visual c++ 2005 in my project,i am stuck in one step i.e., converting any image given to matrix, this matrix is very essential for the futher processing my project, can any one please help in telling me how to convert the given image to matrix