Krutarthbhatt
Member level 1
- Joined
- Mar 22, 2004
- Messages
- 40
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,288
- Location
- Gujarat, India
- Activity points
- 376
Use "Threshold" operation for converting grey scale images to binary. i.e your code will be like thiszkai2000 said:excuse me,do u know the way to change a scanned image into a binary image using Visual C++? i need help in my fingerprint recognition system project. thanks!
for(int y = 0; y< y_max; y++)
{
for(int x = 0; x< x_max; x++)
{
if(input_image[x][y] >= Threshold)
output_image[x][y] = 255;
else
output_image[x][y] = 0;
}
}
void Threshold (int **in_image, int x_max, int y_max, int threshold)
{
for(int x=0; x<x_max; x++)
{
for(int y=0; y<y_max; y++)
{
if (in_image[x][y] >= threshold)
in_image[x][y] = 255;
else
in_image[x][y] = 0;
}
}
}
ramesh said:Hi
Visit this site for "Advanced Image Processing" lecture notes on
DCT and WAVELET Image compression
JPEG 2000 COMPRESSION
IMAGE INTERPOLATION
FINGERPRINT MATCHING
FACE DETECTION/RECOGNITION
h**p://www.csee.wvu.edu/%7Exinl/courses/ee591b/index.html
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?