View image
view_imageInspect an image at a controlled size with a pixel-coordinate grid, zoom into regions, and overlay saved annotations to verify object locations before labeling.
Instructions
Look at an image: returns the picture itself, scaled to at most max_size pixels, with a yellow grid labelled in the ORIGINAL image's pixel coordinates.
Use it before segment_objects or add_annotations to read where objects are (boxes and points are in those coordinates), and with with_annotations=true afterwards to check the outlines. region zooms into part of a large image (x, y, width, height in image pixels), e.g. to see individual nuclei.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | No | Draw the yellow coordinate grid, labelled in original image pixels. | |
| region | No | Zoom into this part of the image (x, y, width, height in original image pixels); omit for the whole image. | |
| image_id | Yes | Id of an image in Image Label: the imageId (a UUID string) returned by list_images or an upload. | |
| max_size | No | Longest side of the returned picture, in pixels. | |
| with_annotations | No | Draw the image's saved annotations on the picture, to check them. |