Skip to main content

ORIGINAL RESEARCH article

Front. Public Health, 18 September 2024
Sec. Environmental Health and Exposome
This article is part of the Research Topic Greening Urban Spaces and Human Health, Volume II View all 26 articles

Assessing the nonlinear impact of green space exposure on psychological stress perception using machine learning and street view images

\r\nTianlin Zhang&#x;Tianlin Zhang1Lei Wang&#x;Lei Wang1Yazhuo Zhang
Yazhuo Zhang2*Yike Hu
Yike Hu1*Wenzheng ZhangWenzheng Zhang1
  • 1School of Architecture, Tianjin University, Tianjin, China
  • 2School of Civil Engineering, Tianjin University, Tianjin, China

Introduction: Urban green space (GS) exposure is recognized as a nature-based strategy for addressing urban challenges. However, the stress relieving effects and mechanisms of GS exposure are yet to be fully explored. The development of machine learning and street view images offers a method for large-scale measurement and precise empirical analysis.

Methods: This study focuses on the central area of Shanghai, examining the complex effects of GS exposure on psychological stress perception. By constructing a multidimensional psychological stress perception scale and integrating machine learning algorithms with extensive street view images data, we successfully developed a framework for measuring urban stress perception. Using the scores from the psychological stress perception scale provided by volunteers as labeled data, we predicted the psychological stress perception in Shanghai's central urban area through the Support Vector Machine (SVM) algorithm. Additionally, this study employed the interpretable machine learning model eXtreme Gradient Boosting (XGBoost) algorithm to reveal the nonlinear relationship between GS exposure and residents' psychological stress.

Results: Results indicate that the GS exposure in central Shanghai is generally low, with significant spatial heterogeneity. GS exposure has a positive impact on reducing residents' psychological stress. However, this effect has a threshold; when GS exposure exceeds 0.35, its impact on stress perception gradually diminishes.

Discussion: We recommend combining the threshold of stress perception with GS exposure to identify urban spaces, thereby guiding precise strategies for enhancing GS. This research not only demonstrates the complex mitigating effect of GS exposure on psychological stress perception but also emphasizes the importance of considering the “dose-effect” of it in urban planning and construction. Based on open-source data, the framework and methods developed in this study have the potential to be applied in different urban environments, thus providing more comprehensive support for future urban planning.

1 Introduction

Cities, as vital components of contemporary society, serve as central hubs for social, economic, political, and cultural activities (1, 2). Their intricate spatial structures, diverse socio-economic activities, and intricate interplay between human and natural environmental factors render them unique types of environments, exerting significant impacts on urban residents (3). Within the urban fabric, green spaces (GSs), easily accessible natural elements in daily life, hold indispensable importance for city dwellers (46). Its offer various social, environmental, and ecological benefits, such as mitigating urban heat island effects (7), enhancing urban hydrological cycles (8), and increasing biodiversity (9). However, the significance of GSs extends beyond these factors. Increasing research indicates that GS exposure positively influences the mental health of urban residents (10, 11).

GS exposure is commonly conceptualized as the extent of individual or group interaction with natural environments (12), and it plays a significant role in the physical and mental wellbeing of residents (13). On the one hand, GS exposure can improve residents' health by promoting outdoor activities (14, 15). On the other hand, it can directly alleviate mental fatigue and improve negative moods (16), and even enhance psychological states at a cognitive level (17). The effects of GS exposure arise from either direct or indirect sensory stimuli, including aspects such as color, shape, sound, and smell (18). In this process, visual perception is the most significant source of sensory exposure to GSs, with the most notable impact on psychology (19). Compared to traditional methods based on the normalized difference vegetation index (NDVI) (20) or land cover (21), this visibility-based evaluation method is more advantageous in research on the benefits of GS exposure (22, 23).

Theoretically, the positive effects of GS exposure on mental health have been recognized (24), but our understanding of its mechanisms remains incomplete. On one hand, most studies are based on subjective and indirect measures, such as subjective evaluations, the distance from the community to urban GSs, and statistics on GSs surrounding communities. These measures do not provide detailed information on actual psychological perception or any direct psychological perception information (25). This process is often limited by the collection of urban stress perception and the precise spatial correspondence between GS exposure and stress perception. On the other hand, most studies focus solely on linear impact results, ignoring the complex, non-linear impact processes. This hinders our exploration of the mechanisms through which GS exposure affects mental health, resulting in research findings that cannot be effectively applied in actual urban planning and construction (18).

Traditional psychological research often employs questionnaire surveys to assess stress perception in individuals and groups (26, 27). Although these methods have yielded certain research outcomes, the data collection process often consumes a considerable amount of time and human resources. Moreover, such methods are highly dependent on the survey subjects' memory and descriptive abilities, which may introduce errors (28). Therefore, their effectiveness and scalability are limited. With technological advancements, the development of devices such as eye trackers and electroencephalograms allows researchers to directly measure physiological responses, thus obtaining more accurate data on stress perception (29, 30). However, these devices are costly and complex to operate, making them unsuitable for large-scale research (3133).

The combination of machine learning and street view images (SVI) offers new perspectives and methods for urban psychological perception research. This approach can help us identify spatial characteristics on a large scale at the urban level (34) and capture the complex correlations of micro-level features (35). It enables a direct spatial correspondence between urban environmental features and residents' perception characteristics. The method of evaluating street environment characteristics and human perceptions through street view images is highly accurate in capturing wide-ranging environmental features and perceptions (36). For instance, Ki et al. (37) analyzed the impact of GS exposure on walking time in community streets, and Li et al. (38) explored the relationship between the urban built environment and residents' health status. Further research has delved into predicting built environment characteristics (39), measuring human perceptions (40), assessing urban environmental stress (41), evaluating urban safety (42), and measuring the restorative qualities of campus environments (43).

Although machine learning-based methods for psychological perception measurement have been applied in other related studies (44, 45), existing research often estimates psychological perception based on a single, direct question (40, 45, 46). While the single-question measurement approach is easy to operate and reduces the burden on respondents, thereby improving the efficiency of perception measurement experiments, it oversimplifies the evaluation process of psychological stress perception. This simplification results in outcomes that fail to fully capture the complex, multidimensional psychological responses of volunteers when faced with street view scenarios (47). Studies have shown that when addressing symptoms such as stress, depression, and anxiety, the inadequacies of single-item measures in fully capturing the complexity of psychological constructs become more evident (48). Furthermore, this approach is more susceptible to social desirability bias or recall bias, thereby affecting the accuracy of the results (49). This has led to widespread skepticism about the street view perception evaluation method among questionnaire users. Therefore, it is necessary to construct a multidimensional psychological stress perception evaluation framework to compensate for the shortcomings of existing evaluation methods. This framework will allow for the extraction of psychological stress perceptions from multiple dimensions and their application in large-scale psychological stress perception assessments.

Building on previous research, this study makes further explorations in the following three areas: (1) Utilizing SVI to accurately measure urban GS exposure and psychological stress perception, ensuring spatial consistency and providing direct evidence of their relationship. This demonstrates the potential of using open data for large-scale psychological perception research; (2) Combining interdisciplinary theoretical knowledge to construct and validate a multidimensional stress perception evaluation framework, revealing the intrinsic formation mechanisms of environmental stress perception. This method can be conveniently applied to studies in other cities, providing a powerful tool and reference for related research; (3) Using interpretable machine learning algorithms to deeply uncover the complex, non-linear effects of GS exposure on psychological stress perception and identify its thresholds. This emphasizes the need to consider the “dose-effect“ of GS exposure in urban planning and construction, seeking the optimal level of GS layout to effectively enhance spatial quality.

