Visualization and image processing of spray structure under the effect of cavitation phenomenon