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 (2024). 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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |