The process begins with the preparation of tissue samples, which are stained to highlight specific cellular components. These stained slides are then scanned using a whole-slide imaging (WSI) system. The scanner captures the entire slide at high magnification, producing a digital image that can be viewed and analyzed on a computer screen.