public class IO
extends java.lang.Object
Constructor and Description |
---|
IO() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
loadImage(java.lang.String fileName)
Load image from file
|
static PointCloud |
pointsFromDataFile(java.lang.String fileName)
Load point clouds from file
|
static PointCloud |
pointsFromImage(java.lang.String imageFile)
Load point clouds from image file
|
public static PointCloud pointsFromDataFile(java.lang.String fileName)
filename
- the input file (text file storing point coordinates)public static PointCloud pointsFromImage(java.lang.String imageFile)
filename
- the input image (pixels are mapped to 3D points, in LUV space)public static java.awt.image.BufferedImage loadImage(java.lang.String fileName)
filename
- the input image file