Key Frame Extraction for Sports Training Based on Improved Deep Learning
Table 1
bwmorph morphological operations on images.
Operation
Description
Botha’
It is a morphological “bottom cap” transformation operation, and the returned image is the original image minus the morphological closing operation (closing operation: first expand and then corrode)
Bridge
Disconnected pixels: the value pixel is set to 1 if it has two nonzero unconnected (8 neighborhood) pixels
Clean
Remove isolated pixels (by О 1)
Close
Perform morphological closing operation (expansion before corrosion)
Diag
The diagonal filling is used to eliminate the 8 connected regions in the background
Dilate
The structure ones (3) are used to perform the expansion operation
Erode
The structure ones (3) are used to perform the corrosion operation
Fill
Fill in isolated internal pixels (0 surrounded by 1)