im trying to calibrate this image. as you can see there are two different regions in the image. camera has two amplifiers and seems they have different gains maybe. I am not sure how I can calibrate the camera to get rid of the line in the middle of image

 채택된 답변

Image Analyst
Image Analyst 2018년 3월 13일

1 개 추천

You need to deal with the original grayscale/indexed image obviously. Then you Need to find the dividing line, probably by using sum(img,2) or mean(img,2) and looking for jumps around the middle of the image. Or just use the halfway point if you know for a fact that it's in the middle. Then look at values on either side of the line. Plot column1 values vs. column2 values using plot() or scatter(). Look at the plot and see if you can make up a lookup table, or a regression with polyfit(), to map one side into the other. Then apply that transformation to one half of the image.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

질문:

2018년 3월 13일

답변:

2018년 3월 13일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by