Simple Image Processing Tool / C++ Source(MFC, OpenCV) / 간단한 영상처리 툴

Created Date : 2008.10
Language : C++(MFC)
Tool : Visual C++ 6.0
Library & Utilized : OpenCV 1.0
Reference :  Image Processing Book, Learning OpenCV
etc. : -



When I teach Image Processing to undergraduate students,  this program is made for practicing programming.
This code includes simple image processing method.

ex) Image adding, reverse, Lookup Table making, Gamma adjusting, Image Zoom in/out, Rotation, Morphology, Histogram Drawing, Stretching, Laplacian, sovel, RGB, HSI, YCbCr..

The code may be useful to beginner studying image processing , MFC and OpenCV.


<source code>



If you have good idea or advanced opinion, please reply me. Thank you

(Please understand my bad english ability. If you point out my mistake, I would correct pleasurably. Thank you!!)---------------------------------------------------------------------------



간단한 영상 처리 소스
RAW 를 오픈하여
2영상 더하기, 역상계산, 룩업데이블 생성, 감마 조절
영상 축소, 영상확대, 영상 회전
모폴로지, 히스트그램 그리기, 스트레칭, 평활화
라플라시안, 평화화 소벨
을 처리함
또한 BMP 파일을 오픈하여 RGB, HSI, Ycbcr로 채널을 분리한다.
그리고 OpenCV를 이용하여
영상 밝기 조절, 크기 조절, 회전, 이진화, 팽창, 수축, 필터를 적용해 본다.

압축 파일에 소스, 이미지, 간략한 설명 문서가 있음



<source code>



좋은 의견이나 답변 남겨 주세요.

Split color channels -> RGB, HSI, YCbCr, YUV, YIQ, YUW / C++ source / 칼라 채널 분리

Created Date : 2007.8
Language : C/C++
Tool : Microsoft Visual C++ 6.0 (MFC)
Library & Utilized : -
Reference : Simplified approach to image processing book -Randy Crane-
etc. : Bmp Image File
                                            RGB                                                   YCbCr


 
                                            YIQ                                                      YUV

                                             HSI                                                       YUW    

This program splits the channel into several version.
There are many color channels for image processing such as RGB, HSI, YCbCr, YUV, YIQ, YUW.
Each channels is made by specific formula that is introduced from many image processing books. The method of covert is simple and not difficult.

For example YCbCr is made by blow formula.
Y = 0.299*R + 0.587*G + 0.114*B
Cb = -0.16874*R + -0.33126*G + 0.5*B
Cr = 0.5*R + -0.41869*G - 0.08131*B

You can download entire source code and report document(doc) but the report is written by korean (sorry). -> <here>

If you have any question or opinion for improving, please reply.
Thank you.

(Please understand my bad english ability. If you point out my mistake, I would correct pleasurably. Thank you!!)
-------------------------------------

이 프로그램은 bmp파일을 열어서 여러가지 채널로 분리하는 간단한 영상 처리 프로그램입니다.
색 채널 분리는 이미지 처리 책에서 쉽게 그 방법과 원리를 찾아 볼 수 있습니다.
예를 들어 RGB에서 YCbCr로 분리하는 방법은 아래 수식으로 가능합니다.

Y = 0.299*R + 0.587*G + 0.114*B
Cb = -0.16874*R + -0.33126*G + 0.5*B
Cr = 0.5*R + -0.41869*G - 0.08131*B


더 자세한 내용은 링크한 저의 전체 소스 코드를 첨부하세요.
압축 파일에는 한글로 된 보고서도 포함되어 있습니다. - > <here>

오래 전에 만든 소스라 부족함이 많을 것 같네요.
문제점이나 개선 사항 있으면 답변 주세요.
감사합니다.