Re: [Scilab-users] {EXT} How to count pixels
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/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
Re: [Scilab-users] {EXT} How to count pixels
My thanks to all respondants. The figure is in internal Scilab firmat made up of polylines., the border is a polygon. 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 http://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 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] {EXT} How to count pixels
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 http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] How to count pixels
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@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
Re: [Scilab-users] [EXTERNAL] How to count pixels
Hi Maybe using SIP toolbox and "imread" to convert your image into a matrix? Paul -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Jean-Philippe Grivet Envoyé : lundi 3 juin 2019 12:08 À : users@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=DwIGaQ=0hKVUfnuoBozYN8UvxPA-w=2R_Eyw3woK4XVPnEug_8oZFQfCE8Ul6UYufxQizYx6k=fnhdow1R1g4ghBZVYqlZ-oWAMu6-rfvUuVAPggoe2K4=P96Vk81d-MbQNmiUYSYQz7XQrrkHJlFei0XhAvzFQA8= ___ users mailing list users@lists.scilab.org https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.scilab.org_mailman_listinfo_users=DwIGaQ=0hKVUfnuoBozYN8UvxPA-w=2R_Eyw3woK4XVPnEug_8oZFQfCE8Ul6UYufxQizYx6k=fnhdow1R1g4ghBZVYqlZ-oWAMu6-rfvUuVAPggoe2K4=YltZFEFwlhpEXGIsF8--PjOTA3vikgSNudE5IKAlTh8= ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[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://www.avast.com/antivirus ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users