how to read an PNG file using c and Process it
-
sir, please help me out of the problem ... suggesst me the coding to read png image Attached is the image on which the processing is to be performed Take this image. It is in .png format. It has 52 characters written in it.(26 samll a b c d ………z) and 26 capital letters (A B C ………Z) From this big image we have to segment the image into 52 small images each representing a single character. Now we have 52 small images. Each of them represents a character. After this on every image gabor filter is to be applied. Gabor filter is an orientation selective filter. It has some parameters by changing them we can have a set of gabor filters with different parameters. On each character image 16 gabor filters are to be applied. This way we will have 16 output images for each image. For all the sixteen images centroid of each image is to be found out. This will have x, y coordinates . find the normalized area of each image. Now every character has 48 components to define it (16 filter images giving 2 coordinates each and area of each output image give 16x2 +16). This can be represented in vector form. We now have 52 vectors one vector for each image. To test : given any 48 dimensional vector find the distance of this vector with all 52 vectors. The vector for which difference between given vector and our set of 542 vectors is least wiil be the answer. This means the given vector represents the character “ a” if suppose the difference between given vector and vector for character “a” is found to be the least.
-
sir, please help me out of the problem ... suggesst me the coding to read png image Attached is the image on which the processing is to be performed Take this image. It is in .png format. It has 52 characters written in it.(26 samll a b c d ………z) and 26 capital letters (A B C ………Z) From this big image we have to segment the image into 52 small images each representing a single character. Now we have 52 small images. Each of them represents a character. After this on every image gabor filter is to be applied. Gabor filter is an orientation selective filter. It has some parameters by changing them we can have a set of gabor filters with different parameters. On each character image 16 gabor filters are to be applied. This way we will have 16 output images for each image. For all the sixteen images centroid of each image is to be found out. This will have x, y coordinates . find the normalized area of each image. Now every character has 48 components to define it (16 filter images giving 2 coordinates each and area of each output image give 16x2 +16). This can be represented in vector form. We now have 52 vectors one vector for each image. To test : given any 48 dimensional vector find the distance of this vector with all 52 vectors. The vector for which difference between given vector and our set of 542 vectors is least wiil be the answer. This means the given vector represents the character “ a” if suppose the difference between given vector and vector for character “a” is found to be the least.
If you're using C, you're in the wrong forum. There is no such thing as C for .NET, because C is not OO.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )