load an image to a table

Discussions about machine vision support in GdPicture.
Post Reply
assil
Posts: 1
Joined: Wed Mar 26, 2014 6:07 pm

load an image to a table

Post by assil » Wed Mar 26, 2014 6:12 pm

Hi;

I'm new in using gdpicture and c#. I'm trying to load a binary png image into a table of float (or array), to use it for another function. I dont know if gdpicture can allow that and if that how can i aceess to evry pixel of my image to store it into my table.

Please help.

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: load an image to a table

Post by SamiKharma » Mon Mar 31, 2014 3:23 pm

Hi,

You need to use the method: GetPixelArrayByte: https://www.gdpicture.com/guides/gdpicture/GdP ... yByte.html
in order to get the pixels of the image.

Hope this helps.
Best,
Sami

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest