Skip to content
Testaroo
png3 KB

Indexed Instance Mask: 4 Objects (512px)

An indexed (palette) instance mask for the fruit still life: background = 0 and each fruit painted with its own instance id. Per-object class and normalised bounding box are listed in the specs.

Preview of Indexed Instance Mask: 4 Objects (512px)

Specifications

Width
512
Height
512
Mode
P (indexed)
Objects
4
Classes
banana, apple, orange, grapes
Indexing
0 = background, 1..N = instance id
Bbox Format
x0,y0,x1,y1 (fraction of width/height)
Banana Bbox
0.279,0.355,0.721,0.606
Apple Bbox
0.154,0.434,0.486,0.826
Orange Bbox
0.516,0.516,0.785,0.807
Grapes Bbox
0.359,0.650,0.641,0.910
Alt Text
An indexed (palette) instance mask for the fruit still life: background = 0 and each fruit painted with its own instance id
Alt Text Source
description

Testing contract

Expected to pass
Scenario
Exercise Indexed Instance Mask: 4 Objects (512px) in its ai segmentation workflow. An indexed (palette) instance mask for the fruit still life: background = 0 and each fruit painted with its own instance id.
Expected result
Decoded geometry is 512×512 pixels in P mode; frame count is 1. Declared feature checks: mode=P (indexed); objects=4; classes=banana, apple, orange, grapes; indexing=0 = background, 1..N = instance id; bboxFormat=x0,y0,x1,y1 (fraction of width/height).

What is a .png file?

PNG (Portable Network Graphics) is a raster image format using lossless DEFLATE compression. It supports full 8- or 16-bit-per-channel truecolor, palette, and greyscale modes with an optional alpha channel, but no animation. It is the standard choice for screenshots, logos, and graphics with sharp edges or transparency.

How to use this file

Use an example PNG to test image decoders, alpha-compositing, thumbnail generators, and format converters, or to verify that a pipeline preserves transparency and color depth on round-trip.

How to use this file for testing

“Indexed Instance Mask: 4 Objects (512px)” is a deterministic Testaroo fixture for Image segmentation, Object detection. RGB scenes paired with class or instance masks and documented class IDs and bounding boxes, for scoring semantic and instance segmentation against a known ground truth.

Documented properties for this file: 512×512. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

For image AI or enhancement tools, run the model or filter on this file and diff against the clean or ground-truth companion in the same group when available. Keep seeds and documented damage parameters in your evaluation notes so regressions are attributable.

Use the RGB input with its mask or soft-alpha companion. Class IDs and edge kinds are documented in specs, score IoU or boundary error against that ground truth, not a hand label.

Code examples

<img src="instances-mask.png" alt="Example image" width="640" loading="lazy">

Generated by generation/images_ai.py. Free for any use, no attribution required, license.