Show all scripts

Extract Pixel Coordinates

Category: Image Processing
Description: This script (function) extracts the coordinates of non-zero valued pixels in an image. It works for 1D, 2D and 3D data and is - up to my knowledge - the fastest computing solution in pure script language.
Comments: I would be very interested if you can come up with a faster solution. If so, please email me!
Script version: 2014-03-11
DM/GMS version: GMS 2.3.0
Script written as a function: No
Source: Show code
Download Source Code: Download