1. A method comprising: specifying a class network; specifying a process hierarchy; acquiring pixel values of an image that includes cell components, wherein certain of the cell components are marked using fluorescence in situ hybridization; generating a data network based on the class network and the process hierarchy, wherein the data network includes an object that is linked to some of the pixel values, and wherein the object corresponds to a marked cell component; and counting the marked cell components using the data network.