Superimpose two images - one on top of the other
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
praveen rai
el 17 de Nov. de 2017
Comentada: praveen rai
el 22 de Nov. de 2017
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 comentarios
Rik
el 17 de Nov. de 2017
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.
Respuesta aceptada
Image Analyst
el 18 de Nov. de 2017
See attached m-file.
17 comentarios
Image Analyst
el 22 de Nov. de 2017
They are not the same size, so how do you expect it to work? Why even superimpose in that case???? Think this through.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!