Skip to content

JPEG2000 input transformation #18

@treigerm

Description

@treigerm

Raising this issue so that we remember the discussion from #15 .

Currently, given an input x we are dividing it by the absolute error bound eb. We should ideally ensure that this division does not bring us outside of the range of the data that can be represented with a signed integer (25-bit signed integer if I remember correctly?).

return CodecStack(
numcodecs_wasm_fixed_offset_scale.FixedOffsetScale(
offset=0,
scale=precision,
),
numcodecs_wasm_round.Round(precision=1),
numcodecs.astype.AsType(
encode_dtype="int32",
decode_dtype="float32",
),
numcodecs_wasm_jpeg2000.Jpeg2000(mode="psnr", psnr=psnr),
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions