Be the first to rate this file! 12 Downloads (last 30 days) File Size: 109.38 KB File ID: #34898
image thumbnail

Remove white space around images

by Reza Farrahi Moghaddam

 

02 Feb 2012 (Updated 14 Feb 2012)

RemoveWhiteSpace removes white spaces around images.

| Watch this File

File Information
Description

RemoveWhiteSpace function is a tiny tool to remove white spaces around an image.

Syntax:

1. For an image: u_out = RemoveWhiteSpace(u_in)

2. For an image file, to overwrite the result on the same file: RemoveWhiteSpace([], 'file', input_filename)

3. For an image file, to make a new output file: RemoveWhiteSpace([], 'file', input_filename, 'output', output_filename)

© February 2nd, 2012, By Reza Farrahi Moghaddam, Synchromedia Lab, ETS, Montreal, Canada

Required Products MATLAB
MATLAB release MATLAB 7.13 (2011b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
09 Feb 2012 Richard Darling

Appears to require Image Processing Toolbox or some internal rewriting to eliminate mat2gray and rgb2gray.

09 Feb 2012 Reza Farrahi Moghaddam

Thanks Richard,

I will add Image Processing Toolbox to the requirements for now.

Please login to add a comment or rating.
Updates
02 Feb 2012

A minor fix.

02 Feb 2012

A minor fix.

03 Feb 2012

A minor fix.

08 Feb 2012

A minor fix.

09 Feb 2012

Image Processing Toolbox is added to requirements.

13 Feb 2012

Removing the dependency on the Image Processing Toolbox.

14 Feb 2012

A minor fix.

Tag Activity for this File
Tag Applied By Date/Time
remove white space Reza Farrahi Moghaddam 02 Feb 2012 16:10:59
crop Reza Farrahi Moghaddam 02 Feb 2012 16:10:59
image processing Reza Farrahi Moghaddam 02 Feb 2012 16:10:59

Contact us at files@mathworks.com