How can I find the overlap between two binary volumes?
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
I'm trying to compare two volumes consisting of 3D white shapes on a black background using matlab 2013 for windows.
1) I want to know how much they overlap over all. Correct me if I'm wrong but I think I can use the nnz function to do that.
2) I want to know where the volumes do not overlap. I have no clue how to accomplish this.
Any help is appreciated.
0 Commenti
Risposta accettata
  Image Analyst
      
      
 il 19 Lug 2013
        Define "find the overlap". To get the overlap image:
overlapImage = binaryVolume1 & binaryVolume2;
% To count number of pixels
numOverlapPixels = nnz(overlapImage);
4 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Basic Display in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!