Le 05/06/2019 à 11:20, Jean-Philippe Grivet a écrit :
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.

Ok. So it is completely size/scale dependent and has to be done on the bitmap image. Besides exporting the figure then reloading with imread (present e.g. in IPCV Atoms module) I don't see other solutions.

S.

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@lists.scilab.org
https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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/antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.avast.com/antivirus

_______________________________________________
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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@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

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to