Documentation of 'edu.rit.image.test.Test04' Java class
Test04
edu.rit.image.test

Class Test04



  • public class Test04
    extends java.lang.Object
    Class Test04 is a unit test program for class PJGHueImage. The program calculates an image with hues varying continuously along the horizontal axis and brightnesses varying continuously along the vertical axis and stores the image in a Parallel Java Graphics (PJG) file. Then the program reads the PJG file back in and tests whether the pixel data that came in is the same as the pixel data that went out. The image is width pixels high and width pixels wide.

    Usage: java edu.rit.image.test.Test04 width filename
    width = Image height and width (pixels)
    filename = PJG image file name

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Main program.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.