Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001060A
printf("\nCIPS>> Enter input image name\n");
get_image_name(name);
printf("\nCIPS>> Enter output image name\n");
get_image_name(name2);
get_parameters(&il, &ie, &ll, &le);
get_edge_options(&detect_type, &detect_threshold,
&high, &size);
if(detect_type == 1 ||
detect_type == 2 ||
detect_type == 3)
detect_edges(name, name2, the_image, out_image,
il, ie, ll, le, detect_type,
detect_threshold, high);
if(detect_type == 4)
quick_edge(name, name2, the_image, out_image,
il, ie, ll, le, detect_threshold,
high);
if(detect_type == 5)
homogeneity(name, name2, the_image, out_image,
il, ie, ll, le, detect_threshold,
high);
if(detect_type == 6)
difference_edge(name, name2, the_image, out_image,
il, ie, ll, le, detect_threshold,
high);
if(detect_type == 7)
contrast_edge(name, name2, the_image, out_image,
il, ie, ll, le, detect_threshold,
high);
if(detect_type == 8)
gaussian_edge(name, name2, the_image, out_image,
il, ie, ll, le, size,
detect_threshold, high);
break;
case 9: /* edge enhancement */
printf("\nCIPS>> Enter input image name\n");
get_image_name(name);
printf("\nCIPS>> Enter output image name\n");
get_image_name(name2);
get_parameters(&il, &ie, &ll, &le);
printf("\nCIPS>> Enter high threshold parameter");
printf(" \n\t___\b\b\b");
get_integer(&high);
enhance_edges(name, name2, the_image, out_image,
il, ie, ll, le, high);
break;
.
.
.
/******************************************************
*
* show_menu(..
*
* This function displays the CIPS main menu.
*
*******************************************************/
show_menu()
{
printf("\n\n\nWelcome to CIPS");
printf("\nThe C Image Processing System");
printf("\nThese are you choices:\n");
printf("\n\t1. Display image header");
printf("\n\t2. Show image numbers");
printf("\n\t3. Print image numbers");
printf("\n\t4. Display image (VGA & EGA only)");
printf("\n\t5. Display or print image using halftoning");
printf("\n\t6. Print graphics image using dithering");
printf("\n\t7. Print or display histogram numbers");
printf("\n\t8. Perform edge detection");
printf("\n\t9. Perform edge enhancement");
printf("\n\t20. Exit system");
printf("\n\nEnter choice _\b");
} /* ends show_menu */
/* End of File */
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/