change in a image
Mostrar comentarios más antiguos
hello
I want to find the change in a same image after some interval of time.How can i do this in matlab?
Please suggest me the ideas.
4 comentarios
KALYAN ACHARJYA
el 8 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 8 de Jul. de 2019
Please define what does change mean here? Any parameters.
It would be helpful to answer, if yo elaborate more.
To change on image you can do the number of ways-
- Add Noise
- Airthmetic Operations
- Transform
- Pixel value modification......
.........
Shilpi Gupta
el 8 de Jul. de 2019
KALYAN ACHARJYA
el 8 de Jul. de 2019
@Shilpi Which properties? Properties represents broad sense, please name the terms
Walter Roberson
el 8 de Jul. de 2019
The only real properties that images have, for MATLAB purposes, are:
- size
- datatype
- RGB versus pseudocolor
- mapping of data ranges to color (caxis)
- callbacks
Respuestas (1)
Bjorn Gustavsson
el 8 de Jul. de 2019
The only meaningful interpretation I can come up with is that you have two images of the same scene taken from a static camera ("the same image" if only stored on disc will be constant over time or corrupted...). For that I'll assume that you have constant illumination of your scene. Then do something like this:
Im1 = imread('img1.png'); % or whatever filename
Im2 = imread('img2.png'); % or whatever filename
Im1 = double(Im1);
Im2 = double(Im2);
dImg = Im2 -Im1;
dImg = (dImg-min(dImg(:)))/(max(dImg(:))-min(dImg(:)));% Should map difference to between 0-1
imagesc(dImg)
HTH
Categorías
Más información sobre Image Processing and Computer Vision en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!