File Exchange

image thumbnail

Get subwindow of image

version 1.0 (1.34 KB) by

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

2 Downloads

Updated

View License

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

It is free for any use. If you use it, please cite: http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6310525

Comments and Ratings (1)

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.

MATLAB Release
MATLAB 8.0 (R2012b)

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

» Watch video