Code covered by the BSD License  

Highlights from
Get subwindow of image

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

Get subwindow of image

by

 

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

| Watch this File

File Information
Description

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

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

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.

Contact us