Class RaiseToPower

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

public class RaiseToPower
extends java.lang.Thread

Exponential is an algorithm to raise to power an image

Author:
Nathalie Cammas
See Also:
code.iface.raiseToPower

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RaiseToPower()
           
 
Method Summary
 int[] apply_raise(int[] src_1d, int width, int height, double expo, float scaleval, float offsetval)
          apply_raise applies a power 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

RaiseToPower

public RaiseToPower()
Method Detail

apply_raise

public int[] apply_raise(int[] src_1d,
                         int width,
                         int height,
                         double expo,
                         float scaleval,
                         float offsetval)
apply_raise applies a power 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
expo - The exponential scaling factor
scaleval - The scaling factor to be applied
offsetval - The offset value to be added
Returns:
A pixel array containing the exponential image