[Insight-users] watershed

yasser salman yass71 at yahoo . com
Sat, 24 May 2003 04:07:10 -0700 (PDT)


hi all.,
can any body tell me is it right to run waterShed
application by making these modifications. 

 conductance_term=1.0;
diffusion_iterations=10;
lower_threshold=0.07;
argv[1]="C:/YASCOPY/ImageData/h1.PNG";
argv[2]="C:/YASCOPY/ImageData/output_prefix";
argc=6;
 
 if (argc != 6)
  pgm_reader::die ("Use: watershed input_file
output_file_prefix conductance_term
diffusion_iterations lower_threshold");

  sscanf(argv[3], "%f", &conductance_term);
  sscanf(argv[4], "%d", &diffusion_iterations);
  sscanf(argv[5], "%f", &lower_threshold);
  //  sscanf(argv[6], "%f", &flood_level);
  
also i see that the buffer of the reader is 256 what
does it mean?
yasser..,


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search . yahoo . com