block the images and then do bilateral subtraction between both images
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Filza Ashraf
el 15 de Feb. de 2014
Comentada: Filza Ashraf
el 24 de Feb. de 2014
1) i need to divide both images into equal number of blocks like each block should be of 64*64 and each image is divided into 16 blocks
2) then bilateral subtaction between both images is taken (like first block of both images are subtracted and the average value of all pixel in each block is calculated
3)then need to compare this average value with the threshold value (if the value crosses the threshold limit then consider that a doubtful case and show those blocks
that's basically my project on MRI and comparison is done between MRI of normal image and patient image so i am sending reference images. i need to find out the change between both scenes so i can apply on my images
need to find the blocks having differences in reference image as the other image is kept as standard
2 comentarios
John D'Errico
el 15 de Feb. de 2014
This is not a question. It is a statement of your project. Are you hoping someone will do your work for you? Surely you have an idea of how to do at least part of that. If you don't have any idea at all, then you are way out of your depth. Maybe you should be taking an easier course?
START WRITING. When you run into a problem, then ask a specific question to resolve your problem.
Respuesta aceptada
Más respuestas (2)
Image Analyst
el 15 de Feb. de 2014
Hopefully this is just a homework problem or, at most, an undergraduate project because what you've stated is nowhere close to what would be required for a graduate level thesis or dissertation. Two lines of code won't cut it for a Ph.D. or even a masters.
differenceImage = double(image1) - double(image2);
binaryImage = abs(differenceImage) > thresholdValue;
I didn't divide it up into blocks because there is no benefit to doing that. You can do it on a pixel by pixel basis and then threshold at a different level than you'd do with the block method, and then look for blobs bigger than a certain size to identify regions with substantial differences.
To do more than 1 image, see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 comentarios
Ver también
Categorías
Más información sobre 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!