[Scilab-users] [EXTERNAL] How to count pixels

Carrico, Paul paul.carrico at auxitrolweston.com
Mon Jun 3 12:21:34 CEST 2019


Hi

Maybe using SIP toolbox and "imread" to convert your image into a matrix?

Paul

-----Message d'origine-----
De : users [mailto:users-bounces at lists.scilab.org] De la part de Jean-Philippe Grivet
Envoyé : lundi 3 juin 2019 12:08
À : users at lists.scilab.org
Objet : [EXTERNAL] [Scilab-users] How to count pixels

Hello everybody,

Using Scilab (6.02/Win7), I have drawn a picure made up of thick lines 
and arcs, within a region with irregular borders. The backround is 
white, all lines are black. Now I would like to count the number of 
black and white pixels. Any idea on how I could do that ?

Thank you for your help

JP Grivet



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_antivirus&d=DwIGaQ&c=0hKVUfnuoBozYN8UvxPA-w&r=2R_Eyw3woK4XVPnEug_8oZFQfCE8Ul6UYufxQizYx6k&m=fnhdow1R1g4ghBZVYqlZ-oWAMu6-rfvUuVAPggoe2K4&s=P96Vk81d-MbQNmiUYSYQz7XQrrkHJlFei0XhAvzFQA8&e= 

_______________________________________________
users mailing list
users at lists.scilab.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scilab.org_mailman_listinfo_users&d=DwIGaQ&c=0hKVUfnuoBozYN8UvxPA-w&r=2R_Eyw3woK4XVPnEug_8oZFQfCE8Ul6UYufxQizYx6k&m=fnhdow1R1g4ghBZVYqlZ-oWAMu6-rfvUuVAPggoe2K4&s=YltZFEFwlhpEXGIsF8--PjOTA3vikgSNudE5IKAlTh8&e= 


More information about the users mailing list