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. Visual Basic
  4. read grayscale image

read grayscale image

Scheduled Pinned Locked Moved Visual Basic
4 Posts 3 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.
  • S Offline
    S Offline
    shefa isied
    wrote on last edited by
    #1

    There is method to read grayscale image as a 2 dimensional matrix in VB?

    D 1 Reply Last reply
    0
    • S shefa isied

      There is method to read grayscale image as a 2 dimensional matrix in VB?

      D Offline
      D Offline
      Deresen
      wrote on last edited by
      #2

      What would you like to do? Convert an image from color to grayscale? Or something else?

      S 1 Reply Last reply
      0
      • D Deresen

        What would you like to do? Convert an image from color to grayscale? Or something else?

        S Offline
        S Offline
        shefa isied
        wrote on last edited by
        #3

        No.I need to read image pixels which range from 0-255 and then encrypt these values using on e of the substitution techniques.

        D 1 Reply Last reply
        0
        • S shefa isied

          No.I need to read image pixels which range from 0-255 and then encrypt these values using on e of the substitution techniques.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Since VB doesn't support pointers, the only method you have is GetPixel. Look into writing the image manipulation code in C#, which does support pointers, and convert the data into a form that VB can use.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          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