Image enhancement based-on local statistics using colfilt
by Xi-Nian Zuo
24 Nov 2005
(Updated 30 Nov 2005)
By built-in function colfilt, I develop one image enhancing codes based on local statistics in Gonza
|
Watch this File
|
| File Information |
| Description |
Ideas from Gonzalez's dip book.test image is downloaded from its webpage!I provide two functions with the same function. The first invoked by NLFILTER and second invoked by COLFILT.
In this case, file named demo_locstat2.m using mylocstat2 is much fast than demo_locstat.m using mylocstat. Please pay more attention on the different codeing styles between mylocstat.m and mylocstat2.m.
MYLOCSTAT - perform single-back gray value imadjustation based on local statistics for sliding block operation.
Motivation: try local statistics enhancement operation.
Parameters:
Iloc - the local neighbourhood of image to be processed.
M - the global mean of image's gray values.
D - the global variance of image's gray values.
E - the ehancement constant
k - the 1x3 sized threshold vector:
- k(1) is mean threshold
- k(2) and k(3) are variance threshold
MYLOCSTAT2 - perform single-back gray value imadjustation based on local statistics for sliding block operation.
Motivation: try local statistics enhancement operation.
Parameters:
Icol - the matrix includes the columns of all local neighbourhoods.
M - the global mean of image's gray values.
D - the global variance of image's gray values.
E - the ehancement constant
k - the 1x3 sized threshold vector:
- k(1) is mean threshold
- k(2) and k(3) are variance threshold |
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 6.5.1 (R13SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (7) |
| 08 Sep 2006 |
Hayder Jacob
|
|
|
| 27 Nov 2006 |
mark Donell
|
|
|
| 24 Mar 2007 |
subrajeet mohapatra
|
|
|
| 04 May 2008 |
shaimaa abd el-badia
|
|
|
| 04 May 2008 |
shaimaa abd el-badia
|
|
|
| 09 Jun 2008 |
W V
|
|
|
| 10 Apr 2011 |
amith Showry
|
|
|
| Updates |
| 30 Nov 2005 |
Add screenshots! |
|
Contact us at files@mathworks.com