or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

color.mddata.mddrawing.mdexposure.mdfeatures.mdfiltering.mdindex.mdio.mdmeasurement.mdmorphology.mdrestoration.mdsegmentation.mdtransform.mdutilities.md

data.mddocs/

0

# Data

1

2

Example images, datasets, and synthetic data generation functions for testing algorithms, learning image processing techniques, and algorithm development.

3

4

## Capabilities

5

6

### Standard Test Images

7

8

```python { .api }

9

def camera():

10

"""512×512 grayscale cameraman image."""

11

12

def astronaut():

13

"""512×512 color astronaut image."""

14

15

def coins():

16

"""303×384 grayscale coins image."""

17

18

def checkerboard():

19

"""200×200 checkerboard pattern."""

20

21

def horse():

22

"""328×400 binary horse silhouette."""

23

24

def rocket():

25

"""121×81 grayscale rocket image."""

26

27

def cat():

28

"""300×451 color cat image."""

29

30

def coffee():

31

"""400×600 color coffee image."""

32

```

33

34

### Scientific Images

35

36

```python { .api }

37

def brain():

38

"""Brain MRI slice."""

39

40

def cell():

41

"""Fluorescence microscopy cell image."""

42

43

def cells3d():

44

"""3D fluorescence cell image stack."""

45

46

def hubble_deep_field():

47

"""Hubble space telescope deep field image."""

48

```

49

50

### Synthetic Data Generation

51

52

```python { .api }

53

def binary_blobs(length=512, blob_size_fraction=0.1, n_dim=2, volume_fraction=0.5, seed=None):

54

"""Generate synthetic binary image with blob-like objects."""

55

56

def shepp_logan_phantom():

57

"""Generate Shepp-Logan phantom for tomography."""

58

```

59

60

### Utilities

61

62

```python { .api }

63

def data_dir():

64

"""Path to data directory."""

65

66

def download_all():

67

"""Download all remote datasets."""

68

```

69

70

## Types

71

72

```python { .api }

73

from numpy.typing import NDArray

74

import numpy as np

75

76

TestImage = NDArray[np.number]

77

SyntheticImage = NDArray[np.number]

78

```