Class charls.traits

java.lang.Object
gov.nih.mipav.model.file.charls.traits
Enclosing class:
charls

class charls.traits extends Object
  • Field Details

    • sample_t

    • pixel_t

    • always_lossless_and_default_parameters

      boolean always_lossless_and_default_parameters
    • fixed_bits_per_pixel

      boolean fixed_bits_per_pixel
    • maximum_sample_value

      int maximum_sample_value
    • range

      int range
    • near_lossless

      int near_lossless
    • quantized_bits_per_sample

      int quantized_bits_per_sample
    • bits_per_sample

      int bits_per_sample
    • limit

      int limit
    • quantization_range

      int quantization_range
  • Constructor Details

    • traits

      public traits(boolean always_lossless_and_default_parameters, boolean fixed_bits_per_pixel, charls.SampleType sample_t, charls.PixelType pixel_t, int maximum_sample_value, int range, int near_lossless, int quantized_bits_per_sample, int bits_per_sample, int limit, int quantization_range)
  • Method Details

    • is_near

      boolean is_near(int lhs, int rhs)
    • is_near

      boolean is_near(charls.pair<Short> lhs, charls.pair<Short> rhs)
    • is_near

      boolean is_near(charls.triplet<Short> lhs, charls.triplet<Short> rhs)
    • is_near_int

      boolean is_near_int(charls.pair<Integer> lhs, charls.pair<Integer> rhs)
    • is_near_int

      boolean is_near_int(charls.triplet<Integer> lhs, charls.triplet<Integer> rhs)
    • is_near

      boolean is_near(charls.quad<Short> lhs, charls.quad<Short> rhs)
    • is_near_int

      boolean is_near_int(charls.quad<Integer> lhs, charls.quad<Integer> rhs)
    • compute_reconstructed_sample

      int compute_reconstructed_sample(int predicted_value, int error_value)
    • compute_error_value

      int compute_error_value(int e)
    • quantize

      int quantize(int error_value)
    • modulo_range

      int modulo_range(int error_value)
    • correct_prediction

      int correct_prediction(int predicted)
    • is_valid

      boolean is_valid()
    • dequantize

      int dequantize(int error_value)
    • fix_reconstructed_value_32

      int fix_reconstructed_value_32(int value)
    • fix_reconstructed_value_16

      int fix_reconstructed_value_16(int value)
    • fix_reconstructed_value_8

      short fix_reconstructed_value_8(int value)