com.c3d.image
Class IntelImage

java.lang.Object
  |
  +--com.c3d.image.Jimage
        |
        +--com.c3d.image.ShortImage
              |
              +--com.c3d.image.IntelImage

public class IntelImage
extends ShortImage

Class that implements short integer images using mmx processor to speed things up. Requires intel IPL.DLL


Fields inherited from class com.c3d.image.ShortImage
data, scanlinelength, startindata
 
Fields inherited from class com.c3d.image.Jimage
ALPHAPLANE, BLUEPLANE, brho, colorModel, fmax, fmin, fmu, frho, GREENPLANE, height, hints, MONOCHROME, planes, REDPLANE, RGB, smax, smin, srho, umin, urho, width
 
Constructor Summary
IntelImage()
          TeX Creates an image of size zero with 3 planes
IntelImage(int plane)
          TeX Creates an image of size zero with right number of planes
IntelImage(int x, int y, int z)
           
IntelImage(Jimage src)
          Convert a jimage to an intel image
IntelImage(short[][] d, int dx, int dy, int linewidth, int start)
          TeX Create an image sharing the data with size dx, dy at offset start
 
Method Summary
 Jimage abs()
           
 Jimage convolve(double[] k)
          TeX convolve with symetrical seperable kernel.
 Jimage convolve(double[][] kernel)
           
 Jimage getPlane(int k)
           
 Jimage getScaledInstance(int nwidth, int nheight)
          TeX This replicates the functionality of the get scaled instance method of the AWT image class.
 com.c3d.util.atomic.Universal Inject(com.c3d.util.atomic.Universal b, com.c3d.operators.Doperator op)
          TeX Combine two structured classes under a dydaic operator.
 com.c3d.util.atomic.Universal minus(com.c3d.util.atomic.Universal b)
           
 ShortImage MkIntelImage(int plane)
           
 ShortImage MkIntelImage(short[][] d, int dx, int dy)
           
 Jimage oneOfThese()
           
 com.c3d.util.atomic.Universal plus(com.c3d.util.atomic.Universal b)
           
 ShortImage replica()
           
 Jimage sepconvolve(double[] k)
           
 Jimage shift(int i)
           
 Jimage subImage(int x, int y, int dx, int dy)
           
 com.c3d.util.atomic.Universal times(com.c3d.util.atomic.Universal b)
           
 
Methods inherited from class com.c3d.image.ShortImage
bpixel, clone, concat, divide, fpixel, fsubscript, Map, newData, rgbpixel, setDimensions, setPixel, setPixel, setPixel, setPixels, setPixels, spixel, sum, upixel, Upixel
 
Methods inherited from class com.c3d.image.Jimage
arity, bpixelTofpixel, bpixelTospixel, bpixelToupixel, bsaturate, cardinality, divide, fmodulus, fpixelTobpixel, fpixelTospixel, fpixelToupixel, fsaturate, fsaturate, getAWTImage, getImage, getProducer, getScaledInstance, hashCode, imageComplete, l1Norm, l2Norm, lessthan, members, minus, modulus, numberOfElements, plus, putJPEGImage, reduce, RGB2YUV, setColorModel, setHints, setProperties, setSubImage, spixelTobpixel, spixelTofpixel, spixelTofpixel, spixelToupixel, sqr, ssaturate, subscript, subscript, times, toString, toString, upixelTobpixel, upixelTofpixel, upixelTospixel, usaturate, warp, YUV2RGB
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntelImage

public IntelImage(Jimage src)
Convert a jimage to an intel image

IntelImage

public IntelImage()
TeX Creates an image of size zero with 3 planes

IntelImage

public IntelImage(int plane)
TeX Creates an image of size zero with right number of planes

IntelImage

public IntelImage(short[][] d,
                  int dx,
                  int dy,
                  int linewidth,
                  int start)
TeX Create an image sharing the data with size dx, dy at offset start

IntelImage

public IntelImage(int x,
                  int y,
                  int z)
Method Detail

oneOfThese

public Jimage oneOfThese()
Overrides:
oneOfThese in class ShortImage

getPlane

public Jimage getPlane(int k)
Overrides:
getPlane in class ShortImage

MkIntelImage

public ShortImage MkIntelImage(short[][] d,
                               int dx,
                               int dy)

MkIntelImage

public ShortImage MkIntelImage(int plane)

replica

public ShortImage replica()

subImage

public Jimage subImage(int x,
                       int y,
                       int dx,
                       int dy)
Overrides:
subImage in class ShortImage

Inject

public com.c3d.util.atomic.Universal Inject(com.c3d.util.atomic.Universal b,
                                            com.c3d.operators.Doperator op)
TeX Combine two structured classes under a dydaic operator. If they are short images, combine using MMX.
Overrides:
Inject in class ShortImage

minus

public com.c3d.util.atomic.Universal minus(com.c3d.util.atomic.Universal b)
Overrides:
minus in class ShortImage

plus

public com.c3d.util.atomic.Universal plus(com.c3d.util.atomic.Universal b)
Overrides:
plus in class ShortImage

times

public com.c3d.util.atomic.Universal times(com.c3d.util.atomic.Universal b)
Overrides:
times in class ShortImage

shift

public Jimage shift(int i)
Overrides:
shift in class Jimage

convolve

public Jimage convolve(double[][] kernel)
Overrides:
convolve in class ShortImage

convolve

public Jimage convolve(double[] k)
TeX convolve with symetrical seperable kernel.
Overrides:
convolve in class Jimage

sepconvolve

public Jimage sepconvolve(double[] k)

getScaledInstance

public Jimage getScaledInstance(int nwidth,
                                int nheight)
TeX This replicates the functionality of the get scaled instance method of the AWT image class.
Overrides:
getScaledInstance in class Jimage

abs

public Jimage abs()
Overrides:
abs in class ShortImage