This research aims to analyze the distribution and evolution of pores within the planar structure of cement-based materials. Utilizing digital imaging methods, a model for pore plane distribution was established, and the evolutionary patterns of both total pore numbers and varying pore sizes in cement-based materials were investigated. The research introduced an innovative experimental method for analyzing pore distribution within cement-based planar structures. Additionally, a hybrid method was proposed, combining automated image binarization thresholding with manual comparative analysis, thereby enhancing the feasibility of comparative research. Pores were categorized into four distinct sizes: tiny pores (5–200 μm), small pores (200–500 μm), medium pores (500–1000 μm), and large pores (>1000 μm). Areas with apertures <5 μm were classified as dense areas. The findings indicated that the overall number of pores in cement-based materials increased due to the influence of styrene butadiene latex additives. However, at a 15% dosage, the rate of pore formation reached an inflection point, confirming that various factors, such as styrene butadiene latex, air bubbles, and the cement-based material itself, collectively influenced pore formation. The research also demonstrated that styrene butadiene latex affected the four categorized pore sizes differently. Importantly, a higher latex dosage did not necessarily lead to a proportional increase in pore content. Pore content was influenced by multiple factors and exhibited different distribution patterns. The number of micropores, although relatively small, gradually increased with higher latex dosages, while small and medium pores generally showed an upward trend. At a 10% latex dosage, both small and medium pores reached a turning point in their rate of increase. Large pores also exhibited a general increase, peaking at a latex dosage of 10%. It was confirmed that both the total pore volume and the content of micropores were critical factors in determining the mechanical properties of cementitious materials. Higher porosity and micropore content generally weakened mechanical performance. However, at a small latex dosage, there was an improvement in flexural strength. When the latex dosage reached 15%, the total pore and micropore content declined, resulting in a balanced increase in flexural strength and a mitigated decline in compressive strength. This study offers valuable insights into the evolution of total pore volume and the content of pores of various sizes, providing a theoretical basis for the meticulous selection of additive types and dosages from a microscopic perspective.