use of boofcv.io.PathLabel in project BoofCV by lessthanoptimal.
the class DetectPointScaleOriWithNoiseApp method main.
public static void main(String[] args) {
DetectPointScaleOriWithNoiseApp app = new DetectPointScaleOriWithNoiseApp(GrayF32.class, GrayF32.class);
// DetectPointsWithNoiseApp app = new DetectPointsWithNoiseApp(GrayU8.class,GrayS16.class);
List<PathLabel> inputs = new ArrayList<>();
inputs.add(new PathLabel("shapes", UtilIO.pathExample("shapes/shapes01.png")));
inputs.add(new PathLabel("amoeba", UtilIO.pathExample("amoeba_shapes.jpg")));
inputs.add(new PathLabel("sunflowers", UtilIO.pathExample("sunflowers.jpg")));
inputs.add(new PathLabel("beach", UtilIO.pathExample("scale/beach02.jpg")));
app.setInputList(inputs);
// wait for it to process one image so that the size isn't all screwed up
while (!app.getHasProcessedImage()) {
Thread.yield();
}
ShowImages.showWindow(app, "Point Feature", true);
}
use of boofcv.io.PathLabel in project BoofCV by lessthanoptimal.
the class DetectPointsWithNoiseApp method main.
public static void main(String[] args) {
DetectPointsWithNoiseApp app = new DetectPointsWithNoiseApp(GrayF32.class, GrayF32.class);
// DetectPointsWithNoiseApp app = new DetectPointsWithNoiseApp(GrayU8.class,GrayS16.class);
List<PathLabel> inputs = new ArrayList<>();
inputs.add(new PathLabel("shapes", UtilIO.pathExample("shapes/shapes01.png")));
inputs.add(new PathLabel("amoeba", UtilIO.pathExample("amoeba_shapes.jpg")));
inputs.add(new PathLabel("sunflowers", UtilIO.pathExample("sunflowers.jpg")));
inputs.add(new PathLabel("beach", UtilIO.pathExample("scale/beach02.jpg")));
app.setInputList(inputs);
// wait for it to process one image so that the size isn't all screwed up
while (!app.getHasProcessedImage()) {
Thread.yield();
}
ShowImages.showWindow(app, "Detect Scale Point" + " with Noise", true);
}
use of boofcv.io.PathLabel in project BoofCV by lessthanoptimal.
the class VideoDisplayLinesApp method main.
public static void main(String[] args) {
VideoDisplayLinesApp app = new VideoDisplayLinesApp(GrayF32.class, GrayF32.class);
java.util.List<PathLabel> inputs = new ArrayList<>();
inputs.add(new PathLabel("Apartment", UtilIO.pathExample("lines_indoors.mjpeg")));
app.setInputList(inputs);
// wait for it to process one image so that the size isn't all screwed up
while (!app.getHasProcessedImage()) {
Thread.yield();
}
ShowImages.showWindow(app, "Feature Tracker", true);
}
use of boofcv.io.PathLabel in project BoofCV by lessthanoptimal.
the class ShowColorModelApp method main.
public static void main(String[] args) {
ShowColorModelApp app = new ShowColorModelApp();
java.util.List<PathLabel> inputs = new ArrayList<>();
inputs.add(new PathLabel("sunflowers", UtilIO.pathExample("sunflowers.jpg")));
inputs.add(new PathLabel("beach", UtilIO.pathExample("scale/beach02.jpg")));
inputs.add(new PathLabel("shapes", UtilIO.pathExample("shapes/shapes01.png")));
app.setInputList(inputs);
// wait for it to process one image so that the size isn't all screwed up
while (!app.getHasProcessedImage()) {
Thread.yield();
}
ShowImages.showWindow(app, "Color Formats", true);
}
use of boofcv.io.PathLabel in project BoofCV by lessthanoptimal.
the class EquirectangularCylinderApp method main.
public static void main(String[] args) {
ImageType type = ImageType.pl(3, GrayU8.class);
List<PathLabel> examples = new ArrayList<>();
examples.add(new PathLabel("Half Dome 01", UtilIO.pathExample("spherical/equirectangular_half_dome_01.jpg")));
examples.add(new PathLabel("Half Dome 02", UtilIO.pathExample("spherical/equirectangular_half_dome_02.jpg")));
examples.add(new PathLabel("Glow Sticks", UtilIO.pathExample("spherical/equirectangular_glowsticks.jpg")));
EquirectangularCylinderApp app = new EquirectangularCylinderApp(examples, type);
app.openFile(new File(examples.get(0).getPath()));
app.display("Equirectanglar to Cylindrical");
}
Aggregations