|
Algorithm 1. OCD4M |
| Require: |
| Camera sensor set , target surface , Observation platform , Photography distance , sensing angle
|
| Ensure: |
| A is covered by the set of , and the degree of overlap of adjacent greater than 80%. (1) ; (2) ; (3) . |
| Process: |
| 1: Compute the range of A. , |
| 2: Compute the range of B. , |
| 3: Compute the rang of Ci, |
| 4: Whether to cover the Z direction of Mine Surface A |
| 5: while do |
| 6: get the number of camera sensors at each point |
| 7: K++ |
| 8: End while |
| 9: Judge the Length relationship of A and B |
| 10: If () do |
| 11: normal case photography, compute the minimum of camera sensors by Formula (9): |
| 12: Compute the coordinate of each camera sensor according to the photography |
| 13: distance by Equation (11), |
| 14: ,
|
| 15: Else |
| 16: convergent photography (angle ); |
| 17: compute the range of camera sensor number by |
| 18: Equations (9)–(11), |
| 19: we can get K, N and
|
| 20: End If |
| 21: Return number () and position of sensor
|