Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to read an PNG file using c

how to read an PNG file using c

Scheduled Pinned Locked Moved C / C++ / MFC
helpgraphicstutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    googlejumbo
    wrote on last edited by
    #1

    SIR, Can u suggest an c coding for the below objective ... please help me out of this problem ..i will forward all the relevant data about the project.. Image processing 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.

    P 1 Reply Last reply
    0
    • G googlejumbo

      SIR, Can u suggest an c coding for the below objective ... please help me out of this problem ..i will forward all the relevant data about the project.. Image processing 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.

      P Offline
      P Offline
      Paresh Chitte
      wrote on last edited by
      #2

      Will this[^] helpful ? Regards, Paresh.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups