Rick Sanchez from Rick and Morty
How can I get an array of coordinates of the edge of Rick in order from left to right? I want to make my delta robot draw images.
Additionally, I know that it is possible for Wolfram Alpha to generate a fairly long parametric equation if you ask it to for example "Draw Dratini", is there any way to get an array of coordinates from this?
Thanks!


Position[ImageData[...]]returns indices, not coordinates. (The distinction is a bit confusing in MMA image processing, see for example: http://mathematica.stackexchange.com/a/104047/242). UsePixelValuePositions[edge, 1]to get the coordinates. Rule of thumb: If you want to manipulate the raw array returned byImageData, use indices. If you want to draw something over the image using e.g.Show, use coordinates – Niki Estner Jan 25 '16 at 07:58