edgeDetection

edge_extraction(upscaled_image:np.ndarray, thr:int)
Extract edge pixels from an upscaled image using a threshold. Italian Trulli Italian Trulli This function detects the first pixel above the threshold from the left, right, and top of the image to form a rough outline of detected objects. Duplicate points are removed.
Parameters:
Returns:
Tuple[List[int], List[int]]: Tuple of (i_list, j_list) representing the x and y
Author:
- Yassin Riyazi (Using SIMD for speedup)
- Sajjad Shumaly
Labels:

src_PyThon_ContactAngle_CaMeasurer_edgeDetection_edge_extraction

advancing_pixel_selection(i_list:List[int], j_list:List[int], left_number_of_pixels:int)
Selects pixels from the advancing (left) side of a droplet, with spatial filtering and improved precision, ensuring even row distribution. There is a logocal error in the code. Look at Projects/ContactAngle/CaMeasurer/advancing_pixel_selection_advacingPoints30.png Italian Trulli Italian Trulli Italian Trulli
Parameters:
Returns:
Tuple[List[int], List[int]]: Selected advancing edge pixels (x, y).
Author:
- Sajjad Shumaly
Labels:

src_PyThon_ContactAngle_CaMeasurer_edgeDetection_advancing_pixel_selection

Advancing_pixel_selection_Euclidean(i_list:List[int], j_list:List[int], left_number_of_pixels:int)
Selects pixels from the advancing (left) side of a droplet, sorted by 2D Euclidean distance from the leftmost point, returning specified number of pixels. Italian Trulli Italian Trulli Italian Trulli
Parameters:
Returns:
Tuple[List[int], List[int]]: Selected advancing edge pixels (x, y).
Author:
- Yassin Riyazi (Norm2 based selection)
Labels:

src_PyThon_ContactAngle_CaMeasurer_edgeDetection_Advancing_pixel_selection_Euclidean

Receding_pixel_selection_Euclidean(i_list:List[int], j_list:List[int], left_number_of_pixels:int)
Selects pixels from the receding (right) side of a droplet, sorted by 2D Euclidean distance from the leftmost point, returning specified number of pixels from both ends. Italian Trulli Italian Trulli Italian Trulli
Parameters:
Returns:
Tuple[List[int], List[int]]: Selected receding edge pixels (x, y).
Author:
- Yassin Riyazi (Norm2 based selection)
Labels:

src_PyThon_ContactAngle_CaMeasurer_edgeDetection_Receding_pixel_selection_Euclidean