[Scilab-users] How to count pixels

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Jun 3 12:26:45 CEST 2019


Le 03/06/2019 à 12:07, Jean-Philippe Grivet a écrit :
> 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 ?

Do you just need to compute the enclosed area ? Do you have a 
discretization of the border (successive segments) ?

S.

>
> 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://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.avast.com/antivirus 
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users 
>


-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the users mailing list