|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openimaj.image.processing.pyramid.Pyramid<OPTIONS,OCTAVE,IMAGE>
OPTIONS - Type of options objectOCTAVE - Type of underlying octaveIMAGE - Type of underlying imagepublic abstract class Pyramid<OPTIONS extends PyramidOptions<OCTAVE,IMAGE>,OCTAVE extends Octave<OPTIONS,?,IMAGE>,IMAGE extends Image<?,IMAGE> & SinglebandImageProcessor.Processable<Float,FImage,IMAGE>>
An image pyramid consisting of a stack of octaves. Octaves are processed by an OctaveProcessor as they are created if the processor is set in the options object. The pyramid will only hold onto its octaves if either the keepOctaves option is set to true, or if a PyramidProcessor is set in the options. The PyramidProcessor will called after all the octaves are created. Pyramids are Iterable for easy access to the octaves; however this will only work if the pyramid has already been populated with the octaves retained.
| Field Summary | |
|---|---|
protected List<OCTAVE> |
octaves
A list of all the octaves should you want to keep them. |
protected OPTIONS |
options
Options for the pyramid |
| Constructor Summary | |
|---|---|
Pyramid(OPTIONS options)
Construct a Pyramid with the given options. |
|
| Method Summary | |
|---|---|
List<OCTAVE> |
getOctaves()
Get the octaves of this pyramid if they have been retained by the processing. |
OPTIONS |
getOptions()
Get the options used to initialise this pyramid |
Iterator<OCTAVE> |
iterator()
|
abstract void |
process(IMAGE img)
Process the image and construct a pyramid applying any specified OctaveProcessor and/or PyramidProcessor along the way. |
void |
processImage(IMAGE image,
Image<?,?>... otherimages)
Process an image with an optional set of other images as inputs. |
void |
setOptions(OPTIONS options)
Set the options used to initialise this pyramid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected OPTIONS extends PyramidOptions<OCTAVE,IMAGE> options
protected List<OCTAVE extends Octave<OPTIONS,?,IMAGE>> octaves
PyramidOptions.keepOctaves| Constructor Detail |
|---|
public Pyramid(OPTIONS options)
options - the options| Method Detail |
|---|
public abstract void process(IMAGE img)
img - image to build pyramid from.
public void processImage(IMAGE image,
Image<?,?>... otherimages)
ImageProcessor
processImage in interface ImageProcessor<IMAGE extends Image<?,IMAGE> & SinglebandImageProcessor.Processable<Float,FImage,IMAGE>>image - The image to process in place.otherimages - An optional set of other images.public OPTIONS getOptions()
public void setOptions(OPTIONS options)
options - the optionspublic List<OCTAVE> getOctaves()
public Iterator<OCTAVE> iterator()
iterator in interface Iterable<OCTAVE extends Octave<OPTIONS,?,IMAGE>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||