Class Roberts

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

public class Roberts
extends java.lang.Thread

RobertsCross is an algorithm to apply the roberts cross operator

See Also:
code.iface.roberts

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Roberts()
           
 
Method Summary
 int[] apply_roberts(int[] src_1d, int width, int height, double robscale, float offsetval)
          apply_roberts applies a roberts cross 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

Roberts

public Roberts()
Method Detail

apply_roberts

public int[] apply_roberts(int[] src_1d,
                           int width,
                           int height,
                           double robscale,
                           float offsetval)
apply_roberts applies a roberts cross 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
robscale - A scale factor for the image
offsetval - The offset to be added to the output
Returns:
A pixel array containing the output image