|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object integralhistogram.AvgImgSearchOut
public class AvgImgSearchOut
SearchOut implementation. Let you plot the average of all matching target region, on a Result image. You can use it via MyTargetUser2.
Constructor Summary | |
---|---|
AvgImgSearchOut(int[] imgResult,
int imgResWidth)
|
Method Summary | |
---|---|
void |
endOutputFile()
|
void |
finalizeOutput()
plot the average target region on the Result image |
void |
histSearchOut(int row,
int col,
int targRectWidth,
int targRectHeight)
method called during the search, usually everytime a target region matches |
void |
startOutput()
initialize average Target Region corners |
void |
startOutputFile(java.lang.String foo)
|
void |
updateOutputFile(float foo)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvgImgSearchOut(int[] imgResult, int imgResWidth)
imgResult
- pixels'array for the result imageimgResWidth
- result image widthMethod Detail |
---|
public void histSearchOut(int row, int col, int targRectWidth, int targRectHeight)
SearchOutput
histSearchOut
in interface SearchOutput
row
- current source image rowcol
- current sourcce image columntargRectWidth
- current Target Region WidhttargRectHeight
- current Target Region Heightpublic void finalizeOutput()
finalizeOutput
in interface SearchOutput
public void startOutput()
startOutput
in interface SearchOutput
public void startOutputFile(java.lang.String foo)
startOutputFile
in interface SearchOutput
public void updateOutputFile(float foo)
updateOutputFile
in interface SearchOutput
public void endOutputFile()
endOutputFile
in interface SearchOutput
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |