Class charls.default_traits

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

class charls.default_traits extends Object
  • Field Details

    • always_lossless_and_default_parameters

      final boolean always_lossless_and_default_parameters
      See Also:
    • fixed_bits_per_pixel

      final boolean fixed_bits_per_pixel
      See Also:
    • sample_t

    • pixel_t

    • maximum_sample_value

      int maximum_sample_value
    • near_lossless

      int near_lossless
    • range

      int range
    • quantized_bits_per_sample

      int quantized_bits_per_sample
    • bits_per_sample

      int bits_per_sample
    • limit

      int limit
    • quantization_range

      int quantization_range
    • tr

  • Constructor Details

  • Method Details

    • compute_error_value

      int compute_error_value(int e)
    • compute_reconstructed_sample

      int compute_reconstructed_sample(int predicted_value, int error_value)
    • is_near

      boolean is_near(int lhs, int rhs)
    • is_near8

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

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

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

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

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

      boolean is_near(charls.quad<Integer> lhs, charls.quad<Integer> rhs)
    • correct_prediction

      int correct_prediction(int predicted)
    • modulo_range

      int modulo_range(int error_value)
    • is_valid

      boolean is_valid()
    • quantize

      int quantize(int error_value)
    • 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)