private void createOutputImage() {
        int[] dimentionZero = {0, 0};
        int[] dimention = {0, 0};

        if (inputImageRelations.size() > 0) {
            dimention[0] = inputImageRelations.get(0).inputImage.getWidth();
            dimention[1] = inputImageRelations.get(0).inputImage.getHeight();


            for (InputImageRelations inputImage : inputImageRelations) {
                if ((inputImage.inputImage.getWidth() != dimention[0]) || (inputImage.inputImage.getHeight() != dimention[1])) {
                    dimention = dimentionZero;
                    break;
                }
            }
        }

        outputImage = new BufferedImage(dimention[0], dimention[1], BufferedImage.TYPE_4BYTE_ABGR);
    }