piv.cfg 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [input]
  2. path=data/Image0.tif
  3. scale=2
  4. num_images=1
  5. # Define matrix_size to determines the number of surrounding pixels to # be
  6. # compared with, ideally make this number uneven # Being twice the size of the
  7. # actual ring thickness tends to be good
  8. matrix_size=26
  9. # Whether or not to remove high intensity pixels
  10. remove_high_intensity_pixels=false
  11. [output]
  12. dump_ring_to_image=false
  13. [ring]
  14. start=10
  15. end=130
  16. step=2
  17. # Giving thickness of rpiv.ing NOTE if rings raddi apiv.nd thickness are too
  18. # big, you will get errors from the gpu saying CL_piv.INVALID_WORK_GROUP_SIZE
  19. thickness=6
  20. # Set the maximum number of rings that should detected per ring pattern, if the
  21. # number of found rings is greater than max_count, then the output is ignored
  22. max_count=100
  23. # Should be the same dimension as input image
  24. width=1080
  25. height=1280
  26. [filter]
  27. # When images maximum is less than min ignore output. Min is the likelyness
  28. # value for a pixel to be the center of a ring and ranges from 0 to 1
  29. min=0.125
  30. # Consider only pixels that are above 0.8 * max when searching for clusters of
  31. # pixels. Where max, is the highest intensity in the image
  32. threshold=0.8
  33. [dup]
  34. # Set minumum distance between rings, and how close two different radius are
  35. # considerend to be same ring
  36. threshold=8.0
  37. [remove]
  38. # Up to what radii difference is a ring considered an inner or outer ring of two
  39. # intersecting rings
  40. threshold=4.0
  41. [radii]
  42. # Vary up from -radii_range to randii_range the radius to find the polynomial
  43. # that corresponds to the rings contrast
  44. range=6
  45. # Set the minimum contrast a ring should have to be considered a ring
  46. threshold=0.01
  47. # By how much may the ring center be displaced to find it's actual center and
  48. # it's actual radius
  49. displacement=1