필터 지우기
필터 지우기

I need help with this image processing problem?

조회 수: 1 (최근 30일)
payman khayree
payman khayree 2015년 5월 7일
댓글: payman khayree 2015년 5월 12일
I have been working with a series of images taken by an invasive recording technique. One of problems with these frames is that the lines (rows) in the image are misaligned, due to some inevitable artifacts in the recording set up. I wrote a function that fixes the misalignments by maximizing the correlation between the adjacent lines. The function works well but there is one problem.It does not work so well on the first and last rows. As you see in the image, the corners contain only zeros ( because I segmented the main bundle from the background )
The function works almost perfect in the middle rows, but in the upper and lower section of the image, it does not work well and even sometimes the alignment gets worse.
so here are my questions:
1) what is the reason? is it because of those areas of zeros that affect the correlation?
2) how can I get over this problem?
thank you all

채택된 답변

Image Analyst
Image Analyst 2015년 5월 7일
Maybe try imregister() instead of normxcorr2(). I think it should work on "images" that are a single line.
  댓글 수: 5
Image Analyst
Image Analyst 2015년 5월 11일
Why is one line shorter? Why not just take the whole lines and put them both into imregister() or normxcorr2()?
payman khayree
payman khayree 2015년 5월 12일
I used normxcorr2 and result got a little bit better. It is also faster now. thanks a lot for your helps and suggestions.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by