A detection method for small casting defects based on bidirectional feature extraction | Synapse