**6. Conclusions**

The conducted experiments show that among the considered methods, in all conditions, only variations of the Sobel operator compete for the title of the best. With different lighting, different variations can be considered the best. In addition, although there is a difference in quality between variations of the Sobel operator, with all types of lighting, they all give a good result. All others highlight the characteristics rather weakly. The resulting dependence presented in the diagram allows fully automating the process of selecting a filter for image preprocessing when designing adaptive computer vision.

**Author Contributions:** Conceptualization, V.H. and M.M.; methodology, M.M.; software, M.N.; validation, M.N., M.N.; formal analysis, V.H.; investigation, M.M.; resources, M.N.; data curation, M.N.;writing—original draft preparation, V.H.; writing—review and editing, M.N.; visualization, M.N.; supervision, V.H.; project administration, V.H. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research received no external funding.

**Data Availability Statement:** Not applicable.

**Conflicts of Interest:** The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
