module StumpyJPEG::Transformation

Defined in:

stumpy_jpeg/transformation.cr

Constant Summary

A = [0.0, 0.7071067811865476, 0.5411961001461969, 0.7071067811865476, 1.3065629648763766, 0.38268343236508984, 0.9238795325112867]
C = [1.0, 0.9807852804032304, 0.9238795325112867, 0.8314696123025452, 0.7071067811865476, 0.55557023301960230, 0.38268343236508984, 0.19509032201612833]

Class Method Summary

Class Method Detail

def self.fast_inverse_transform(coefficients : Matrix, quantization_table : Quantization::Table) #

[View source]
def self.fast_inverse_transform(coefficients : Array, quantization_table : Quantization::Table) #

[View source]