Q - The pixel typeI - The concrete image subclass type.public abstract class SingleBandImage<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>> extends Image<Q,I> implements SinglebandImageProcessor.Processable<Q,I,I>, SinglebandKernelProcessor.Processable<Q,I,I>
Image.Field| Modifier and Type | Field and Description |
|---|---|
int |
height
The image height
|
int |
width
The image width
|
| Constructor and Description |
|---|
SingleBandImage() |
| Modifier and Type | Method and Description |
|---|---|
abstract I |
clone()
Deep copy of an image (internal image buffers copied).
|
boolean |
equals(Object obj) |
I |
fill(Q colour)
Fill this image with the given colour.
|
int |
getHeight()
Returns the image height in pixels.
|
int |
getWidth()
Get the width (number of columns) in this image.
|
I |
process(KernelProcessor<Q,I> p)
Process this image with the given
KernelProcessor and return new
image containing the result. |
I |
process(KernelProcessor<Q,I> p,
boolean pad)
Process this image with the given
KernelProcessor and return new
image containing the result. |
I |
process(SinglebandImageProcessor<Q,I> p)
Process with the given
SinglebandImageProcessor returning a
new image. |
I |
process(SinglebandKernelProcessor<Q,I> p) |
I |
process(SinglebandKernelProcessor<Q,I> p,
boolean pad) |
I |
processInplace(SinglebandImageProcessor<Q,I> p)
Process with the given
SinglebandImageProcessor storing the
result in this processable image. |
I |
processInplace(SinglebandKernelProcessor<Q,I> p) |
I |
processInplace(SinglebandKernelProcessor<Q,I> p,
boolean pad) |
abs, accumulateWith, add, add, addInplace, addInplace, analyseWith, analyseWith, analyseWithMasked, clip, clipMax, clipMin, combineWith, createRenderer, createRenderer, defaultBackgroundColour, defaultForegroundColour, divide, divide, divideInplace, divideInplace, drawConnectedPoints, drawCubicBezier, drawImage, drawImage, drawImage, drawLine, drawLine, drawLine, drawLine, drawLine, drawLine, drawLine, drawLines, drawPath, drawPaths, drawPoint, drawPoints, drawPolygon, drawPolygon, drawPolygonFilled, drawShape, drawShape, drawShapeFilled, drawText, drawText, drawText, drawText, drawText, drawText, drawText, drawText, extractCenter, extractCenter, extractCentreSubPix, extractCentreSubPix, extractCentreSubPix, extractCentreSubPix, extractROI, extractROI, extractROI, flipX, flipY, getBounds, getCols, getContentArea, getField, getFieldCopy, getFieldInterpolate, getImage, getPixel, getPixel, getPixelComparator, getPixelInterp, getPixelInterp, getPixelVector, getRows, internalAssign, internalAssign, internalCopy, inverse, max, min, multiply, multiply, multiplyInplace, multiplyInplace, newInstance, normalise, overlay, overlayInplace, padding, padding, paddingSymmetric, process, process, process, process, processInplace, processInplace, processInplace, processInplace, processInplace, processMasked, processMaskedInplace, replace, setPixel, shiftDown, shiftDown, shiftDownInplace, shiftDownInplace, shiftLeft, shiftLeft, shiftLeftInplace, shiftLeftInplace, shiftRight, shiftRight, shiftRightInplace, shiftRightInplace, shiftUp, shiftUp, shiftUpInplace, shiftUpInplace, subtract, subtract, subtractInplace, subtractInplace, threshold, toByteImage, toPackedARGBPixels, transform, trim, zeropublic SingleBandImage()
public int getHeight()
getHeight in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>Image.getHeight()public int getWidth()
getWidth in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>Image.getWidth()public I process(KernelProcessor<Q,I> p)
KernelProcessor and return new
image containing the result.process in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>p - The KernelProcessor to apply.Image.process(org.openimaj.image.processor.KernelProcessor)public I process(KernelProcessor<Q,I> p, boolean pad)
KernelProcessor and return new
image containing the result.process in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>p - The KernelProcessor to apply.pad - Should the image be zero padded so the kernel reaches the
edges of the outputImage.process(org.openimaj.image.processor.KernelProcessor,
boolean)public I process(SinglebandKernelProcessor<Q,I> p)
process in interface SinglebandKernelProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - the processorSinglebandKernelProcessor.Processable.process(org.openimaj.image.processor.SinglebandKernelProcessor)public I process(SinglebandKernelProcessor<Q,I> p, boolean pad)
process in interface SinglebandKernelProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - the processorpad - Should the image be zero padded so the
kernel reaches the edges of the outputSinglebandKernelProcessor.Processable.process(org.openimaj.image.processor.SinglebandKernelProcessor,
boolean)public I processInplace(SinglebandKernelProcessor<Q,I> p)
processInplace in interface SinglebandKernelProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - the processorSinglebandKernelProcessor.Processable.processInplace(org.openimaj.image.processor.SinglebandKernelProcessor)public I processInplace(SinglebandKernelProcessor<Q,I> p, boolean pad)
processInplace in interface SinglebandKernelProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - the processorpad - Should the image be zero padded so the
kernel reaches the edges of the outputSinglebandKernelProcessor.Processable.processInplace(org.openimaj.image.processor.SinglebandKernelProcessor,
boolean)public I process(SinglebandImageProcessor<Q,I> p)
SinglebandImageProcessor returning a
new image.process in interface SinglebandImageProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - The processor to process the image withSinglebandImageProcessor.Processable.process(org.openimaj.image.processor.SinglebandImageProcessor)public I processInplace(SinglebandImageProcessor<Q,I> p)
SinglebandImageProcessor storing the
result in this processable image. Side-affects this processable
image.processInplace in interface SinglebandImageProcessor.Processable<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>,I extends SingleBandImage<Q,I>>p - The processor to process the image withSinglebandImageProcessor.Processable.processInplace(org.openimaj.image.processor.SinglebandImageProcessor)public I fill(Q colour)
fill in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>colour - the colour to fill the image withImage.fill(java.lang.Object)public abstract I clone()
clone in class Image<Q extends Comparable<Q>,I extends SingleBandImage<Q,I>>Image.clone()