public class CameraParameters
Intrinsic camera parameters representing the source of video frames.
Constructor and Description |
---|
CameraParameters(int width,
int height,
float focalInPixelsX,
float focalInPixelsY)
Intrinsic camera parameters representing the source of video frames.
|
Modifier and Type | Method and Description |
---|---|
int |
component1()
Current camera output width in pixels
|
int |
component2()
Current camera output height in pixels
|
float |
component3()
Focal length in pixels by width
|
float |
component4()
Focal length in pixels by height
|
CameraParameters |
copy(int width,
int height,
float focalInPixelsX,
float focalInPixelsY)
Intrinsic camera parameters representing the source of video frames.
|
boolean |
equals(java.lang.Object p) |
float |
getFocalInPixelsX()
Focal length in pixels by width
|
float |
getFocalInPixelsY()
Focal length in pixels by height
|
int |
getHeight()
Current camera output height in pixels
|
int |
getWidth()
Current camera output width in pixels
|
int |
hashCode() |
java.lang.String |
toString() |
public CameraParameters(int width, int height, float focalInPixelsX, float focalInPixelsY)
Intrinsic camera parameters representing the source of video frames.
width
- Current camera output width in pixelsheight
- Current camera output height in pixelsfocalInPixelsX
- Focal length in pixels by widthfocalInPixelsY
- Focal length in pixels by heightwidth
- Current camera output width in pixelsheight
- Current camera output height in pixelsfocalInPixelsX
- Focal length in pixels by widthfocalInPixelsY
- Focal length in pixels by heightpublic int getWidth()
Current camera output width in pixels
public int getHeight()
Current camera output height in pixels
public float getFocalInPixelsX()
Focal length in pixels by width
public float getFocalInPixelsY()
Focal length in pixels by height
public int component1()
Current camera output width in pixels
public int component2()
Current camera output height in pixels
public float component3()
Focal length in pixels by width
public float component4()
Focal length in pixels by height
public CameraParameters copy(int width, int height, float focalInPixelsX, float focalInPixelsY)
Intrinsic camera parameters representing the source of video frames.
width
- Current camera output width in pixelsheight
- Current camera output height in pixelsfocalInPixelsX
- Focal length in pixels by widthfocalInPixelsY
- Focal length in pixels by heightpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)