labeled_image
Generates labeled CT images with visible anatomical structures and answer keys for medical quiz questions, supporting click-the-structure hotspot practice.
Instructions
Find a slice where every labeled structure (plus context_structures) is visible, then render it.
Picks randomly among the top_k best cases so repeated calls vary (fix seed to reproduce).
shuffle_labels randomly reassigns the label texts among the groups so the answer's number varies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| seed | No | ||
| view | No | auto | |
| level | No | ||
| top_k | No | ||
| labels | Yes | ||
| render | No | ||
| filters | No | ||
| strategy | No | classical | |
| output_dir | No | ||
| hotspot_zones | No | ||
| include_base64 | No | ||
| shuffle_labels | No | ||
| context_structures | No |