This study focused on the central area of Shanghai and collected data from Baidu SVI to perform semantic segmentation. These segmented images served as the basis for extracting indicators related to urban GS exposure. Subsequently, utilizing a machine learning model based on the Support Vector Machine (SVM) architecture and integrating stress perception scales, we achieved spatial distribution measurement of psychological stress perception. Ultimately, by conducting regression analysis with a machine learning model based on the eXtreme Gradient Boosting (XGBoost) algorithm, we uncovered the nonlinear relationship between GS exposure and residents' psychological stress perception in urban environments. This method of assessing street environmental characteristics and human perception through street-view images demonstrated high accuracy in capturing extensive environmental features and perceptions (36). The contribution of this study not only constructs a novel and effective stress perception evaluation framework for assessing the psychological stress of urban residents across a broader geographical range and at a finer granularity but also reveals the complex impact process of GS exposure on residents' stress perception. This is conducive to the formulation of government public health policies, guiding future urban planning and construction, and ultimately enhancing the wellbeing of urban residents.

2 Methodology

2.1 Research framework

This study was divided into three main stages (Figure 1). First, we collected street network data from the study area using OpenStreetMap (OSM) and generated SVI sampling points at 50 m intervals. We then accessed the Baidu Map Application Programming Interface (API) to collect Baidu SVI. Utilizing an image semantic segmentation neural network model, we obtained full-element segmentation data from the Baidu SVI and extracted GS exposure features. In the second stage, we developed a framework for measuring city-wide psychological stress perception. We collected volunteers' scores using a psychological stress perception scale and created a resident psychological stress perception label dataset, which served as the training data for a machine learning model based on SVM. This enabled us to achieve city-wide measurement of resident psychological stress perception. In the third stage, the complex association between GS exposure and stress perception was explored through a machine learning model based on XGBoost, and strategies for enhancing urban GSs were proposed based on these findings.

Figure 1
www.frontiersin.org

Figure 1. Research framework for the present study.

2.2 Study area

Shanghai is situated in the eastern part of China, between longitudes 120°51′E and 122°12′E and latitudes 30°40′N and 31°53′N. It serves as China's economic and financial center, and its level of urban development is among the highest in the country (Figure 2). The city experiences a subtropical monsoon climate, with an average temperature of 25.8°C. The focus of this study is on the central area of Shanghai, which is the region enclosed by the outer ring highway. This area includes Huangpu District, Xuhui District, Changning District, Jing'an District, Putuo District, Hongkou District, Yangpu District, and portions of Pudong New Area, Minhang District, Baoshan District, and Jiading District. Covering a total area of 660 km2, it is a high-density urban region characterized by intense economic and social activities, a large population, and a blend of built environments and natural elements. Additionally, this area provides abundant Baidu SVI data, which contributes to the accuracy of the study's results.

Figure 2
www.frontiersin.org

Figure 2. Study area. (a) China, (b) Shanghai, (c) Central area of Shanghai, (d) Road network and administrative divisions.

2.3 SVI data collection

