Draws a box (cube) with the centroid "cn", dimensions L*W*H and color "cl".
The output is the plot and also the coordinates of all 8 corners. Example:
Cube_center( [0.2, 0.1, 0.2], 0.5, 0.8, 0.3, 'g' )
Cite As
Abolfazl Mohebbi (2026). Cube_center( cn, L, W, H, cl ) (https://www.mathworks.com/matlabcentral/fileexchange/61118-cube_center-cn-l-w-h-cl), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > L*a*b* Color Space >
Find more on L*a*b* Color Space in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
