Ask Your Question

Revision history [back]

make two images only different from the brightness become the same

I have made a program about the instrument detection. And I take out two images about the instrument pointer. I use perspective transformation to correct one of the images. Finally, I achieve two images different from the location of the pointer. I only need to compare the location of the pointer. So I use the OpenCV function absdiff to subtract them. But the result includes other information. I find two images have been different from the brightness. I need a good method to solve the problem so that the two images have the same brightness and are different from the pointer location. Thanks!

First, images1 isimage description and image2image description Then, the perspective image isimage description Finally, gray the first image and subtract it with the perspective image. Achieve the imageimage description The last image includes other information. I only want the two pointers. I find that the difference brightness between image1 and image2 causes the rusult. How to solve this matter? thanks!

make How to compare two images which have only different from the brightness become the samedifferent?

I have made a program about the instrument detection. And I take out two images about the instrument pointer. I use perspective transformation to correct one of the images. Finally, I achieve two images different from the location of the pointer. I only need to compare the location of the pointer. So I use the OpenCV function absdiff to subtract them. But the result includes other information. I find two images have been different from the brightness. I need a good method to solve the problem so that the two images have the same brightness and are different from the pointer location. Thanks!location. Thanks! image description image description image description image description

First, images1 isimage description image1 and image2image description Then, image2 is the perspective image isimage description Finally, gray source image, image3 is the first image warppespective image. Gray the image1 and subtract it with the perspective image. image3. Achieve the imageimage description The last image imag4. image4 includes other information. I only want the two pointers. I find that the difference brightness between image1 and image2 causes the rusult. How to solve this matter? thanks! Thanks!

How to compare two images which have only brightness different?

I have made a program about the instrument detection. And I take out two images about the instrument pointer. I use perspective transformation to correct one of the images. Finally, I achieve two images different from the location of the pointer. I only need to compare the location of the pointer. So I use the OpenCV function absdiff to subtract them. But the result includes other information. I find two images have been different from the brightness. I need a good method to solve the problem so that the two images have the same brightness and are different from the pointer location. Thanks! image description image description image description image description

image1 and image2 is the source image, image3 is the warppespective image. Gray the image1 image2 and subtract it with image3. Achieve the imag4. image4 includes other information. I only want the two pointers. I find that the difference brightness between image1 and image2 causes the rusult. How to solve this matter? Thanks!