Class Division


  • public class Division
    extends java.lang.Object
    Given two images of equal dimension, it'll divide pixel intensity of first image by pixel intensity of second image, and store rounded value in resulting image, for each pixel, for each color component. Works with both grayscaled / color image.
    • Constructor Summary

      Constructors 
      Constructor Description
      Division()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage operate​(java.awt.image.BufferedImage operandOne, java.awt.image.BufferedImage operandTwo)
      Two buffered images are supplied, we'll extract each row of pixels from two images & apply division operator on each pixel, resulting image to be stored in different buffered image, which can be further processed / exported into file.
      java.awt.image.BufferedImage operate​(java.lang.String operandOne, java.lang.String operandTwo)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Division

        public Division()
    • Method Detail

      • operate

        public java.awt.image.BufferedImage operate​(java.awt.image.BufferedImage operandOne,
                                                    java.awt.image.BufferedImage operandTwo)
        Two buffered images are supplied, we'll extract each row of pixels from two images & apply division operator on each pixel, resulting image to be stored in different buffered image, which can be further processed / exported into file. Each row will be processed concurrently, leveraging power of modern multicore CPU.
      • operate

        public java.awt.image.BufferedImage operate​(java.lang.String operandOne,
                                                    java.lang.String operandTwo)