필터 지우기
필터 지우기

How can I correct the misplaced lines of this image?

조회 수: 3 (최근 30일)
payman khayree
payman khayree 2015년 1월 28일
댓글: payman khayree 2015년 1월 29일
Dear Matlab friends
I am working with some images taken from the brainstem of mice. As you can see below, the lines(rows) of the images have been misplaced (due to a technical problem in the recording set up). I mean the lines need to be shifted to right or left a bit to match each other. You can see it by focusing on the edges of the circle. I need to correct this to get the exact shape of those bright spots and get the highest possible correlation of the pixels. but I do not know how to do it.
which programming steps should I take? Are there any known methods for a problem like this?
please guide me
thank you all
payman

채택된 답변

Image Analyst
Image Analyst 2015년 1월 28일
I would talk with the camera manufacturer to find out how to solve the technical problem with the recording. It's probably much easier and better to avoid the problem in the first place than to try and fix it.
  댓글 수: 3
Image Analyst
Image Analyst 2015년 1월 29일
It looks like the line-to-line noise is just in the outer area. You can mask that out because it's going to be in the same place every time. For the stuff in the center, it looks pretty good to me - I don't see line shifting. If you want you can go down line by line correlating each line to the one above and below it and find the average of the two shifts, then shift the line by that amount, say with circshift.
payman khayree
payman khayree 2015년 1월 29일
thanks. I think ill do the line by line correlation.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by