Catalano.Imaging.Corners.FREAK
Class FastRetinaKeypoint
- java.lang.Object
-
- Catalano.Imaging.Corners.FREAK.FastRetinaKeypoint
-
public class FastRetinaKeypoint extends java.lang.ObjectFast Retina Keypoint (FREAK) point.
-
-
Field Summary
Fields Modifier and Type Field and Description doubleorientationGets or sets the x-coordinate of this point.doublescaleGets or sets the x-coordinate of this point.doublexGets or sets the x-coordinate of this point.doubleyGets or sets the x-coordinate of this point.
-
Constructor Summary
Constructors Constructor and Description FastRetinaKeypoint(double x, double y)Initializes a new instance of the FastRetinaKeypoint class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)byte[]getDescriptor()Gets the descriptor vector associated with this point.doublegetOrientation()Get the orientation of this point in angles.doublegetScale()Get the scale of this point.voidsetDescriptor(byte[] descriptor)Sets the descriptor vector associated with this point.voidsetOrientation(double orientation)Set the orientation of this point in angles.voidsetScale(double scale)Set the scale of this point.java.lang.StringtoBinary()Convert the binary descriptor to a string of binary values.java.lang.StringtoHex()Convert the binary descriptor to a string of hexadecimal values.IntPointtoIntPoint()Convert Fast Retina Keypoint to Int Point.
-
-
-
Field Detail
-
x
public double x
Gets or sets the x-coordinate of this point.
-
y
public double y
Gets or sets the x-coordinate of this point.
-
scale
public double scale
Gets or sets the x-coordinate of this point.
-
orientation
public double orientation
Gets or sets the x-coordinate of this point.
-
-
Constructor Detail
-
FastRetinaKeypoint
public FastRetinaKeypoint(double x, double y)Initializes a new instance of the FastRetinaKeypoint class.- Parameters:
x- The x-coordinate of the point in the image.y- The y-coordinate of the point in the image.
-
-
Method Detail
-
getOrientation
public double getOrientation()
Get the orientation of this point in angles.- Returns:
- Orientation.
-
setOrientation
public void setOrientation(double orientation)
Set the orientation of this point in angles.- Parameters:
orientation- Orientation.
-
getScale
public double getScale()
Get the scale of this point.- Returns:
- Scale.
-
setScale
public void setScale(double scale)
Set the scale of this point.- Parameters:
scale- Scale.
-
getDescriptor
public byte[] getDescriptor()
Gets the descriptor vector associated with this point.- Returns:
- Descriptor.
-
setDescriptor
public void setDescriptor(byte[] descriptor)
Sets the descriptor vector associated with this point.- Parameters:
descriptor- Descriptor.
-
toBinary
public java.lang.String toBinary()
Convert the binary descriptor to a string of binary values.- Returns:
- A string containing a binary value representing this point's descriptor.
-
toHex
public java.lang.String toHex()
Convert the binary descriptor to a string of hexadecimal values.- Returns:
- A string containing a hexadecimal value representing this point's descriptor.
-
toIntPoint
public IntPoint toIntPoint()
Convert Fast Retina Keypoint to Int Point.- Returns:
- IntPoint.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG