Universal Color to Gray Conversion

버전 2.0.0.0 (3.32 MB) 작성자: Reza Farrahi Moghaddam
This function provides some methods to convert a color image to a gray-value image.
다운로드 수: 2.4K
업데이트 날짜: 2015/6/1

라이선스 보기

The implemented methods are:
1) 'normal', 'standard': rgb2gray of Matlab; ITU-R Recommendation BT.601.
2) 'avg', 'average': the output is the average of all three channels.
3) 'minavg', 'min_avg', 'min_average', 'minimum_average': The minimum-average method introduced in [1] for document image processing. it has less color dependency.
4) 'dual', 'dual_transform': The Dual Transform [2].
[1] R. Farrahi Moghaddam and M. Cheriet, A multi-scale framework for adaptive binarization of degraded document images, Pattern Recognition, 43, pp. 2186--2198, 2010, DOI: 10.1016/j.patcog.2009.12.024
[2] R. Farrahi Moghaddam, et.al., "A maximal-information color to gray conversion method
for document images: Toward an optimal grayscale representation for document image
binarization," 2013, [arXiv preprint http://arxiv.org/abs/1306.6058 arXiv:1306.6058, June 2013].
USAGE:
ugray0 = universal_color_to_gray_converter(u, method_flag, method_name);
where
u is the input color image.
method_flag is 'method'
method_name is one of above mentioned methods.
ugray0 is the output gray-level image.
OR
ugray0 = universal_color_to_gray_converter(u);
where
u is the input color image.
ugray0 is the output gray-level image; in this case, the method is 'min_avg';

인용 양식

Reza Farrahi Moghaddam (2024). Universal Color to Gray Conversion (https://www.mathworks.com/matlabcentral/fileexchange/27578-universal-color-to-gray-conversion), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
2.0.0.0

Dual Transform is linked.

1.4.0.0

Auto Scaling of the final output.
Auto scaling update.

1.3.0.0

Bug fixed.
Error fixed.

1.2.0.0

A description/acknowledgment on the sample image is added.

1.1.0.0

removed unnecessary file

1.0.0.0