이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
I Need to align these two fiducial marks?i am new to image processing and i dont have any idea about how to do it.so can any one help me with the code
조회 수: 4 (최근 30일)
이전 댓글 표시
vicky v
2019년 3월 21일
댓글 수: 7
vicky v
2019년 3월 22일
Sorry,I dont have seperate images.This is the aligned image,it might be of some help..
Image Analyst
2019년 3월 24일
My algorithm below works on only a frame at a time but it might be fast enough to appear "real time". Did you even attempt it?
Matt J
2019년 3월 24일
@vicky, if the image you have posted is just an example, then please post more example images so we get a more complete sense of the problem.
답변 (2개)
Image Analyst
2019년 3월 24일
- Threshold,
- use bwareafilt to extract largest blob (the L-shaped blob).
- Use regionprops() to compute centroid.
- Compute deltax and deltay from reference image.
vicky v
2019년 3월 25일
편집: vicky v
2019년 3월 25일
@Image analyst,this image is after using otsu threshold method.
when i use bwareafilt the whole image goes black??
i need to find the centroid of both the marks?
댓글 수: 14
Image Analyst
2019년 3월 25일
Again, you need a reference (fixed) image, and a moving image -- TWO images, not a single image. Then you can try imregister() or friends.
vicky v
2019년 3월 25일
So you are saying i need a database of reference images?
Other problem is the marks are dynamic.It can be square,circular or the above L shaped marks.
can you suggest an generalized algorithm,so that it could work for any of the marks used.
i thought of using pattern matching.
Image Analyst
2019년 3월 25일
Some of the registration functions they have are more robust as to how much of the images need to overlap and how much can be different/missing/occluded.
Image Analyst
2019년 4월 10일
I have no idea what the backside is. Please attach the images containing ONLY the light L+ and the image containing ONLY the dark L+. We don't want one where the light L+ is superimposed over the dark L+ image.
Image Analyst
2019년 4월 10일
Well how can we align (translate) a light L+ image to match the L+ position in a dark L+ image if you don't have each image separately?
Please supply a mock up of what image you'd like to end up with.
Image Analyst
2019년 4월 10일
Uh, okay, but what two images do you want to superimpose to create that? Where are your two input images -- the fixed one, and the "moving" one which is the one that will be translated to overlap your "fixed" one?
Image Analyst
2019년 4월 15일
SO, since you didn't provide the two images, I brought the single image into Photoshop to create the two images.
So is the movable one this:
and the fixed one this:
????
Would those be your two images? If so, can you post the actual two images so we're working off yours and not the Photoshop created versions?
What I'd probably do is to find the centroids of the two shapes and find the average delta x and delta y from the fixed image, and then use imtranslate to shift the moving one so the shapes are in the same location as the fixed image.
vicky v
2019년 4월 16일
Yes sir these are the two input images, I have asked them for seperate images but they said they don't have it..
I need work on this only.
Can't we use this sir.
vicky v
2019년 4월 19일
sir i have completed the motor control part,only this alignment part is not completed.
How to use this to regenerate the occluded image??
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)