5.0

5.0 | 1 rating Rate this file 14 Downloads (last 30 days) File Size: 109 KB File ID: #34898
image thumbnail

Remove white space around images

by

 

02 Feb 2012 (Updated )

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 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
05 Dec 2014 Vincent Dore  
24 Feb 2014 gjtan

hi, is this same concept for horizontal projection profile (HPP) and vertical projection profile (VPP)?? HPP & VPP are the step for creating a unoform block of text in preprocessing step for image. I have tried using RemoveWhiteSpace function but it's not working. TQ

09 Feb 2012 Reza Farrahi Moghaddam

Thanks Richard,

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

09 Feb 2012 Richard Darling

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

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.

Contact us