Hi,
i am searching for the functionality to store an image (for example a *.jpg
image) in an array so I can analyse an explicit part of the image.
I did this once in java where I used an int[][][] to get to the position of an
pixel and then get his color vec.
But there I used and extra class
Hi Andreas,
There isn't an OSG function to convert an osg::Image into array, there
are however, various ways to access the data, and if you wanted to
write your own conversion tool you could. Have a look at the template
helpers in include/osg/ImageUtils.
Robert.
On 13 May 2015 at 13:50,
2 matches
Mail list logo