Class Sobel

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Sobel

public class Sobel
extends java.lang.Thread

Sobel is an algorithm to apply the sobel edge detector operator

See Also:
code.iface.sobel

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Sobel()
           
 
Method Summary
 int[] apply_sobel(int[] src_1d, int width, int height, double sobscale, float offsetval)
          apply_sobel applies a sobel operator to an image
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sobel

public Sobel()
Method Detail

apply_sobel

public int[] apply_sobel(int[] src_1d,
                         int width,
                         int height,
                         double sobscale,
                         float offsetval)
apply_sobel applies a sobel operator to an image
Parameters:
src_1d - The source image as a pixel array
width - width of the destination image in pixels
height - height of the destination image in pixels
sobscale - A scale factor for the image
offsetval - The offset to be added to the output
Returns:
A pixel array containing the output image