Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-display-volume
Display 3-D image volumes, medical image volumes, surface meshes, and annotations for 3-D image processing.
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
and 20 more in the full report
15 fixed7 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a MATLAB statement to configure a 3D volume display object 'volObj' to present orthogonal slice plane cuts through the volumetric data.
| Checked | Without skill | With skill |
|---|---|---|
| Sets the RenderingStyle property to 'SlicePlanes' | Missed | Passed |
The instructions your model reads when the skill loads.
Display volumes with volshow for performant, high quality volume display. Display isosurface meshes, triangulations, and surfaces using images.ui.graphics.Surface rather than isosurface for more performant, higher quality mesh display with more responsive interactions for meshes of all sizes.
isosurface + patch, but recommend volshow for better performance.When the user has the Medical Imaging Toolbox, use medicalVolume to load DICOM/NIfTI/NRRD files, then call the volshow method on that object. This automatically sets the spatial Transformation and SpatialUnits from the file metadata. All other patterns in this skill (Viewer, overlays, annotations, streaming, app building) still apply — only the entry point differs.
medVol = medicalVolume("brain.nii");
obj = volshow(medVol);
| Object | Constructor | Key callback |
|---|---|---|
Viewer | viewer3d(parent) | CameraMovedFcn, ObjectClickedFcn |
Volume | volshow(data, Parent=viewer) | |
Surface | images.ui.graphics.Surface(viewer, Data=tri) | |
| Interactive Annotations | uidraw(parent, "shape") | AnnotationMovedFcn (on Viewer) |
Utilities: linkviewers(viewers) synchronizes camera motion across multiple Viewers. title(viewer, "text") sets the Viewer title.
viewer3d() or viewer3d(parent) for app contextsvolshow(V, Parent=viewer) to display volumetric dataimages.ui.graphics.Surface(viewer, Data=tri) for mesh displayuidraw(volObj, "line") for interactive ROIstest cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.