Getting imcontour matrix without the plotting
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Is there a way to silently get the imcontour matrix C without having the contour plot?
[C,h]=imcontour(frame, 3);
I've tried using contourc, but I think I have to manipulate the image matrix to input into this function? I'm not sure how to though.
Any help would be appreciated!
0 commentaires
Réponses (2)
  Nicolaie Popescu-Bodorin
 le 2 Avr 2017
        
      Modifié(e) : Walter Roberson
      
      
 le 2 Avr 2017
  
      C = imcontour(IM, oneLevel); % will open a figure, whereas
C = contourc(double(IM), [oneLevel oneLevel]); % will be silent and faster%
Kind regards,
Nicolaie Popescu-Bodorin
www.lmrec.org/bodorin/
0 commentaires
  Walter Roberson
      
      
 le 16 Fév 2011
        
      Modifié(e) : Walter Roberson
      
      
 le 2 Avr 2017
  
      imcontour just parses its arguments and calls contour(). For the arguments you provide, calling contourc with the same arguments would create the contours you want without plotting them.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


