Esempio n. 1
0
int main()
{
    IMAGE *image1 = image_read("pc1.bmp");
    IMAGE *image2 = myfunction1(image1);
    image_write("Otsu.bmp",image2);
    system("Otsu.bmp");
    IMAGE *image3 = myfunction2(image1);
    image_write("Adaptive.bmp",image3);
    system("Adaptive.bmp");
    return 0;
}
Esempio n. 2
0
int
main (void)
{
  int i, j;

  /* Call the test function repeatedly, enough times for all our tests
     without running forever if something goes wrong.  */
  for (i = 0, j = 0; i < 1000; ++i)
    j += myfunction (0);

  my_unique_function_name (j);

  return myfunction2 (j);
}