title: Sobel Edge Detection in Android
body: <p>As part of an application that I'm developing for Android I'd like to show the user an edge-detected version of an image they have taken (something similar to the example below).</p>
  
  <p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Valve_sobel_%283%29.PNG/300px-Valve_sobel_%283%29.PNG" alt="alt text"></p>
  
  <p>To achieve this I've been looking at the Sobel operator and how to implement it in Java. However, many of the examples that I've found make use of objects and methods found in AWT (<a href="http://forums.sun.com/thread.jspa?threadID=5346162" rel="nofollow noreferrer">like this example</a>) that isn't part of Android.</p>
  
  <p>My question is then really, does Android provide any alternatives to the features of AWT that have been used in the above example? If we were to rewrite that example just using the libraries built into Android, how would we go about it?</p>