Results 1 to 2 of 2

Thread: scan an image in a picture box

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2005
    Posts
    22

    scan an image in a picture box

    i am trying to create a simple face recoqnition program.could anyone tell me what the best way to scan a picture box for change in pixel colour from black to white or vica versa.

  2. #2
    Lively Member Tw1sted L0gic's Avatar
    Join Date
    Jan 2005
    Posts
    88

    Re: scan an image in a picture box

    Try a nested loop.

    Check every 10 or 100 or so pixels accross, loop this going down the image, so you scan a matrix.

    I think picture1.point will return the pixel colour.

    Check if it has changed more than a certain amount. checking for any change at all may be over-sensitive, especially if it's something like a webcam.
    Naughty but Nice

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width