palucdev / CudaOtsu

Otsu's method thresholding and image binarization on GPU in CUDA
MIT License
22 stars 10 forks source link

CPU timing incorrect? #13

Open WillNilges opened 1 year ago

WillNilges commented 1 year ago

Related to #12 , when I run the program like this,

./build/CudaOtsu ~/Pictures/inkpath_sample_images_vol_2/good/msd_board.png 1024 2  --gpu                                                                                                                                              <willnilges/building>

Setting OpenMP threads num to 16 threads
        [CPU-OpenMP] Threshold value: 168
CPU-OpenMP binarization taken 4.160166 seconds

I get those timing values, which, perceptibly, are incorrect. This run took, maybe 1 second.