Pad an image subregion, restoring it's original spatial context.
This function is meant to work with the MatLab image toolbox function REGIONPROPS and expects the following inputs,
I is the original image supplied to REGIONPROPS
R is a label region 'image' returned by REGIONPROPS
B is a boundingbox returned by REGIONPROPS
REFRAME(I,R,B) applies PADARRAY to the label region 'image',R, returning an image with the dimensions of the original image, I, restoring the original spatial context of R.
The behavior of REFRAME can be modified by additional options which are specified as propertyName/propertyValue string pairs.
Options:
NAME / VALUE
-------------------
'padval' --scalar value, or text string:circular,replicate,symmetric; passed directly to PADARRAY (see padarray help file for details).
Cita come
DS (2024). Pad an image subregion, restoring it's original spatial context. (https://www.mathworks.com/matlabcentral/fileexchange/13896-pad-an-image-subregion-restoring-it-s-original-spatial-context), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.