integralhistogram
Class ImgSearchOut
java.lang.Object
integralhistogram.ImgSearchOut
- All Implemented Interfaces:
- SearchOutput
public class ImgSearchOut
- extends java.lang.Object
- implements SearchOutput
use this class to "print" the search's results over a result image.
- Author:
- Giovanni Tarducci,Alessio Barducci
Constructor Summary |
ImgSearchOut(int[] imgResult,
int imgResWidth)
class constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImgSearchOut
public ImgSearchOut(int[] imgResult,
int imgResWidth)
- class constructor.
- Parameters:
imgResult
- imgResWidth
-
histSearchOut
public void histSearchOut(int i,
int j,
int targRectWidth,
int targRectHeight)
- color the result image's pixels between the specified boundaries
(see below: i,j,targRectWidth,targRectHeight)
- Specified by:
histSearchOut
in interface SearchOutput
- Parameters:
i
- current source image's rowj
- current source image's rowtargRectWidth
- current Target Region WidthtargRectHeight
- current Target Region Height
startOutput
public void startOutput()
- Specified by:
startOutput
in interface SearchOutput
finalizeOutput
public void finalizeOutput()
- Specified by:
finalizeOutput
in interface SearchOutput
updateOutputFile
public void updateOutputFile(float timePos)
- Specified by:
updateOutputFile
in interface SearchOutput
startOutputFile
public void startOutputFile(java.lang.String foo)
- Specified by:
startOutputFile
in interface SearchOutput
endOutputFile
public void endOutputFile()
- Specified by:
endOutputFile
in interface SearchOutput
processing library integralhistogram by Giovanni Tarducci, Alessio Barducci. (c) 2009