Skip to main content
. 2023 May 10;23(10):4625. doi: 10.3390/s23104625
Algorithm 1 Overall Pipeline of DHV ROI Extraction
Require: A DHV image I and our detector D.
1: Feed I to D to obtain four keypoints P0, P1, P2, P3;
2: Set the line through P1P3 as the X-axis;
3: Set the direction perpendicular to P1P3 and P0 as the positive direction of the Y-axis;
4: Set the midpoint P4 of P1P3 as the origin (x0, y0);
5: Take P1P3 as the unit length of axis;
6: Construct the local coordinate system;
7: Set the center coordinate P5 of the ROI to x0,y0+56P1P3;
8: Set the side length of ROI to P1P3;
9: return segmented ROI