07-05-2017 03:29 AM
dear forum,
An image is loaded ( see attached testimg) and converted to an array. In this image (array), some pixels have a gray value greater than 1. These pixels are to be found and their position (x/y) should be stored in a text file (or csv...). Is there an example for this application or has someone a snippet for me?
Thanks
Solved! Go to Solution.
07-10-2017 04:06 AM
Dear Hallmann,
as you already found the image to array function, you can just use the compare function to iterate through your 2D array. Together with the conditional output of a for loop you can write the corresponding addresses into a 1D array. For data logging, just have a look into the File I/O Palette.
cheers
07-13-2017 01:28 AM
Dear Fabian,
thank you for your replay. You right, you suggestion is an sulotion.I have also found a solution.see attachement