net.aerith.misao.toolkit.ImageConversion
Class ImageConversionTable.ImageRecord

java.lang.Object
  |
  +--net.aerith.misao.gui.FileOperationTable.TableRecord
        |
        +--net.aerith.misao.toolkit.ImageConversion.ImageConversionTable.ImageRecord
Enclosing class:
ImageConversionTable

protected class ImageConversionTable.ImageRecord
extends FileOperationTable.TableRecord

The ImageRecord is a set of input image file and the output image file, and the configuration.


Field Summary
protected  FilterSet filter_set
          The set of image processing filters.
 Format input_format
          The input image file format;
protected  Format output_format
          The output image file format.
protected  java.lang.String output_image
          The output image file name.
protected  int output_scale
          The output image scale.
protected  Size output_size
          The output image size.
protected  int output_transformation
          The output image transformation, size or scale.
protected  boolean rescale_sbig
          True when to rescale SBIG ST-4/6 ratio.
protected static int TRANSFORMATION_SCALE
          The output image transformation number indicating scale.
protected static int TRANSFORMATION_SIZE
          The output image transformation number indicating size.
 
Fields inherited from class net.aerith.misao.gui.FileOperationTable.TableRecord
file, status, STATUS_DONE, STATUS_FAILED, STATUS_READY
 
Constructor Summary
ImageConversionTable.ImageRecord(java.io.File file, Format format)
          Construct an ImageRecord.
 
Method Summary
 java.lang.Object getOperationTarget()
          Gets the target of operation.
 
Methods inherited from class net.aerith.misao.gui.FileOperationTable.TableRecord
getFile, getStatus, setFile, setStatus
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

input_format

public Format input_format
The input image file format;

output_image

protected java.lang.String output_image
The output image file name.

output_format

protected Format output_format
The output image file format.

output_size

protected Size output_size
The output image size.

output_scale

protected int output_scale
The output image scale.

rescale_sbig

protected boolean rescale_sbig
True when to rescale SBIG ST-4/6 ratio.

output_transformation

protected int output_transformation
The output image transformation, size or scale.

filter_set

protected FilterSet filter_set
The set of image processing filters.

TRANSFORMATION_SIZE

protected static final int TRANSFORMATION_SIZE
The output image transformation number indicating size.

TRANSFORMATION_SCALE

protected static final int TRANSFORMATION_SCALE
The output image transformation number indicating scale.
Constructor Detail

ImageConversionTable.ImageRecord

public ImageConversionTable.ImageRecord(java.io.File file,
                                        Format format)
Construct an ImageRecord.
Parameters:
file - the input image file.
format - the input image file format.
Method Detail

getOperationTarget

public java.lang.Object getOperationTarget()
Gets the target of operation.
Overrides:
getOperationTarget in class FileOperationTable.TableRecord
Returns:
the target of operation.