Loss of myelin staining is generally detected through histological examination using light microscopy. Pathologists look for areas where the typical blue or black coloration of myelin (depending on the stain used) is absent. In more advanced techniques, immunohistochemistry (IHC) can be used to detect specific myelin proteins, providing a more precise diagnosis.