Package gov.nih.mipav.model.algorithms
Class OastDetector9_16
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.OastDetector9_16
-
public class OastDetector9_16 extends java.lang.Object
oast9 - OAST, an optimal corner detector based on the accelerated segment test for a 16 pixel mask Copyright (c) 2010, Elmar Mair All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the owner nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
Field Summary
Fields Modifier and Type Field Description private int
s_offset0
private int
s_offset1
private int
s_offset10
private int
s_offset11
private int
s_offset12
private int
s_offset13
private int
s_offset14
private int
s_offset15
private int
s_offset2
private int
s_offset3
private int
s_offset4
private int
s_offset5
private int
s_offset6
private int
s_offset7
private int
s_offset8
private int
s_offset9
private int
threshold
private int
xsize
private int
ysize
-
Constructor Summary
Constructors Constructor Description OastDetector9_16(int xsize, int ysize, int threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detect(int[] intBuffer, java.util.Vector<javax.vecmath.Point2i> corners_all)
int
getCornerScore(int[] intBuffer, int p)
private void
init_pattern()
void
setThreshold(int threshold)
-
-
-
Field Detail
-
xsize
private int xsize
-
ysize
private int ysize
-
threshold
private int threshold
-
s_offset0
private int s_offset0
-
s_offset1
private int s_offset1
-
s_offset2
private int s_offset2
-
s_offset3
private int s_offset3
-
s_offset4
private int s_offset4
-
s_offset5
private int s_offset5
-
s_offset6
private int s_offset6
-
s_offset7
private int s_offset7
-
s_offset8
private int s_offset8
-
s_offset9
private int s_offset9
-
s_offset10
private int s_offset10
-
s_offset11
private int s_offset11
-
s_offset12
private int s_offset12
-
s_offset13
private int s_offset13
-
s_offset14
private int s_offset14
-
s_offset15
private int s_offset15
-
-