필터 지우기
필터 지우기

Superimpose two images - one on top of the other

조회 수: 4 (최근 30일)
praveen rai
praveen rai 2017년 11월 17일
댓글: praveen rai 2017년 11월 22일
I have uploaded two images "Picture 15.jpg" and "Calibration.jpg".
Picture 15.jpg is below:
Calibration.jpg is below:
I want to superimpose the 1st image (picture15) onto the 2nd image (calibration.jpg).
My aim is to show the laser line deviation of the laser line on that 2nd image, i.e, on calibration.jpg.
With my 1st image, picture15.jpg, I want this image's background be totally black except the laser line part, and then superimpose this onto the calibration image.
I am not able to do these things. Can anyone provide me the code or any reference link?
Thank you
  댓글 수: 3
praveen rai
praveen rai 2017년 11월 17일
wat do you think can anyone provide me the solution here or should i write this problem on another platform if you know some other platform can you suggest me
Rik
Rik 2017년 11월 17일
I would say it should be relatively easy to select only the laser, as the color is quite distinct from the rest of the image. If you insist you can use the binary mask either as AlphaData to superimpose the two images, or use it to overwrite pixels.

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

채택된 답변

Image Analyst
Image Analyst 2017년 11월 18일
See attached m-file.
  댓글 수: 17
Image Analyst
Image Analyst 2017년 11월 22일
They are not the same size, so how do you expect it to work? Why even superimpose in that case???? Think this through.
praveen rai
praveen rai 2017년 11월 22일
it means first I have to make the dimension of both the image same.am I right?/

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by