testbench
Class NormalRateDistortion
java.lang.Object
commandline.Encoder.Iterators.RateDistorion
testbench.NormalRateDistortion
public class NormalRateDistortion
- extends RateDistorion
|
Constructor Summary |
NormalRateDistortion(java.io.File file,
java.lang.String path_to_original_fig,
java.lang.String path_to_out_dir,
int compressionType)
|
|
Method Summary |
void |
add(float rate,
float distortion,
int normaloffsetbits,
int verticaloffsetbits,
int treebits,
int tesselationBits,
int metabits,
int basemeshbits)
|
protected float[] |
createImages(boolean makeBaseMesh,
int maxr,
int startPSNR,
int step,
float stopPSNR,
int ORDERING_NORM,
int TESSELATION_NORM,
int ConnectionCriteriumType,
int MESH_ITERATOR)
|
protected java.lang.String |
getCompressionName()
|
protected java.lang.String |
getCompressionType()
|
protected void |
initType()
|
void |
makeRateDistortionFile()
|
static float[] |
parameterPerform(java.lang.String image_name,
int maxr,
int startPSNR,
int stapgrootte,
int stopPSNR,
boolean makeBaseMesh,
int COMPRESSIONTYPE,
int ORDERING_NORM,
int TESSELATION_NORM,
int CONNECTIONCRITERIUM_TYPE,
int MESH_ITERATOR,
java.lang.String extra_name)
|
| 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 |
NormalRateDistortion
public NormalRateDistortion(java.io.File file,
java.lang.String path_to_original_fig,
java.lang.String path_to_out_dir,
int compressionType)
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()
- Specified by:
makeRateDistortionFile in class RateDistorion
getCompressionType
protected java.lang.String getCompressionType()
- Specified by:
getCompressionType in class RateDistorion
createImages
protected float[] createImages(boolean makeBaseMesh,
int maxr,
int startPSNR,
int step,
float stopPSNR,
int ORDERING_NORM,
int TESSELATION_NORM,
int ConnectionCriteriumType,
int MESH_ITERATOR)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
add
public void add(float rate,
float distortion,
int normaloffsetbits,
int verticaloffsetbits,
int treebits,
int tesselationBits,
int metabits,
int basemeshbits)
- Parameters:
rate - distortion - normaloffsetbits - verticaloffsetbits - treebits - tesselationBits - metabits -
parameterPerform
public static float[] parameterPerform(java.lang.String image_name,
int maxr,
int startPSNR,
int stapgrootte,
int stopPSNR,
boolean makeBaseMesh,
int COMPRESSIONTYPE,
int ORDERING_NORM,
int TESSELATION_NORM,
int CONNECTIONCRITERIUM_TYPE,
int MESH_ITERATOR,
java.lang.String extra_name)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException