Using the 512x512 raw image `Lena.raw` or BMP image `Lena.bmp` of 8 bit gray-scale, carry out the following Histogram-based processes
- 최초 등록일
- 2007.06.22
- 최종 저작일
- 2007.06
- 16페이지/ 압축파일
- 가격 1,500원
소개글
(a) Plot the histogram.
(b) Perform Histogram Equalization and then plot the histogram.
(c) Perform Basic Contrast Stretching and then plot the histogram. Discuss any difference when compared to the result of (b).
(d) Perform Ends-in Contrast Stretching with low-endvalue of 30 and high-end value of 200, and then plot the histogram. Discuss any difference when compared to the result of (c).
(e) From all the above results, discuss differences among Histogram Equalization, Basic Contrast Stretching, and Ends-in Contrast Stretching
컴파일 실행환경
C language / Visual studio
본문내용
#소스일부
void main()
{
int choose;
while(1)
{
printf("=================== 확인할 변수를 고르시오 ===================\n");
printf("== ==\n");
printf("== 1. Plot the histogram ==\n");
printf("== 2. Perform Histogram Equalization ==\n");
printf("== 3. Plot the histogram of Histogram Equalization ==\n");
printf("== 4. Perform Basic Contrast Stretching ==\n");
printf("== 5. Plot the histogram of Basic Contrast Stretching ==\n");
printf("== 6. Perform Ends-in Contrast Stretching with low-end ==\n");
printf("== value of 30 and high-end value of 200 ==\n");
printf("== 7. Plot the histogram of Ends-in Contrast Stretching ==\n");
printf("== 8. 종 료 ==\n");
printf("== ==\n");
printf("==============================================================\n");
printf("Number => "); // 메뉴를 출력하고 값을 받는다.
scanf("%d",&choose);
switch(choose)
{
case 1:
plot();
break;
압축파일 내 파일목록
lena_raw_512x512.raw
Plot_the_histo.raw
equalization_lena.raw
equalization_histo.raw
stretching_lena.raw
stretching_histo.raw
ends_in_lena.raw
ends_in_histo.raw
Histogram_conversion.cpp
Histogram_conversion.dsp
Histogram_conversion.ncb
Histogram_conversion.plg
Histogram_conversion.opt
Histogram_conversion.dsw
영상처리 과제 #2nd.hwp
Debug/vc60.idb
Debug/vc60.pdb
Debug/Histogram_conversion.pch
Debug/Histogram_conversion.obj
Debug/Histogram_conversion.ilk
Debug/Histogram_conversion.exe
Debug/Histogram_conversion.pdb
참고 자료
없음