@@ -0,0 +1,1843 @@
+package org.genericsystem.cv.application;%0A%0Aimport org.genericsystem.cv.AbstractApp;%0Aimport org.genericsystem.cv.Img;%0Aimport org.genericsystem.cv.utils.NativeLibraryLoader;%0Aimport org.opencv.core.Scalar;%0Aimport org.opencv.imgcodecs.Imgcodecs;%0A%0Aimport javafx.scene.image.Image;%0Aimport javafx.scene.image.ImageView;%0Aimport javafx.scene.layout.GridPane;%0A%0Apublic class MeshgridRadonTest extends AbstractApp %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09launch(args);%0A%09%7D%0A%0A%09static %7B%0A%09%09NativeLibraryLoader.load();%0A%09%7D%0A%09private Img image = new Img(Imgcodecs.imread(%221_in.png%22), false);%0A%09private int cols = 3;%0A%09private int rows = 2;%0A%0A%09@Override%0A%09protected void fillGrid(GridPane mainGrid) %7B%0A%09%09Image%5B%5D images = new Image%5B6%5D;%0A%09%09images%5B0%5D = image.toJfxImage();%0A%0A%09%09MeshGridRadon meshGrid = new MeshGridRadon(20, 40, 40, image.getSrc());%0A%09%09meshGrid.build(-5000, -45, 45);%0A%09%09try (Img vertDirs = new Img(meshGrid.drawVerticalDirs(new Scalar(255, 0, 255)), false);%0A%09%09%09%09Img baseLines = new Img(meshGrid.drawBaselines(new Scalar(255, 0, 0)), false);%0A%09%09%09%09Img grid = new Img(meshGrid.drawOnCopy(new Scalar(0, 0, 255)), false);%0A%09%09%09%09Img surface = new Img(meshGrid.draw3Dsurface(new Scalar(0, 255, 0), new Scalar(0, 0, 255)), false);%0A%09%09%09%09Img dewarped = new Img(meshGrid.dewarp(), false))  %7B%0A%09%09%09images%5B1%5D = baseLines.toJfxImage();%0A%09%09%09images%5B2%5D = vertDirs.toJfxImage();%0A%09%09%09images%5B3%5D = grid.toJfxImage();%0A%09%09%09images%5B4%5D = surface.toJfxImage();%0A%09%09%09images%5B5%5D = dewarped.toJfxImage();%0A%09%09%09for (int col = 0; col %3C cols; col++)%0A%09%09%09%09for (int row = 0; row %3C rows; row++) %7B%0A%09%09%09%09%09int i = row * cols + col;%0A%09%09%09%09%09if (i %3C images.length) %7B%0A%09%09%09%09%09%09ImageView imageView = new ImageView(images%5Bi%5D);%0A%09%09%09%09%09%09mainGrid.add(imageView, col, row);%0A%09%09%09%09%09%09imageView.setPreserveRatio(true);%0A%09%09%09%09%09%09imageView.setFitWidth(image.width());%0A%09%09%09%09%09%09imageView.setFitHeight(image.height());%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add test program for MeshgridRadon