Skip to content
Snippets Groups Projects
Commit 0ebd0fe2 authored by Albert Mitjans I Coma's avatar Albert Mitjans I Coma
Browse files

Reduce blob size, reduce num iterations, increase threshold for dim ions

parent a7b3d837
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,14 @@ DB_HOST = '10.241.215.1' ...@@ -14,11 +14,14 @@ DB_HOST = '10.241.215.1'
DB_PORT = 8086 DB_PORT = 8086
DB_DATASET = 'barium' DB_DATASET = 'barium'
# Minimum pixel distance between ions
ION_DIST = 15
# Relative intensity threshold to differentiate good/bad isotopes (w.r.t. to max intensity) # Relative intensity threshold to differentiate good/bad isotopes (w.r.t. to max intensity)
INT_THS = 0.6 INT_THS = 0.65
# Number of iterations before restarting the position's memory # Number of iterations before restarting the position's memory
NUM_ITERATIONS = 5 NUM_ITERATIONS = 3
# Relation factor between pixels and distances # Relation factor between pixels and distances
DIST_FACTOR = 70.4 DIST_FACTOR = 70.4
...@@ -30,7 +33,7 @@ SHAPE = (960, 1280, 3) ...@@ -30,7 +33,7 @@ SHAPE = (960, 1280, 3)
TYPE = np.uint16 TYPE = np.uint16
# Blob detection size # Blob detection size
BLOB_SIZE = 9 BLOB_SIZE = 8
# Region of interest of the image # Region of interest of the image
REGION = np.array([[8, 466], [1260, 638]]) REGION = np.array([[8, 466], [1260, 638]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment