finding black pixel position
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    mohd
 am 11 Apr. 2012
  
    
    
    
    
    Kommentiert: niranjan prasad
 am 1 Jul. 2018
            I need to scan black pixel row by row on image and store (or mark) only the position of first black pixel. after store the coordinate of first black pixel, do again in another row. this process is looping but i don't know how to do this. can anyone can help me...
0 Kommentare
Akzeptierte Antwort
  Andrei Bobrov
      
      
 am 11 Apr. 2012
        [ii,jj] = find(all(I==0,3))
[~,k] = unique(ii,'first')
ij = [ii(k) jj(k)]
2 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!