Examples of MatrixSymmetry


Examples of fr.soleil.data.filter.MatrixSymmetry

                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.HORIZONTAL);
                        break;
                    default:
                        break;
                }
            }
View Full Code Here

Examples of fr.soleil.data.filter.MatrixSymmetry

                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.HORIZONTAL);
                        break;
                    default:
                        break;
                }
            }
View Full Code Here

Examples of fr.soleil.data.filter.MatrixSymmetry

                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.HORIZONTAL);
                        break;
                    default:
                        break;
                }
            }
View Full Code Here

Examples of fr.soleil.data.filter.MatrixSymmetry

                return data;
            }
        };
        MatrixRightAngleRotation positiveRotation = new MatrixRightAngleRotation(fakeContainer, true);
        MatrixRightAngleRotation negativeRotation = new MatrixRightAngleRotation(fakeContainer, false);
        MatrixSymmetry symmetry = new MatrixSymmetry(new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL),
                MatrixSymmetry.VERTICAL);
        MatrixSymmetry symmetryH = new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL);
        MatrixSymmetry symmetryV = new MatrixSymmetry(fakeContainer, MatrixSymmetry.VERTICAL);
        viewer.setNumberMatrix(data);
        positiveRotated.setNumberMatrix(positiveRotation.getData());
        positiveRotated.setYAxisConvertor(new DimensionReverter(data[0].length));
        negativeRotated.setNumberMatrix(negativeRotation.getData());
        negativeRotated.setXAxisConvertor(new DimensionReverter(data.length));
        rotated180.setNumberMatrix(symmetry.getData());
        rotated180.setYAxisConvertor(new DimensionReverter(data.length));
        rotated180.setXAxisConvertor(new DimensionReverter(data[0].length));
        symH.setNumberMatrix(symmetryH.getData());
        symH.setYAxisConvertor(new DimensionReverter(data.length));
        symV.setNumberMatrix(symmetryV.getData());
        symV.setXAxisConvertor(new DimensionReverter(data[0].length));
        JFrame testFrame = new JFrame("MatrixRightAngleRotationTest");
        testFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        testFrame.setContentPane(mainPanel);
        testFrame.setSize(750, 550);
View Full Code Here

Examples of fr.soleil.data.filter.MatrixSymmetry

        currentKey = currentKeyGenerator.getImageNumberMatrixKey();
        numberMatrixBox.reconnectWidget(imageTable, currentKey);

        numberMatrixBox.reconnectWidget(image, currentKey);
        numberMatrixBox.reconnectWidget(image2, currentKey);
        MatrixSymmetry symmetry = new MatrixSymmetry(new MatrixSymmetry(MatrixSymmetry.HORIZONTAL),
                MatrixSymmetry.VERTICAL);
        numberMatrixBox.addFilterToTarget(symmetry, image2);
        numberMatrixBox.reconnectWidget(imagePlayer, currentKey);
        changeRefreshingPeriodAction.setKey(currentKey);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.