Research Article
Adaptive Transformation for Robust Privacy Protection in Video Surveillance
Algorithm 1
Adaptive data transformation.
Input: Original Video: | and set of static evidence regions: ; | Output: Transformed Video: | Description: | 1: for all do | 2: // Detect dynamic evidence regions | 3: ; | 4: if then | 5: if for previous frames then | 6: ; | 7: for all do | 8: ; | 9: end for | 10: else | 11: //Do the global transformation | 12: ; | 13: end if | 14: else | 15: //Foreground detected | 16: //Transform static regions | 17: | 18: for all do | 19: ; | 20: ; | 21: end for | 22: //Transform dynamic regions | 23: for all frame do | 24: //Calculate parameters for space variant operation | 25: | 26: if then | 27: ; | 28: end if | 29: end for | 30: //Data transformation over | 31: end if | 32: //Copy frame to output frame sequence | 33: ; | 34: end for | 35: return Transformed frame sequence as Video ; |
|