SVI are widely used in the analysis and assessment of urban environments, enabling perception and observation from a human-centric viewpoint (50). Among these platforms, Google SVI and Baidu SVI offer high-quality data and are most commonly used in research. These SVI platforms provide API, allowing users to download large-scale, quantitative data. In this study, we collected SVI from Baidu Maps (https://api.map.baidu.com/panorama/v2?ak=YOURKEY), which offers good coverage for Chinese cities (41). We generated Baidu SVI collection points every 50 meters along the road networks, which we downloaded from OSM. We calculated the viewpoint directions of the sampling points in Geographic Information System to ensure that all images aligned with the spatial direction of the road. This helps to comprehensively reflect the true urban environment. Figure 3 shows an example of a Baidu SVI sampling point. In the entire study area, we generated a total of 71,533 collection points. The image resolution was set to 600 × 480 pixels to meet the requirements of this study. To avoid affecting the overall urban environment assessment, we carried out data cleaning to remove invalid and duplicate SVI and to eliminate low-quality images with issues such as blurring, overexposure, and underexposure. In total, we collected 250,776 SVI and created 62,694 360° panoramic images by stitching them together. Despite the presence of areas where street view data could not be collected, the available data samples are sufficient to meet the research needs and maintain consistency in image features. It is worth noting that the data used in our study are cross-sectional, which has limitations in tracking changes over time.

Figure 3
www.frontiersin.org

Figure 3. Example of the Baidu SVI collection process.

2.4 Measurement of GS exposure based on scene semantic segmentation

The scene semantic segmentation technology employed in this study exhibits robust segmentation and identification capabilities and has found extensive application in related research (34, 35, 51). In this study, a convolutional neural network (CNN) image segmentation model was trained based on the SegNet architecture, achieving precise pixel-level classification for SVI (52). The architecture of the network is primarily bifurcated into an encoder and a decoder. While the encoder is responsible for compressing and extracting object information, the decoder reconstructs the extracted semantic information to match the dimensions of the input image. Through this methodology, each pixel is categorized and represented by a color corresponding to its specific object information. The training dataset employed for this study is the ADE_20K dataset, which encompasses a diverse range of elements such as plants, sky, road, cars, and 150 other common scene elements. Previous research has confirmed the high accuracy of this dataset (53). The training process yielded an accuracy rate of 90.83% on the training set and 89.95% on the validation set, corroborating the model's efficacy in interpretative tasks related to stress perception. Visual elements pertinent to GS exposure, such as trees, grass, and flora, were extracted to compile comprehensive data daily accessible GS exposure. Figure 4 illustrates the working process.

Figure 4
www.frontiersin.org

Figure 4. Overview of GS exposure extraction and stress perception evaluation process based on machine learning.

2.5 Resident psychological stress perception dataset

We deployed the SVI scoring program on the Tencent Cloud server to facilitate convenient access for experimenters conducting perception scoring experiments from any computing device. Based on the previous research and machine learning requirements, we recruited a total of 32 students and staff as volunteers for this experiment. All participating volunteers were fully informed about this experiment and consented to the use of collected data for scientific research. Descriptive statistics of the volunteers' basic information are shown in Table 1. Among the volunteers, 17 were female and 15 were male, with an average age of 34.66; the ratio of local to non-local participants was 1:1. Drawing on previous research (54), we created a psychological stress perception factor scale (Table 2). This scale consisted of five factors and 12 questions, aimed at guiding the volunteers in contemplating their psychological stress perception of urban environment (55). Each volunteer received 50 pictures and was instructed to observe each image for a minimum of 30 seconds. Notably, to ensure a comprehensive coverage of the entire study area, we performed a non-systematic random selection of the SVI. We employed a 5-point Likert scale to assess the extent to which the content of each factor aligned with the volunteer's perception. We then inverted the scores for positive tendencies and calculated the psychological stress perception scores through weighted averaging.

Table 1
www.frontiersin.org

Table 1. Descriptive statistics for the volunteers.

Table 2
www.frontiersin.org

Table 2. Psychological stress perception scale.

2.6 Resident psychological stress perception prediction based on SVM algorithm

To investigate the psychological stress perception among urban residents, we employed a SVM-based machine learning algorithm. SVM is renowned for its effectiveness in handling high-dimensional data, providing a robust method to discover the optimal separating boundary between categories. This is crucial for accurately classifying and predicting psychological stress perception from street view image data. This particular model has been validated and has exhibited robust performance in prior studies (56, 57). In our implementation, SVI scores related to psychological stress perception served as the training data, while the features extracted from these images were used as input variables. The aggregated scores from all volunteers were compiled into an SVM training dataset. We chose the Radial Basis Function (RBF) kernel to improve the model's fit. Then, we determined the optimal hyperplane for classification by solving a convex optimization problem, as formalized in Equation 1.

min12||w||2    (1)

Here, w is the normal vector of the decision boundary. We aim to minimize this objective function while satisfying the constraints described by Equation 2.

yi(w·xi+b)1    (2)

Here, yi is the class label of the sample, xi is the feature vector of the sample, and b is the bias term.

For model assessment and optimization, cross-validation techniques were employed to evaluate the performance of the SVM model. During this phase, the hyperparameters of the SVM model were fine-tuned to optimize performance. A subset comprising 75% of the psychological stress perception scoring data was allocated for training purposes, while the remaining 25% served as a validation set to assess model accuracy. The SVM-based validation set achieved an accuracy rate exceeding 80%, suggesting that the model possesses robust predictive and applicative capabilities for assessing residents' perceptions of psychological stress. Figure 4 illustrates the specific operational workflow of the model.

2.7 Principal component analysis

Principal Component Analysis (PCA) is a prevalent method in data analysis, enabling the identification of principal features and intrinsic structures within a dataset. This study employs PCA to analyze the composition of stress perception, clarifying the contributions of various stress perception factors. The principal steps involve initially centralizing the data, followed by the computation of the covariance matrix and the determination of its eigenvalues and eigenvectors. Based on the amount of information required to be retained, the first k eigenvectors corresponding to the largest eigenvalues are selected. These eigenvectors form the new feature space. By projecting the centralized data onto the chosen eigenvectors, the dimensionality-reduced data is obtained. The computational formula for projecting into the new space can be represented as Equation 3.

Y=XPk    (3)

Here, Y represents the matrix of the data after dimensionality reduction, X′ denotes the matrix of the data post-centralization, and Pk is the matrix composed of the selected k eigenvectors.

2.8 Regression analysis

To investigate the relationship between GS exposure and the psychological stress perception in the central area of Shanghai, we conducted regression analyses on the respective scores. Different regression models were employed, including the Ordinary Least Squares (OLS) regression model and machine learning models based on the XGBoost algorithm. The OLS regression model serves as a global model and estimates the coefficients of the explanatory variables in the linear equation by minimizing the sum of squared differences between the predicted and observed values in the dataset (58). The computational formula for the OLS model can be represented as follows (Equation 4):

Y=Xβ+ϵ    (4)

Here, Y is the dependent variable, X is the matrix of explanatory variables, β is the vector of coefficients, and ϵ is the vector of random error terms.

OLS is generally capable of elucidating only the simple linear associations between independent and dependent variables, falling short of analyzing more intricate variations therein. To investigate the nonlinear impact of GS exposure on stress perception, we employed a machine learning model based on the XGBoost algorithm, an optimized gradient boosting algorithm designed to address regression, classification, ranking, and user-defined prediction issues. We chose XGBoost because it can accurately interpret the nonlinearity and complex interactions between variables that are prevalent in urban planning research. Its use of a gradient boosting framework helps effectively handle various types of structured and unstructured data, improving the accuracy of exploring the nonlinear effects of GS exposure on psychological stress perception. This algorithm establishes an ensemble of decision tree models, aptly capturing nonlinear relationships between independent and dependent variables. Compared to traditional gradient boosting algorithms, XGBoost incorporates a regularization term in its objective function. The inclusion of this term aims to penalize model complexity, preventing overfitting on the training data. Specifically, the objective function of XGBoost comprises not only the prediction error but also a regularization term measuring model complexity. This regularization term is directly proportional to both the number of trees in the model and the number of leaf nodes in each tree. Thus, as the model grows more complex, the value of the regularization term increases. By balancing prediction error and model complexity in the objective function, XGBoost enhances model performance on the testing set and mitigates the risk of overfitting. We divided the input dataset into 80% and 20% for training and testing, respectively. A cross-validation method was utilized, incorporating nested Hyperopt for hyperparameter optimization, thereby refining the model's predictive accuracy (59). The objective function of XGBoost is a combination of prediction error and model complexity and can be represented as follows (Equation 5):

obj(θ)=i=1nl(yi,y^i)+k=1KΩ(fk)    (5)

Here, l represents the loss function, delineating the discrepancy between the predicted value yiand the true value ŷi. Ω is the regularization term, incorporated to impose constraints on the model, thereby averting overfitting Typically, it considers both the number of leaf nodes in the tree and the scores associated with these nodes.

3 Results

3.1 Spatial distribution characteristics of GS exposure

The results of this study are presented with reference to fishnet (500 m × 500 m) and are visualized in Figure 5. GS exposure within the central area of Shanghai varies from 0 to 0.89, with a mean value of 0.24. As depicted in Figure 5a, considerable spatial disparities in GS exposure are evident. These disparities are characterized by elevated levels of exposure in peripheral areas and diminished levels in central locations. The GS exposure on the eastern side of the research area is higher than that on the western side. This may be related to the level of urban development. Lower values of GS exposure are predominantly observed in the Jing'an District, Hongkou District, and Huangpu District, with the nadir observed at the confluence of these three districts. Conversely, elevated levels of GS exposure are primarily localized within the Pudong District. Figure 5b reveals that GS exposure at the majority of streetscape data collection points is < 0.40, indicative of a generally low prevalence of GS exposure in central Shanghai.

Figure 5
www.frontiersin.org

Figure 5. Spatial distribution and statistical distribution of GS exposure at fishnet level. (a) Spatial distribution of GS exposure. (b) Statistical distribution of GS exposure.

3.2 Spatial distribution characteristics of five types of psychological stress perception factors

As illustrated in Figure 6, the spatial distribution of the relaxation factor exhibits a notable pattern, characterized by higher values at the periphery and lower values at the center of the study area. Conversely, the crowding factor demonstrates a trend of higher values in the city center and lower values toward the periphery safety and familiarity exhibit similar spatial distribution patterns, both displaying a “low-high-low” gradient from the center to the periphery. This pattern may be attributed to the increased controllability and predictability found in environments that are more familiar and easier to integrate into, which consequently elicits more positive emotional responses and encourages residents to remain in these areas. The stayability factor also manifests a “low-high-low” spatial distribution from the center outward, suggesting that residents near both the center and the periphery are less inclined to stay. This observation suggests that areas that are either highly developed or underdeveloped are equally unfavorable for residents' proclivity to linger. In summary, the average scores for relaxation and stayability are observed to be higher than those for safety and familiarity. The perception of crowding registers the highest average score, which can be associated with the built environment characteristics typical of a high-density urban setting.

Figure 6
www.frontiersin.org

Figure 6. Spatial distribution characteristics and boxplot of five psychological stress perception factors. (A) Spatial distribution of relax perception. (B) Spatial distribution of safety perception. (C) Spatial distribution of familiarity perception. (D) Spatial distribution of crowding perception. (E) Spatial distribution of stayability perception. (F) Boxplot of five factors.

3.3 Spatial distribution characteristics of resident psychological stress perception

As depicted in Figure 7a, the spatial distribution of residents' psychological stress perception exhibits a “low-high-low” pattern radiating outward from the center. Elevated levels are primarily concentrated at the intersections of Jing'an District, Hongkou District, and Huangpu District, as well as in the periphery of the central area. Elevated levels of psychological stress perception in the central area might be attributed to its prolonged period of urban development, higher development levels, and increased building and population densities. In the periphery of the central area, higher levels of psychological stress perception can be ascribed to two principal factors: (1) Although high-quality spaces are conducive to stress relief, the more desolate scenery in the outskirts neither promotes feelings of safety nor encourages prolonged stay, thus failing to serve as an effective stress-relief environment; (2) The periphery encompasses motorways replete with a significant number of flyovers and underpasses, features that are not favorable for psychological stress relief. These factors influence residents' sense of familiarity and stayability, thereby further affecting their psychological stress perception. This suggests that both highly developed and underdeveloped areas exert a negative impact on residents' psychological wellbeing. As depicted in Figure 7b, psychological stress perception is elevated in the central region of Shanghai. Figure 8 presents representative streetscape images corresponding to high, medium, and low psychological stress perception scores.

Figure 7
www.frontiersin.org

Figure 7. Spatial distribution and statistical distribution of psychological stress perception at fishnet level. (a) Spatial distribution of stress perception. (b) Statistical distribution of stress perception.

Figure 8
www.frontiersin.org

Figure 8. Representative SVI and its psychological stress perception factor radar map.

We employed PCA method to conduct an in-depth analysis of Stress perception in urban environments and its five constituting factors. These factors include: relaxation, safety, familiarity, crowding, and stayability. Our analysis results, as shown in Figure 9, indicate that the first two principal components collectively explain over 81% of the variance in the data. This implies that these two components have captured the majority of the information concerning residents' psychological stress perception and its factors. Specifically, the first principal component, strongly positively correlated with familiarity and stayability, accounts for 55.05% of the variance in the data. This suggests that residents' familiarity with, and willingness to stay in, an urban environment are primary factors of stress perception. An environment that is familiar and appealing could significantly reduce residents' psychological stress. The second principal component, exhibiting a strong positive correlation with relaxation and a strong negative correlation with crowding, explains 26.31% of the variance. This indicates that the sense of relaxation and crowding also play crucial roles in stress perception. In a relaxed environment, residents are likely to experience less psychological stress, whereas crowded environments may elevate their stress levels. The remaining three principal components contribute less to explaining the variance, with values of 10.09%, 4.50%, and 4.06% respectively. The relationships of these components with other factors are also more complex, possibly involving more interactions or secondary influences. Overall, our analysis has unveiled the key constituents of residents' stress perception, with familiarity, stayability, and relaxation being the predominant factors. This offers significant guidance for urban planning and design, underscoring the importance of creating an urban environment that is familiar, appealing, and relaxed.

Figure 9
www.frontiersin.org

Figure 9. PCA of psychological stress perception. (A) Cumulative interpretation variance analysis. (B) Loading of the stress perception factor on principal components.

3.4 Results of nonlinear regression analysis

We conducted regressions on GS exposure, perceived stress, and five perceived stress factors using both the OLS model and the XGBoost algorithm. Table 3 presents the regression performance of the two models. The results indicate that the XGBoost algorithm outperforms the OLS model in terms of goodness of fit (R2) in all regressions, with lower mean square error. This suggests that compared to traditional models, machine learning models based on the XGBoost algorithm exhibit higher accuracy. GS exposure explains the perception of relaxation to the greatest extent (R2 = 0.722), and also has a relatively high explanatory power for the perception of Stress and Stayability. However, it has a lower degree of explanation for safety, familiarity, and crowding. Table 4 presents detailed information on the total regression results of GS exposure on stress perception and the five stress perception factors. The results indicate that GS exposure is significantly negatively correlated with stress perception, with a mean coefficient of −2.814, demonstrating that GS exposure can effectively reduce stress. Moreover, the impact of GS exposure on relaxation perception is highly significant, with a mean coefficient of 4.800. Additionally, GS exposure significantly enhances safety perception (mean coefficient 1.384), familiarity perception (mean coefficient 2.262), and stayability perception (mean coefficient 4.951), indicating that it improves individuals' positive evaluation of the environment and their inclination to remain in it. The effects of GS exposure on stress perception and the five stress perception factors are all highly significant.

Table 3
www.frontiersin.org

Table 3. Regression models parameter comparison.

Table 4
www.frontiersin.org

Table 4. Total regression results of GS exposure on stress perception and five stress perception factors.

The results of the nonlinear regression are presented in Figure 10. An increase in GS exposure results in a decrease in the stress perception, with the slope declining as GS exposure increases. Specifically, within a GS exposure range of 0–0.20, there is a pronounced and significant reducing effect; from 0.20 to 0.35, the reducing effect gradually moderates; beyond 0.35, there is scarcely any reducing effect. Thus, 0.35 can be considered the threshold at which GS exposure affects stress perception. This indicates that indiscriminately increasing GS is imprudent, and urban planning must consider the dosage of GS exposure to effectively enhance spatial quality. We further analyzed the effects of GS exposure on various stress perception factors to better understand the process by which GS exposure influences stress perception. For each stress perception factor, the impact of GS exposure varies. An increase in GS exposure will enhance relaxation perception, with the slope decreasing and approaching zero as GS exposure increases, and the threshold being approximately 0.35. The effects of increased GS exposure on safety and familiarity initially increase and then decrease, with peak values around 0.30. Notably, beyond 0.30 GS exposure, the rate of decrease for safety is much greater than for familiarity. This suggests that excessive GSs can make people feel unsafe, possibly due to obstructed sightlines. GS exposure only has an unstable alleviating effect on crowding perception in the 0–0.15 range and quickly becomes negligible. The effect of GS exposure on stayability is similar to its effect on relaxation, showing a positive increase. However, as GS exposure increases, this increasing effect gradually diminishes. Overall, the positive effects of increased GS exposure are stable and significant, but there is a threshold for these effects.

Figure 10
www.frontiersin.org

Figure 10. Nonlinear regression analysis. (A) Nonlinear regression for stress perception. (B) Nonlinear regression for relaxation perception. (C) Nonlinear regression for safety perception. (D) Nonlinear regression for familiarity perception. (E) Nonlinear regression for crowding perception. (F) Nonlinear regression for stayability perception.

Based on the above findings, to further guide urban planning and construction from a multi-dimensional perspective, we selected locations with stress perception scores above 4 (i.e., locations with high stress perception scores) and where GS exposure is < 0.20. These locations represent high-stress areas in the city, where GS exposure can have a significant positive effect. This allowed us to target areas in the city where GS exposure needs to be enhanced, to develop specific optimization strategies. In Figure 11, we display the visualization results and detailed scenarios of the targeted identification. Area A is located in the center of the study area, with a concentration of commercial enterprises and public service facilities. The area is characterized by high-rise buildings, extremely high building density, and intensive human activity, which can often cause feelings of oppression. Simultaneously, the lack of greenery in the area does not provide a psychological buffer. Area B is located in the central part of Pudong New Area. In contrast to Area A, Area B is remote, has low foot traffic, and is underdeveloped. The desolate scenery, litter, and overgrown weeds reflect a lack of development and management, resulting in a negative perceptual experience. Although this area has some greenery, its quality is low and does not alleviate stress perception. Area C is an emerging urban area under construction. Due to its development stage, the greenery is still inadequate, likely contributing to high stress perception. Additionally, the area contains numerous transportation facilities such as overpasses and highways, lacking recreational spaces, which also increases stress perception. The SVI of these areas further showcase the detailed scenarios of the regions, corroborating our observations.

Figure 11
www.frontiersin.org

Figure 11. Distribution map of targeted identification for negative spaces.

4 Discussion

4.1 Urban GS exposure and psychological stress perception

The unrelenting process of urbanization has brought forth numerous urban issues (60, 61), compelling us to shift our focus toward enhancing the quality of urban spaces. Presently, the development model of cities in China has transitioned from incremental development to stock enhancement (62), with the augmentation in quantity and quality of GSs emerging as a paramount issue (15). Within urban GSs, the street or block level GS exposure has a significant impact on the quality of daily life for residents (63). Despite the widespread acknowledgment of the positive effects of GS exposure, many studies are based on small-scale samples or indirect associations, which, to some extent, limits the widespread applicability and generalizability of the research findings. Consequently, it is imperative to employ large-scale, high-precision research methods to explore in-depth the relationship between GS exposure and mental health. Our study reveals that the average GS exposure in the central urban area of Shanghai is only 23.97%, exhibiting significant spatial disparities. This indicates an issue of inequality in GS exposure in central Shanghai. We found a significant negative correlation between GS exposure and residents' psychological stress perception, which is consistent with general cognition (64). Moran's I analysis shows a significant spatial correlation between various stress perception factors and GS exposure. This finding aligns with those of Roe et al. (65), underscoring the irrefutable role of GS exposure in residents' mental health within urban spaces. High GS exposure and low stress perception exhibit spatial clustering. Notably, the impact of GS exposure is most significant on perceptions of relaxation and stayability, implying that GSs can not only provide short-term emotional relief but also contribute to long-term comfort of staying. However, the explanatory power of GS exposure is lower for perceptions of safety, familiarity, and crowding, suggesting that these factors might be influenced by multiple variables. Previous studies have only verified the stress-relieving effect of GSs without unraveling the complex process involved. Our research indicates the presence of a threshold in the impact of GS exposure, suggesting a diminishing effect on stress perception as exposure reaches a certain level. This discovery suggests that urban planning should consider the “dosage effect” of GS exposure, avoiding a blind increase in GSs and seeking an optimal level of greenery to effectively enhance spatial quality.

Although our study was conducted using the central urban area of Shanghai as a case example, which imposes geographic limitations on data collection, our findings underscore the significant role of GS exposure in reducing psychological stress. This insight can assist urban planning and public health strategies beyond Shanghai. Our novel methods and results align with other research in this field (66, 67). We also posit that the threshold effect of GS exposure on perceived psychological stress should be generally applicable, although the specific value may not necessarily be 0.35 The discovery of the GS exposure threshold provides valuable insights for urban designers and planners worldwide. It indicates that beyond a certain point, merely increasing the amount of GS may not yield additional health benefits. This finding advocates for a strategic approach to the distribution of urban GSs, focusing on optimizing layout and integration into the urban landscape to maximize public health outcomes. Our results advocate for incorporating urban GSs as a standard component of urban environmental planning, potentially influencing zoning laws, building codes, and public health policies to create environments conducive to mental health. Additionally, this study emphasizes the crucial role of quantifying psychological stress perception in understanding this relationship. By examining specific stress perception factors, we can more accurately identify and interpret the multifaceted impact of GS exposure on psychological stress perception, providing substantial academic support for further revealing the positive effects of GS exposure on improving residents' mental health.

4.2 Machine learning-based framework for urban psychological stress perception measurement

The measurement of stress perception helps uncover the impacts of urbanization processes on people's mental health, revealing the driving factors behind residents' psychological changes during urban development and further informing urban planning and design. Integrating urban physical built environments with citizens' psychological states within a quantifiable comparative framework is a bottleneck limiting the development of urban research (68, 69). This study developed a precise and user-friendly framework for measuring urban stress perception, with empirical measurements conducted in central Shanghai. The main advantages of the developed framework are threefold: (1) The study constructed a stress perception factor scale from a psychological perspective and integrated it into the evaluation framework. Previous research typically employed single-item questions for volunteers to directly rate the perceptions under measurement (45). However, human psychological perception is complex (70), challenging accurate measurement through a single dimension. This study incorporates psychological principles into stress perception measurement, refining it into five independent factors and twelve well-defined questions, guiding volunteers to think multifacetedly about perception, making abstract emotional issues more concrete and objective. (2) The study emphasized the importance of local volunteers. Volunteers from the same culture or region have a deeper understanding of the environment in the study area, hence providing more accurate perceptual judgments (44). Therefore, the framework developed in this study is highly accurate in characterizing the perception of Chinese cities. (3) Based on large-scale urban street view data and SVM machine learning algorithms, this study developed a framework that supports large-scale, fine-grained measurement of urban stress perception. Compared to the RF models often used in other related studies (54, 71), the SVM model exhibits better stability and interpretability in handling such problems.

This study adopted an innovative approach by measuring the impact threshold of GS exposure, fitting high psychological stress perception with low GS exposure. This enables the targeted identification of spaces in urgent need of improvement in the city, implementing GS exposure in these areas to efficiently enhance the overall spatial quality. This targeted identification method is highly accurate as it directly considers the relationship between psychological stress perception and GS exposure, ensuring the identified spaces can indeed be rapidly improved by increasing GS exposure. Additionally, this method considers the characteristics and needs of different spaces, making the implemented GS strategies more realistic and thereby enhancing the overall effect. The application of this method not only aids urban planners in more precisely identifying and improving urban spaces but also provides valuable references for future urban planning. Through this method, urban greening can be conducted more targeted, effectively elevating the quality of life and mental health levels of urban residents. More importantly, the developed framework, based on extensive open-source street view data, can be conveniently expanded to quantify the stress perception of residents in other urban areas. It is especially accurate for Chinese cities, further enhancing the practical value of the research findings and providing broader support for urban planning and decision-making.

4.3 Limitations and future directions

Our study has utilized high-resolution SVI to quantify urban GS exposure and psychological stress perception from a visual perspective, thereby providing direct evidence for the mitigating impact of GS exposure on psychological stress. This contribution extends the applicability of machine learning and SVI in the field of urban planning and construction. Despite these advances, our study presents several limitations that warrant consideration and offer directions for future research.

Firstly, the study primarily relies on cross-sectional data, which limits our ability to establish causality between GS exposure and psychological stress perception. This results in a shortcoming in our study regarding the consideration of temporal changes in GS exposure and psychological stress perception. Future research should consider employing longitudinal or tracking studies to uncover the underlying mechanisms positively influenced by GS exposure. Secondly, although we identified the nonlinear impact of GS exposure on stress perception based on machine learning models, there remain other unconsidered social, cultural, and economic factors that may affect psychological stress perception (72), which should be more comprehensively considered in subsequent research. Thirdly, our study employed psychological stress perception scales to quantify stress, but it did not delve into the demographic details of the volunteers. Factors such as age, gender, environmental attitudes, and professional background could bias the results and deserve further exploration in subsequent studies (7376). Additionally, this study is based on Baidu Maps street view data, and is inevitably influenced by the limitations of Baidu Maps street view data itself. While Baidu street view images provides extensive coverage of urban areas in China, it is limited by the collection dates and update frequency, which hampers its ability to reflect seasonal and interannual changes. Furthermore, the lack of coverage of rural areas means that the framework developed in this study cannot be applied to the evaluation of psychological stress perception among rural residents.

In summary, while this study makes important contributions to our understanding of the relationship between GS exposure and psychological stress perception, there are multiple avenues for future research and refinement. These limitations offer valuable insights that can inform and guide subsequent studies.

5 Conclusion

The positive impact of GSs on mental health has been widely acknowledged, but there remains an insufficient consideration of the intricate processes involved on a large scale, granular research level. In the context of rapid urban expansion and continuously increasing population density, it is particularly important to conduct in-depth research on the relationship between GSs and psychological stress perception for future urban planning and construction. This study, focusing on the central urban area of Shanghai, utilizes SVI and advanced machine learning methods to reveal the nonlinear impact of GS exposure on residents' psychological stress perception. We adopted a multidimensional stress perception scale that encompasses five independent factors and 12 specific questions, achieving precise quantification of residents' psychological stress perception. By integrating SVM machine learning algorithms and extensive urban street view data, we have successfully developed a novel urban stress perception measurement framework that demonstrates superior performance in stability and explanatory power. Moreover, this framework can be conveniently applied to measure the psychological stress perception of residents in different cities.

This study indicates that GS exposure in central urban Shanghai is generally low, averaging only 0.24, and exhibits significant heterogeneity in spatial distribution. Through spatial correlation analysis, we confirmed a negative effect of GS exposure on psychological stress perception, a relationship that remains stable after controlling for spatial effects. Additionally, we identified a nonlinear characteristic in the alleviating effect of GS exposure on psychological stress, indicating the presence of a threshold. Between 0 and 0.20 GS exposure, increasing such exposure significantly mitigates psychological stress. However, beyond 0.35, the contribution of additional GS exposure to stress relief approaches zero. Analyzing against the stress perception scale, we explored the impact of GS exposure on various stress perception factors, uncovering that it mainly alleviates psychological stress by enhancing residents' sense of relaxation and willingness to stay. This finding provides important guiding principles for future urban planning: when designing GSs, consideration should be given to their impact on residents' psychological comfort and lingering behavior, creating a more pleasant and mentally healthy urban environment.

In conclusion, the findings of this study contribute to the targeted identification of urban environments and guide the precise implementation of policies aimed at enhancing urban GSs. To better understand the causal relationship between GS exposure and mental health, we recommend using longitudinal data in future research to track the dynamics of green exposure and its impact on psychological stress perception. Additionally, future studies should conduct comparative research across different countries, regions, and cities, and analyze the results within more complex social, economic, and cultural contexts. We suggest that future urban planning and construction fully consider the threshold effect of GS exposure, promoting not only the quantity of GSs but also their strategic layout and quality to optimize their mental health benefits. Establishing mechanisms for the regular monitoring and evaluation of the health impacts of existing and new GSs is crucial. Such data should inform ongoing urban planning decisions and help refine GS policies to maximize public health outcomes. We advocate for enhanced collaboration among disciplines such as psychology, urban planning, and environmental science to jointly explore comprehensive solutions for alleviating psychological stress among urban residents and improving their quality of life.

Data availability statement

The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found below: https://github.com/Ericzzz66/ZTLUrbanStudies/Changlifang_GSexposure_StressPerception.

Ethics statement

The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants' legal guardians/next of in accordance with the national legislation and institutional requirements, as our research uses fully anonymized data.

Author contributions

TZ: Conceptualization, Data curation, Methodology, Visualization, Writing – original draft, Writing – review & editing. LW: Data curation, Methodology, Writing – original draft. YZ: Funding acquisition, Supervision, Writing – review & editing. YH: Conceptualization, Funding acquisition, Writing – review & editing. WZ: Visualization, Writing – original draft.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This study was funded by Reconstructing the Architecture System based on the Coherence Mechanism of “Architecture-human-environment” in the Chinese Context, Key Project of National Natural Science Foundation of China, grant number 52038007.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Dubey A, Naik N, Parikh D, Raskar R, Hidalgo CA. Deep learning the city: quantifying urban perception at a global scale. In:Leibe B, Matas J, Sebe N, Welling M, , editors. Computer Vision – ECCV 2016. Lecture Notes in Computer Science. Cham: Springer International Publishing (2016). p. 196–212

PubMed Abstract | Google Scholar

2. Handy SL, Boarnet MG, Ewing R, Killingsworth RE. How the built environment affects physical activity. Am J Prev Med. (2002) 23:64–73. doi: 10.1016/S0749-3797(02)00475-0

PubMed Abstract | Crossref Full Text | Google Scholar

3. Helbich M. Toward dynamic urban environmental exposure assessments in mental health research. Environ Res. (2018) 161:129–35. doi: 10.1016/j.envres.2017.11.006

PubMed Abstract | Crossref Full Text | Google Scholar

4. Azadi H, Ho P, Hafni E, Zarafshani K, Witlox F. Multi-stakeholder involvement and urban green space performance. J Environm Plann Managem. (2011) 54:785–811. doi: 10.1080/09640568.2010.530513

Crossref Full Text | Google Scholar

5. Niemelä J, Saarela S-R, Söderman T, Kopperoinen L, Yli-Pelkonen V, Väre S, et al. Using the ecosystem services approach for better planning and conservation of urban green spaces: a Finland case study. Biodivers Conserv. (2010) 19:3225–43. doi: 10.1007/s10531-010-9888-8

Crossref Full Text | Google Scholar

6. Shan X-Z. Attitude and willingness toward participation in decision-making of urban green spaces in China. Urban Forest Urban Green. (2012) 11:211–7. doi: 10.1016/j.ufug.2011.11.004

Crossref Full Text | Google Scholar

7. Onishi A, Cao X, Ito T, Shi F, Imura H. Evaluating the potential for urban heat-island mitigation by greening parking lots. Urban Forest Urban Green. (2010) 9:323–32. doi: 10.1016/j.ufug.2010.06.002

PubMed Abstract | Crossref Full Text | Google Scholar

8. Liu W, Chen W, Peng C. Assessing the effectiveness of green infrastructures on urban flooding reduction: a community scale study. Ecol Modell. (2014) 291:6–14. doi: 10.1016/j.ecolmodel.2014.07.012

PubMed Abstract | Crossref Full Text | Google Scholar

9. Yang J, Guan Y, Xia J, Jin C, Li X. Spatiotemporal variation characteristics of green space ecosystem service value at urban fringes: a case study on Ganjingzi District in Dalian, China. Sci Total Environm. (2018) 639:1453–61. doi: 10.1016/j.scitotenv.2018.05.253

PubMed Abstract | Crossref Full Text | Google Scholar

10. Astell-Burt T, Feng X. Association of urban green space with mental health and general health among adults in Australia. JAMA Netw Open. (2019) 2:e198209. doi: 10.1001/jamanetworkopen.2019.8209

PubMed Abstract | Crossref Full Text | Google Scholar

11. Nutsford D, Pearson AL, Kingham S. An ecological study investigating the association between access to urban green space and mental health. Public Health. (2013) 127:1005–11. doi: 10.1016/j.puhe.2013.08.016

PubMed Abstract | Crossref Full Text | Google Scholar

12. Bratman GN, Anderson CB, Berman MG, Cochran B, De Vries S, Flanders J, et al. Nature and mental health: an ecosystem service perspective. Sci Adv. (2019) 5:eaax0903. doi: 10.1126/sciadv.aax0903

PubMed Abstract | Crossref Full Text | Google Scholar

13. Xi S. A study on the impact of blue-green space on human mental health. LNEP. (2023) 24:298–304. doi: 10.54254/2753-7048/24/20230781

PubMed Abstract | Crossref Full Text | Google Scholar

14. Lu Y. Using Google Street View to investigate the association between street greenery and physical activity. Landsc Urban Plan. (2019) 191:103435. doi: 10.1016/j.landurbplan.2018.08.029

PubMed Abstract | Crossref Full Text | Google Scholar

15. Tang J, Long Y. Measuring visual quality of street space and its temporal variation: Methodology and its application in the Hutong area in Beijing. Landsc Urban Plan. (2019) 191:103436. doi: 10.1016/j.landurbplan.2018.09.015

Crossref Full Text | Google Scholar

16. Burke J, Clarke D, O'Keeffe J, Meehan T. The impact of blue and green spaces on wellbeing: a review of reviews through a positive psychology lens. JOHAH. (2023) 3:93–108. doi: 10.47602/johah.v3i2.48

Crossref Full Text | Google Scholar

17. Berman MG, Kross E, Krpan KM, Askren MK, Burson A, Deldin PJ, et al. Interacting with nature improves cognition and affect for individuals with depression. J Affect Disord. (2012) 140:300–5. doi: 10.1016/j.jad.2012.03.012

PubMed Abstract | Crossref Full Text | Google Scholar

18. Hedblom M, Gunnarsson B, Iravani B, Knez I, Schaefer M, Thorsson P, et al. Reduction of physiological stress by urban green space in a multisensory virtual experiment. Sci Rep. (2019) 9:10113. doi: 10.1038/s41598-019-46099-7

PubMed Abstract | Crossref Full Text | Google Scholar

19. Cox DTC, Hudson HL, Shanahan DF, Fuller RA, Gaston KJ. The rarity of direct experiences of nature in an urban population. Landsc Urban Plan. (2017) 160:79–84. doi: 10.1016/j.landurbplan.2016.12.006

Crossref Full Text | Google Scholar

20. Gascon M, Cirach M, Martínez D, Dadvand P, Valentín A, Plasència A, et al. Normalized difference vegetation index (NDVI) as a marker of surrounding greenness in epidemiological studies: the case of Barcelona city. Urban Forest Urban Green. (2016) 19:88–94. doi: 10.1016/j.ufug.2016.07.001

Crossref Full Text | Google Scholar

21. Donovan GH, Butry DT, Michael YL, Prestemon JP, Liebhold AM, Gatziolis D, et al. The relationship between trees and human health. Am J Prev Med. (2013) 44:139–45. doi: 10.1016/j.amepre.2012.09.066

PubMed Abstract | Crossref Full Text | Google Scholar

22. Wu C, Du Y, Li S, Liu P, Ye X. Does visual contact with green space impact housing pricesʔ An integrated approach of machine learning and hedonic modeling based on the perception of green space. Land Use Policy. (2022) 115:106048. doi: 10.1016/j.landusepol.2022.106048

Crossref Full Text | Google Scholar

23. Larkin A, Hystad P. Evaluating street view exposure measures of visible green space for health research. J Expo Sci Environ Epidemiol. (2019) 29:447–56. doi: 10.1038/s41370-018-0017-1

PubMed Abstract | Crossref Full Text | Google Scholar

24. Jim CY, Chen WY. Perception and attitude of residents toward urban green spaces in Guangzhou (China). Environ Manage. (2006) 38:338–49. doi: 10.1007/s00267-005-0166-6

PubMed Abstract | Crossref Full Text | Google Scholar

25. Berto R. The role of nature in coping with psycho-physiological stress: a literature review on restorativeness. Behav Sci. (2014) 4:394–409. doi: 10.3390/bs4040394

PubMed Abstract | Crossref Full Text | Google Scholar

26. Baceviciene M, Jankauskiene R. The mediating effect of nature restorativeness, stress level, and nature connectedness in the association between nature exposure and quality of life. IJERPH. (2022) 19:2098. doi: 10.3390/ijerph19042098

PubMed Abstract | Crossref Full Text | Google Scholar

27. Gunnarsson B, Knez I, Hedblom M, Sang ÅO. Effects of biodiversity and environment-related attitude on perception of urban green space. Urban Ecosyst. (2017) 20:37–49. doi: 10.1007/s11252-016-0581-x

Crossref Full Text | Google Scholar

28. Peacock EJ, Wong PTP. The stress appraisal measure (SAM): A multidimensional approach to cognitive appraisal. Stress Med. (1990) 6:227–36. doi: 10.1002/smi.2460060308

Crossref Full Text | Google Scholar

29. Shanshan L, Weijun G, Yanxue L. Influence of indoor thermal environment change on student's learning attention level by EEG. J BEE. (2022) 50:142−149. doi: 10.3969/j.issn.2096-9422.2022.08.026

Crossref Full Text | Google Scholar

30. Castaldo R, Melillo P, Bracale U, Caserta M, Triassi M, Pecchia L. Acute mental stress assessment via short term HRV analysis in healthy adults: a systematic review with meta-analysis. Biomed Signal Process Control. (2015) 18:370–7. doi: 10.1016/j.bspc.2015.02.012

Crossref Full Text | Google Scholar

31. Baghdadi A, Aribi Y, Fourati R, Halouani N, Siarry P, Alimi A. Psychological stimulation for anxious states detection based on EEG-related features. J Ambient Intell Human Comput. (2021) 12:8519–33. doi: 10.1007/s12652-020-02586-8

Crossref Full Text | Google Scholar

32. Katsigiannis S, Ramzan N. DREAMER. a database for emotion recognition through EEG and ECG signals from wireless low-cost off-the-shelf devices. IEEE J Biomed Health Inform. (2018) 22:98–107. doi: 10.1109/JBHI.2017.2688239

PubMed Abstract | Crossref Full Text | Google Scholar

33. Saeed SMU, Anwar SM, Majid M, Bhatti AM. Psychological stress measurement using low cost single channel EEG headset. In: 2015 IEEE International Symposium on Signal Processing and Information Technology (ISSPIT). Abu Dhabi: IEEE (2015). p. 581–585.

Google Scholar

34. Gong F-Y, Zeng Z-C, Zhang F, Li X, Ng E, Norford LK. Mapping sky, tree, and building view factors of street canyons in a high-density urban environment. Build Environ. (2018) 134:155–67. doi: 10.1016/j.buildenv.2018.02.042

Crossref Full Text | Google Scholar

35. Ma X, Ma C, Wu C, Xi Y, Yang R, Peng N, et al. Measuring human perceptions of streetscapes to better inform urban renewal: a perspective of scene semantic parsing. Cities. (2021) 110:103086. doi: 10.1016/j.cities.2020.103086

Crossref Full Text | Google Scholar

36. Xu J, Xiong Q, Jing Y, Xing L, An R, Tong Z, et al. Understanding the nonlinear effects of the street canyon characteristics on human perceptions with street view images. Ecol Indic. (2023) 154:110756. doi: 10.1016/j.ecolind.2023.110756

Crossref Full Text | Google Scholar

37. Ki D, Lee S. Analyzing the effects of Green View Index of neighborhood streets on walking time using Google Street View and deep learning. Landsc Urban Plan. (2021) 205:103920. doi: 10.1016/j.landurbplan.2020.103920

Crossref Full Text | Google Scholar

38. Li Y, Miller HJ, Root ED, Hyder A, Liu D. Understanding the role of urban social and physical environment in opioid overdose events using found geospatial data. Health Place. (2022) 75:102792. doi: 10.1016/j.healthplace.2022.102792

PubMed Abstract | Crossref Full Text | Google Scholar

39. Larkin A, Gu X, Chen L, Hystad P. Predicting perceptions of the built environment using GIS, satellite and street view image approaches. Landsc Urban Plan. (2021) 216:104257. doi: 10.1016/j.landurbplan.2021.104257

PubMed Abstract | Crossref Full Text | Google Scholar

40. Zhang F, Zhou B, Liu L, Liu Y, Fung HH, Lin H, et al. Measuring human perceptions of a large-scale urban region using machine learning. Landsc Urban Plan. (2018) 180:148–60. doi: 10.1016/j.landurbplan.2018.08.020

PubMed Abstract | Crossref Full Text | Google Scholar

41. Han X, Wang L, Seo SH, He J, Jung T. Measuring perceived psychological stress in urban built environments using google street view and deep learning. Front Public Health. (2022) 10:891736. doi: 10.3389/fpubh.2022.891736

PubMed Abstract | Crossref Full Text | Google Scholar

42. Li X, Zhang C, Li W. Does the visibility of greenery increase perceived safety in urban areas? Evidence from the place pulse 10 dataset. IJGI. (2015) 4:1166–83. doi: 10.3390/ijgi4031166

Crossref Full Text | Google Scholar

43. Ha J, Kim HJ. The restorative effects of campus landscape biodiversity: assessing visual and auditory perceptions among university students. Urban Forest Urban Green. (2021) 64:127259. doi: 10.1016/j.ufug.2021.127259

Crossref Full Text | Google Scholar

44. Yao Y, Liang Z, Yuan Z, Liu P, Bie Y, Zhang J, et al. human-machine adversarial scoring framework for urban perception assessment using street-view images. Int J Geograph Inform Sci. (2019) 33:2363–84. doi: 10.1080/13658816.2019.1643024

Crossref Full Text | Google Scholar

45. Wang L, Han X, He J, Jung T. Measuring residents' perceptions of city streets to inform better street planning through deep learning and space syntax. ISPRS J Photogramm Remote Sens. (2022) 190:215–30. doi: 10.1016/j.isprsjprs.2022.06.011

Crossref Full Text | Google Scholar

46. Li Y, Yabuki N, Fukuda T. Measuring visual walkability perception using panoramic street view images, virtual reality, and deep learning. SSRN J. (2022) 86:104140. doi: 10.2139/ssrn.4127315

Crossref Full Text | Google Scholar

47. Weinberg MK, Seton C, Cameron N. The measurement of subjective wellbeing: item-order effects in the personal wellbeing index—adult. J Happiness Stud. (2018) 19:315–32. doi: 10.1007/s10902-016-9822-1

Crossref Full Text | Google Scholar

48. Gardner DG, Cummings LL, Dunham RB, Pierce JL. Single-item versus multiple-item measurement scales: an empirical comparison. Educ Psychol Meas. (1998) 58:898–915. doi: 10.1177/0013164498058006003

Crossref Full Text | Google Scholar

49. Thorndike FP, Carlbring P, Smyth FL, Magee JC, Gonder-Frederick L, Ost L-G, et al. Web-based measurement: Effect of completing single or multiple items per webpage. Comput Human Behav. (2009) 25:393–401. doi: 10.1016/j.chb.2008.05.006

Crossref Full Text | Google Scholar

50. Cheng L, Chu S, Zong W, Li S, Wu J, Li M. Use of tencent street view imagery for visual perception of streets. IJGI. (2017) 6:265. doi: 10.3390/ijgi6090265

Crossref Full Text | Google Scholar

51. Nagata S, Nakaya T, Hanibuchi T, Amagasa S, Kikuchi H, Inoue S. Objective scoring of streetscape walkability related to leisure walking: statistical modeling approach with semantic segmentation of Google Street View images. Health Place. (2020) 66:102428. doi: 10.1016/j.healthplace.2020.102428

PubMed Abstract | Crossref Full Text | Google Scholar

52. Badrinarayanan V, Kendall A, Cipolla R. SegNet: A deep convolutional encoder-decoder architecture for image segmentation. arXiv arXiv:151100561. (2016). Available at: http://arxiv.org/abs/1511.00561 (Accessed November 21, 2021).

Google Scholar

53. Zhou B, Zhao H, Puig X, Xiao T, Fidler S, Barriuso A, et al. Semantic understanding of scenes through the ADE20K dataset. Int J Comput Vis. (2019) 127:302–21. doi: 10.1007/s11263-018-1140-0

PubMed Abstract | Crossref Full Text | Google Scholar

54. Han X, Wang L, He J, Jung T. Restorative perception of urban streets: Interpretation using deep learning and MGWR models. Front Public Health. (2023) 11:1141630. doi: 10.3389/fpubh.2023.1141630

PubMed Abstract | Crossref Full Text | Google Scholar

55. Liu Q, Wang X, Liu J, Zhang G, An C, Liu Y, et al. The relationship between the restorative perception of the environment and the physiological and psychological effects of different types of forests on university students. IJERPH. (2021) 18:12224. doi: 10.3390/ijerph182212224

PubMed Abstract | Crossref Full Text | Google Scholar

56. Liu C-C, Lin T-C, Yuan K-Y, Chiueh P-T. Spatio-temporal prediction and factor identification of urban air quality using support vector machine. Urban Climate. (2022) 41:101055. doi: 10.1016/j.uclim.2021.101055

Crossref Full Text | Google Scholar

57. Zhang S, Omar AH, Hashim AS, Alam T, Khalifa HAE-W, Elkotb MA. Enhancing waste management and prediction of water quality in the sustainable urban environment using optimized algorithm of least square support vector machine and deep learning techniques. Urban Climate. (2023) 49:101487. doi: 10.1016/j.uclim.2023.101487

Crossref Full Text | Google Scholar

58. Acheampong M, Ejiofor C, Salinas-Miranda A, Wall B, Yu Q. Priority setting towards achieving under-five mortality target in Africa in context of sustainable development goals: an ordinary least squares (OLS) analysis. Glob Health Res Policy. (2019) 4:17. doi: 10.1186/s41256-019-0108-0

PubMed Abstract | Crossref Full Text | Google Scholar

59. Li Y, Zhang Y, Wu Q, Xue R, Wang X, Si M, Zhang Y. Greening the concrete jungle: Unveiling the co-mitigation of greenspace configuration on PM25 and land surface temperature with explanatory machine learning. Urban Forest Urban Green. (2023) 88:128086. doi: 10.1016/j.ufug.2023.128086

Crossref Full Text | Google Scholar

60. Recio A, Linares C, Banegas JR, Díaz J. Road traffic noise effects on cardiovascular, respiratory, and metabolic health: an integrative model of biological mechanisms. Environ Res. (2016) 146:359–70. doi: 10.1016/j.envres.2015.12.036

PubMed Abstract | Crossref Full Text | Google Scholar

61. Qin B, Zhu W, Wang J, Peng Y. Understanding the relationship between neighbourhood green space and mental wellbeing: a case study of Beijing, China. Cities. (2021) 109:103039. doi: 10.1016/j.cities.2020.103039

Crossref Full Text | Google Scholar

62. Wang W, Cheng X, Dai M. Strategies for sustainable urban development and morphological optimization of street canyons: measurement and simulation of PM25 at different points and heights. Sustain Cities Soc. (2022) 87:104191. doi: 10.1016/j.scs.2022.104191

Crossref Full Text | Google Scholar

63. Ye Y, Xie H, Fang J, Jiang H, Wang D. Daily accessed street greenery and housing price: measuring economic performance of human-scale streetscapes via new urban data. Sustainability. (2019) 11:1741. doi: 10.3390/su11061741

Crossref Full Text | Google Scholar

64. Seo S, Choi S, Kim K, Kim SM, Park SM. Association between urban green space and the risk of cardiovascular disease: a longitudinal study in seven Korean metropolitan areas. Environ Int. (2019) 125:51–7. doi: 10.1016/j.envint.2019.01.038

PubMed Abstract | Crossref Full Text | Google Scholar

65. Roe J, Thompson C, Aspinall P, Brewer M, Duff E, Miller D, et al. Green space and stress: evidence from cortisol measures in deprived urban communities. IJERPH. (2013) 10:4086–103. doi: 10.3390/ijerph10094086

PubMed Abstract | Crossref Full Text | Google Scholar

66. Zhang Y, Mavoa S, Zhao J, Raphael D, Smith M. The association between green space and adolescents' mental well-being: a systematic review. IJERPH. (2020) 17:6640. doi: 10.3390/ijerph17186640

PubMed Abstract | Crossref Full Text | Google Scholar

67. Kanelli AA, Dimitrakopoulos PG, Fyllas NM, Chrousos GP, Kalantzi O-I. Engaging the senses: the association of urban green space with general health and well-being in urban residents. Sustainability. (2021) 13:7322. doi: 10.3390/su13137322

Crossref Full Text | Google Scholar

68. Zhang F. “Perception bias”: deciphering a mismatch between urban crime and perception of safety. Landsc Urban Plann. (2021) 207:104003. doi: 10.1016/j.landurbplan.2020.104003

Crossref Full Text | Google Scholar

69. Larkin A, Krishna A, Chen L, Amram O, Avery AR, Duncan GE, Hystad P. Measuring and modelling perceptions of the built environment for epidemiological research using crowd-sourcing and image-based deep learning models. J Expo Sci Environ Epidemiol. (2022) 32:892–899. doi: 10.1038/s41370-022-00489-8

PubMed Abstract | Crossref Full Text | Google Scholar

70. Grahn P, Stigsdotter UK. The relation between perceived sensory dimensions of urban green space and stress restoration. Landsc Urban Plan. (2010) 94:264–75. doi: 10.1016/j.landurbplan.2009.10.012

PubMed Abstract | Crossref Full Text | Google Scholar

71. Wang X, Liu Y, Zhu C, Yao Y, Helbich M. Associations between the streetscape built environment and walking to school among primary schoolchildren in Beijing, China. J Transp Geogr. (2022) 99:103303. doi: 10.1016/j.jtrangeo.2022.103303

Crossref Full Text | Google Scholar

72. Li X. Examining the spatial distribution and temporal change of the green view index in New York City using Google Street View images and deep learning. Environm Plann B. (2021) 48:2039–54. doi: 10.1177/2399808320962511

Crossref Full Text | Google Scholar

73. Ode Sang Å, Knez I, Gunnarsson B, Hedblom M. The effects of naturalness, gender, and age on how urban green space is perceived and used. Urban Forest Urban Green. (2016) 18:268–76. doi: 10.1016/j.ufug.2016.06.008

Crossref Full Text | Google Scholar

74. Duan Y, Li S. Effects of plant communities on human physiological recovery and emotional reactions: a comparative onsite survey and photo elicitation study. IJERPH. (2022) 19:721. doi: 10.3390/ijerph19020721

PubMed Abstract | Crossref Full Text | Google Scholar

75. Knez I, Ode Sang Å, Gunnarsson B, Hedblom M. Wellbeing in urban greenery: the role of naturalness and place identity. Front Psychol. (2018) 9:491. doi: 10.3389/fpsyg.2018.00491

PubMed Abstract | Crossref Full Text | Google Scholar

76. Tyrväinen L, Ojala A, Korpela K, Lanki T, Tsunetsugu Y, Kagawa T. The influence of urban green environments on stress relief measures: a field experiment. J Environm Psychol. (2014) 38:1–9. doi: 10.1016/j.jenvp.2013.12.005

Crossref Full Text | Google Scholar

Keywords: urban greening, street view, human perception, health planning, sustainable environment

Citation: Zhang T, Wang L, Zhang Y, Hu Y and Zhang W (2024) Assessing the nonlinear impact of green space exposure on psychological stress perception using machine learning and street view images. Front. Public Health 12:1402536. doi: 10.3389/fpubh.2024.1402536

Received: 17 March 2024; Accepted: 13 August 2024;
Published: 18 September 2024.

Edited by:

Yuan Li, Shaanxi Normal University, China

Reviewed by:

Abdullah Nidal Addas, King Abdulaziz University, Saudi Arabia
Xin-Chen Hong, Fuzhou University, China

Copyright © 2024 Zhang, Wang, Zhang, Hu and Zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Yazhuo Zhang, emhhbmd5YXpodW8mI3gwMDA0MDt0anUuZWR1LmNu; Yike Hu, aHV5aWtlMTEmI3gwMDA0MDt0anUuZWR1LmNu

These authors have contributed equally to this work and share first authorship

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.