Thread: can somebody help me?

  1. #1
    Registered User
    Join Date
    Oct 2003

    can somebody help me?

    hi everyone...i'm a new user here and i am working on a fingerprint verification using C++ Builder.
    i have problem in setting pixel value for my fingerprint image according to color. For example i want to set the black pixel as binary 1 and white as 0 since the image is black and white.
    Can anybody help me?Thanks..

  2. #2
    Hardware Engineer
    Join Date
    Sep 2001

    Question What?

    Do you want to create your own bitmap format? I don't think that full-black-or-full-white is standard. There is a standard with 256 shades of gray... You could just use the standard (256 shades of gray) format and force all of your values to either 0 or 255, and skip the binary approach.

    If all you want to do is display high-contrast black or white pixel: Turning the 3 colors (red, blue, and green) to their maximum will give you a white pixel, turning them all off will make a black pixel.

    Here's a link to a site with the standard Windows bitmap formats.
    Last edited by DougDbug; 10-31-2003 at 02:50 PM.

Popular pages Recent additions subscribe to a feed