The primary method for collecting digital data in histology is through whole-slide imaging (WSI). This involves scanning conventional glass slides at high resolution to create digital replicas. These digital slides can then be viewed and manipulated using specialized software.