testbench
Class JPEGRateDistortion

java.lang.Object
  extended by commandline.Encoder.Iterators.RateDistorion
      extended by testbench.JPEGRateDistortion

public class JPEGRateDistortion
extends RateDistorion


Field Summary
 
Fields inherited from class commandline.Encoder.Iterators.RateDistorion
BITS_PER_BYTE, path_to_original_fig, path_to_out_dir, printStream, type
 
Constructor Summary
JPEGRateDistortion(java.io.File file, java.lang.String path_to_original_fig, java.lang.String path_to_out_dir)
           
 
Method Summary
 void createImages(float beginrate, float steprate, float endrate)
           
protected  java.lang.String getCompressionName()
           
protected  java.lang.String getCompressionType()
           
protected  void initType()
           
 void makeRateDistortionFile()
           
static void parameterPerform(java.lang.String image_name, float beginrate, float eindrate)
           
 
Methods inherited from class commandline.Encoder.Iterators.RateDistorion
add, getFileWithOtherExtention, main, makeDir, makeRateDistortionFile, MSE, peakSignal, printPremeable, printToFile, PSNR, subtract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPEGRateDistortion

public JPEGRateDistortion(java.io.File file,
                          java.lang.String path_to_original_fig,
                          java.lang.String path_to_out_dir)
Method Detail

getCompressionType

protected java.lang.String getCompressionType()
Specified by:
getCompressionType in class RateDistorion

initType

protected void initType()
Specified by:
initType in class RateDistorion

getCompressionName

protected java.lang.String getCompressionName()
Specified by:
getCompressionName in class RateDistorion

makeRateDistortionFile

public void makeRateDistortionFile()
                            throws java.io.FileNotFoundException
Specified by:
makeRateDistortionFile in class RateDistorion
Throws:
java.io.FileNotFoundException

createImages

public void createImages(float beginrate,
                         float steprate,
                         float endrate)

parameterPerform

public static void parameterPerform(java.lang.String image_name,
                                    float beginrate,
                                    float eindrate)
                             throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException