Simultaneous Optimization of Abnormality Discriminator and Illumination Conditions for Image Inspection of Textile Products Topics: Color and Texture Analyses; Image Formation, Acquisition Devices and Sensors; Object Detection and Localization In Proceedings of the 20th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 3 VISAPP: VISAPP, 755-760, 2025 , Porto, Portugal