現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
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!エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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 (한국어)