[Scilab-users] {EXT} How to count pixels

Jean-Philippe Grivet jean-philippe.grivet at wanadoo.fr
Wed Jun 5 11:20:24 CEST 2019


Hello,

I am mainly interested in obtaining the ratio (number of white 
pixels)/(number of black pixels), so that units are not of primary interest.

Le 03/06/2019 à 15:21, Stéphane Mottelet a écrit :
> Le 03/06/2019 à 14:56, Jean-Philippe Grivet a écrit :
>> My thanks to all respondants.
>>
>> The figure is in internal Scilab firmat made up of polylines., the 
>> border is a polygon.
> you did not say if you want to compute a surface in current units or 
> really compute a surface in pixels
>>
>>
>> Le 03/06/2019 à 12:47, Dang Ngoc Chan, Christophe a écrit :
>>> Hello,
>>>
>>>> De : Jean-Philippe Grivet
>>>> Envoyé : lundi 3 juin 2019 12:08
>>>>
>>>> Using Scilab (6.02/Win7), I have drawn a picure made up of thick 
>>>> lines and
>>>> arcs, within a region with irregular borders.
>>> What is the data structure of your picture?
>>> A matrix of dots?
>>> A Scilab figure containing polylines?
>>>
>>> -- 
>>> Christophe Dang Ngoc Chan
>>> Mechanical calculation engineer
>>>
>>> General
>>> This e-mail may contain confidential and/or privileged information. 
>>> If you are not the intended recipient (or have received this e-mail 
>>> in error), please notify the sender immediately and destroy this 
>>> e-mail. Any unauthorized copying, disclosure or distribution of the 
>>> material in this e-mail is strictly forbidden.
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users 
>>>
>>
>> ---
>> 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 
>>
>
>

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus




More information about the users mailing list