> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/curator/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/curator/_mcp/server.

# nemo_curator.stages.interleaved.filter.blur_filter

## Module Contents

### Classes

| Name                                                                                                           | Description                                                                          |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [`InterleavedBlurFilterStage`](#nemo_curator-stages-interleaved-filter-blur_filter-InterleavedBlurFilterStage) | Filter interleaved image rows by sharpness (Laplacian variance); drop blurry images. |

### Functions

| Name                                                                                       | Description                                                       |
| ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
| [`_sharpness_score`](#nemo_curator-stages-interleaved-filter-blur_filter-_sharpness_score) | Compute Laplacian variance as sharpness score; higher is sharper. |

### Data

[`DEFAULT_BLUR_SCORE_THRESHOLD`](#nemo_curator-stages-interleaved-filter-blur_filter-DEFAULT_BLUR_SCORE_THRESHOLD)

### API

```python
class nemo_curator.stages.interleaved.filter.blur_filter.InterleavedBlurFilterStage(
    name: str = 'interleaved_blur_filter',
    drop_invalid_rows: bool = True,
    score_threshold: float = DEFAULT_BLUR_SCORE_THRESHOLD
)
```

Dataclass

**Bases:** [BaseInterleavedFilterStage](/nemo-curator/nemo_curator/stages/interleaved/stages#nemo_curator-stages-interleaved-stages-BaseInterleavedFilterStage)

Filter interleaved image rows by sharpness (Laplacian variance); drop blurry images.

```python
nemo_curator.stages.interleaved.filter.blur_filter.InterleavedBlurFilterStage.content_keep_mask(
    task: nemo_curator.tasks.InterleavedBatch,
    df: pandas.DataFrame
) -> pandas.Series
```

```python
nemo_curator.stages.interleaved.filter.blur_filter._sharpness_score(
    image: numpy.ndarray,
    row_index: collections.abc.Hashable | None = None
) -> float
```

Compute Laplacian variance as sharpness score; higher is sharper.

```python
nemo_curator.stages.interleaved.filter.blur_filter.DEFAULT_BLUR_SCORE_THRESHOLD: float = 100.0
```