Skip to content

quantize::laplacian::LaplacianWeightedError

More...

Public Functions

Name
init(self self, float sigma =2.0, str mode ="reflect")
float compute(self self, np.ndarray original_2d, np.ndarray reconstructed_2d, int block_size)

Protected Attributes

Name
_sigma
_mode

Detailed Description

class quantize::laplacian::LaplacianWeightedError;
Compute encode-side Laplacian-pyramid reconstruction error.```

## Public Functions Documentation

### function __init__

```python
__init__(
    self self,
    float sigma =2.0,
    str mode ="reflect"
)

function compute

float compute(
    self self,
    np.ndarray original_2d,
    np.ndarray reconstructed_2d,
    int block_size
)
Return weighted reconstruction MSE for the selected leaf size.```


## Protected Attributes Documentation

### variable _sigma

```python
_sigma;

variable _mode

_mode;

Updated on 2026-10-09 at 03:59:43 +0000