View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Get subwindow of image

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.34 KB File ID: #39918 Version: 1.0
image thumbnail

Get subwindow of image



Function for sampling of small images from big images. At x,y gets an image of sizex,sizey.

| Watch this File

File Information

get_subwindow( inputImage, y, x, sizey, sizex , borderPolicy)

It is free for any use. If you use it, please cite:

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
21 Jan 2013 Jurgen

Jurgen (view profile)

Documentation is a bit lacking, maybe worth adding input checking too. But I can see myself using it, thanks.

May help noting that borderpolicy may be a scalar or string ('circular', 'replicate', 'symmetric') and only applies if the subwindow is outside the original image space.

Comment only

Contact us