# The Café Wall Illusion: Local and Global Perception from Multiple Scales to Multiscale

Authors: Nasim Nematzadeh; David M. W. Powers
Journal: Applied Computational Intelligence and Soft Computing
 (2017)

---

## Abstract

Geometrical illusions are a subclass of optical illusions in which the geometrical characteristics of patterns in particular orientations and angles are distorted and misperceived as a result of low-to-high-level retinal/cortical processing. Modelling the detection of tilt in these illusions, and its strength, is a challenging task and leads to the development of techniques that explain important features of human perception. We present here a predictive and quantitative approach for modelling foveal and peripheral vision for the induced tilt in the Café Wall illusion, in which parallel mortar lines between shifted rows of black and white tiles appear to converge and diverge. Difference of Gaussians is used to define a bioderived filtering model for the responses of retinal simple cells to the stimulus, while an analytical processing pipeline is developed to quantify the angle of tilt in the model and develop confidence intervals around them. Several sampling sizes and aspect ratios are explored to model variant foveal views, and a variety of pattern configurations are tested to model variant Gestalt views. The analysis of our model across this range of test configurations presents a precisely quantified comparison contrasting local tilt detection in the foveal sample sets with pattern-wide Gestalt tilt.


---

## Body

## 1. Introduction

Visual processing starts within the retina from the photoreceptors passing the visual signal through bipolar cells to the Retinal Ganglion Cells (RGCs) whose axons carry the encoded signal to the cortex for further processing. The intervening layers incorporate several types of cell with large dendritic arbors, divided into horizontal cells that control for different illumination conditions and feedback to the receptor and bipolar cells and amacrine cells that feed into the center-surround organization of the Retinal Ganglion Cells. High-resolution receptors in the foveal area have a direct 1 : 1 pathways from photoreceptors, via bipolar cells to ganglion cells [1].It is commonly believed that the center-surround organization in RGCs and their responses are the results of the lateral inhibitory effect in the outer and the inner retina [2] in which the activated cells inhibit the activation of nearby cells. At the first synaptic level, the lateral inhibition [2–4] enhances the synaptic signal of photoreceptors, which is specified as a retinal point spread function (PSF) seen as a biological convolution with the edge enhancement property [3]. At the second synaptic level, the lateral inhibition mediates the more complex properties such as the responses of directional selective receptive fields (RFs) [2].The complexity of interneural circuitries and activation and responses of the retinal cells have been investigated [5, 6] in a search for the specific encoding role of each individual cell in the retinal processing leading to new insights. This includes the existence of a diverse range of Retinal Ganglion Cells (RGCs) in which the size of each individual type varies in relation to the eccentricity of neurons and the distance from the fovea [5] supporting our biological understanding of the retinal multiscale encoding [7], completed in the cortex [5, 6, 8]. ON and OFF cells of each specific type are noted to have a variant size [5, 9] as well. It is also reported that there are different channels for passing the encoded information of ON-center and OFF-surround (and vice versa) activation of retinal RFs [6] to the cortex. Moreover, the possibility of simultaneous activation of a group of RGCs (as a combined activity) in the retina by the output of amacrine cells is noted in the literature [10–12]. Some retinal cells have been found with a directional selectivity property such as the cortical cells [5, 6]. It is noteworthy that, despite the complexity and variety of retinal cells circuitry and coding, there are a few constancy factors common to them, valid even for amacrine and horizontal cells. The constancy of integrated sensitivity is one of these factors mentioned in the literature [13–15] which is quite useful for quantitative models for visual system.The perception of directional tilt in the Café Wall illusion might tend to direct explanations toward the cortical orientation detectors or complex cells [8, 16]. We have shown that the emergence of tilt in the Café Wall illusion specifically [17–21], and in tile illusions generally [17, 22], is a result of simple cells processing with circularly symmetric activation/inhibitions. Low-level filtering models [23, 24] commonly apply a filter similar to a Gaussian or Laplacian of a specific size on the Café Wall to show the appearance of slanted line segments referred to as Twisted Cord [25] elements in the convolved output. These local tilts are assumed then to be integrated into continuous contours of alternating converging and diverging mortar lines at a more global level [22–24]. A hybrid retinocortical explanation as a midlevel approach containing light spread, compressive nonlinearity, and center-surround transformation has been proposed by Westheimer [26]. Some other explanations rely on Irradiation Hypothesis [27] and Brightness Induction [28]. There are also high-level descriptive approaches such as “Border Locking” [29] and “Phenomenal Model” [30] for the illusion with little consideration to the underlying neurological mechanisms involved in the emergence of tilt in the Café Wall illusion.Modelling the receptive field responses dates back to Kuffler’s demonstration of roughly concentric excitatory center and inhibitory surround [31]. Then, Rodieck and Stone [32] and Enroth-Cugell and Robson [33] modelled the center and surround signals of the photoreceptors by two concentric Gaussians with different diameters. The computational modelling of early visual processing was followed by Marr and Ullman [34] who were inspired by Hubel and Wiesel’s [8] discovery of cortical simple and complex cells. Laplacian of Gaussian (LoG) has been proposed by Marr and Hildreth [35] as an optimal operator for low-level retinal filtering and an approximation filter of Difference of Gaussians (DoG) instead of LoG, considering a ratio of ~1.6 for the Gaussians diameters.The model here [17–22] is a most primitive implementation for the contrast sensitivity of RGCs based on classical circular center and surround organization of the retinal RFs [32, 33]. The output of the model is a simulated result for the responses of the retinal/cortical simple cells to stimuli/image. This image representation is referred to as an “edge map” utilizing Difference of Gaussians (DoG) at multiple scales to implement the center-surround activity as well as the multiscale property of the RGCs. Our explanation differs from the previous low-level models [23, 24, 27, 36] due to the concept of filtering at multiple scales in our model in which the scales are tuned to the resolutions of image features, not the resolutions of the individual retinal cells. We show also that our model is a quantitative approach capable of even predicting the strength of the Café Wall illusion based on different characteristics of the pattern [21].This work is a complete collection of our findings on the underlying mechanism involved in our foveal and peripheral vision for modelling the perception of the induced tilt in the Café Wall illusion. It draws together and extends our previous studies on the foveal/local investigations of tilt on Café Wall illusion [18, 19] and extends our investigations for the peripheral/global analysis of the perceived tilt not in just one specific sample (to overcome the shortcomings of our previous studies [18, 19]), but for variations of different configurations modelling the Gestalt perception of tilt in the illusion.In Section2, we describe the characteristics of a simple classical model for simulating the responses of simple cells based on Difference of Gaussians (DoG) and utilize the model for explaining the Café Wall illusion qualitatively (Section 2.2.1) and quantitatively (Section 2.2.2). Afterwards, in Section 3, the experimental results on variations of foveal sample sets are provided (Section 3.1), followed by the report of quantitative tilt results for variations of different configurations of the Café Wall illusion with the same characteristics of mortar lines and tiles but with different arrangements of a whole pattern (Section 3.2), which had then been completed by a thorough comparison of the local and global mean tilts of the pattern found by our simulations (Section 3.3). We conclude by highlighting the advantages and disadvantages of the model in predicting the local and global tilt in the Café Wall pattern and proceed to outline a roadmap of our future work (Section 4).


## 2. Materials and Methods

### 2.1. Formal Description and Parameters

Applying a Gaussian filter on an image generates a blurred version of the image. In our DoG model, the difference of two Gaussian convolutions of an image generates one scale of theedge map representation. For a 2D signal such as imageI, the DoG output, modelling the retinal ganglion cell responses with the center-surround organization, is given by (1)DoGσ,sσx,y=I×12πσ2exp⁡-x2+y2/2σ2-I×12πsσ2exp⁡-x2+y2/2s2σ2,where DoG is the convolved filter output, x and y are the horizontal and vertical distances from the origin, respectively, and σ is the scale of the center Gaussian (σ = σc). sσ in (1) indicates the scale of the surround Gaussian (σs=sσc), and s is referred to asSurround ratio in our model as shown in (2)s=σsurroundσcenter=σsσc.Increasing the value ofsresults in a wider suppression effect from the surround region, although the height of the surround Gaussian declines (normalized Gaussians are used in our model). A broader range ofSurround ratios from 1.4 to 8.0 have been tested with little difference to our results. We have considered another parameter in the model for the filter size referred to asWindow ratio(h). To generate edge maps we have applied DoG filters within a window in which the values of both Gaussians are insignificant outside the window. The window size is determined based on the parameter h that determines how much of each Gaussian (center and surround) is included inside the DoG filter and the scale of the center Gaussian (σc) such that(3)WindowSize=h×σc+1.+1 as given in (3) guaranties a symmetric DoG filter. In the experimental results theWindow ratio(h) has been set to 8 to capture more than 95% of the surround Gaussians in the DoG convolved outputs.


### 2.2. Model and Image Processing Pipeline

An image processing pipeline has been used [18–21] here to extract edges and their angles of tilt (in the edge maps), as shown in Figure 1 for a crop section of a Café Wall pattern of size 2 × 4.5 tiles (the precise height is 2 tiles + mortar = 2T +M). In this research, we concentrate on the analysis of the induced tilt in the Café Wall illusion, to include the details of the parameters used in the simulations in order to quantify the tilt angle in this stimulus by modelling our foveal and peripheral vision.Figure 1
Flowchart of our model with Hough analytic processing pipeline (adapted from [19, 20]).


#### 2.2.1. DoG Edge Map at Multiple Scales

The DoG representation at multiple scales is the output of the model, which is referred to as anedge map of an image. The DoG is highly sensitive to spots and moderately sensitive to lines that match the center diameter. We have used this representation for modelling the responses of visual simple cells especially on tile illusions in our investigations [18–20, 22]. An appropriate range for σc can be determined for any arbitrary pattern/image considering the pattern characteristics as well as the filter size matched with the image features (by applying (3)) in our model. The step sizes determine the accuracy of the multiple scale representation here and again are pattern specific for preserving the visual information with minimum redundancy but at multiple scales.For Café Wall illusion, the DoG edge map indicates the emergence of divergence and convergence of the mortar lines in the pattern, similar to how it is perceived as shown in Figure2. The edge map has been shown at six different scales in jetwhite color map [37] for a Café Wall of 3 × 8 tiles with 200 × 200 px tiles (T) and 8 px mortar (M). In order to extract the tilted line segments along the mortar lines referred to as Twisted Cord [25] elements, the DoG filter should be of the same size as the mortar size [18, 24, 36]. The edge map should contain both high frequency details as well as low frequency contents in the image. We start DoG filtering below the mortar size at scale 4 (σc = 4; as the finest scale) and extend the scales gradually until scale 28 for a large filter to capture the tiles fully, with incremental steps of 4 (in the figure we have shown this till σc = 24 due to shortage of space). Other noncritical parameters of the model are s=2 and h=8, representing theSurround andWindow ratios, respectively.Figure 2
(a) Café Wall of 3 × 8 with 200 × 200 px tiles and 8 px mortar (left) and an enlarged DoG output at scale 8 (σc = 8) from the edge map of the pattern (right). (b) The binary edge map at six scales (σc = 4 to 24 with incremental steps of 4). (c) The same edge map but presented in the jetwhite color map [37]. The noncritical parameters of the DoG model are s=2 and h=8 (theSurround andWindow ratios, resp.).
(a)
(b)
(c)The DoG outputs in Figure2 show that the tilt cues appear at fine to medium scales and start to disappear as the scale of the center Gaussian increases in the model. At fine to medium scales, there are some corner effects that appear in the edge maps which highlight the emergence of tilted line segments and result in the appearance of square tiles that look similar to trapezoids. This may be referred to as wedges in the literature [29], inducing convergent and divergent mortar lines. So, at fine scales around the size of the mortar, we see the groupings of identically colored tiles with the Twisted Cord elements along the mortar lines. By increasing the scales gradually from the medium to coarse scales, when the mortar cues disappear completely in the edge map, other groupings of identically colored tiles are emerged in the edge map, connecting tiles in zigzag vertical orientation. What we see across multiple scales in the edge map of the pattern are two incompatible groupings of pattern elements: groupings of tiles in two consecutive rows by the mortar lines at fine scales with nearly horizontal orientation (as focal/local view) and then groupings of tiles in zigzag vertical direction at coarse scales (as peripheral/global view). These two incompatible groupings occur simultaneously across multiple scales and exhibit systematic differences according to the size of the Gaussian and predicts the change in illusion effects with distance from the focal point in the pattern.We have shown that, in the edge map at multiple scales, not only do we extract the information of edges/textures with the shades and shadows around the edges, but we are also able to show the emergence of other cues related to tilt and perceptual grouping as features for mid-to-high-level processing [17, 22]. Also we have shown in another article that even the prediction of the strength of tilt effect in different variations of Café Wall illusion is possible from the persistence of mortar cues across multiple scales [21] in the edge map. Highly persistent mortar cue in the edge map is an indication for a stronger induced tilt in the stimulus.


#### 2.2.2. Second-Stage Processing

The Hough analysis is used for quantitative measurement of tilt in our model and consists of three stages of Edges, Hough, and Analysis as shown in Figure1, explained below.Edges. We used here an analysis pipeline to characterize the tilted line segments presented in the edge map of the Café Wall pattern. First, the edge map is binarized and then the Standard Hough Transform (SHT) [38, 39] is applied to it to detect line segments inside the binary edge map at multiple scales. SHT uses a two-dimensional array called the accumulator (HA) to store line information of edges based on the quantized values of ρ and θ in a pair (ρ,θ) using Hough function in MATLAB. ρ specifies the distance between the line passing through the edge point and θ is the counterclockwise angle between the normal vector (ρ) and the x-axis ranges from 0 to π, [0,π). Therefore, every edge pixel (x,y) in the image space corresponds to a sinusoidal curve in Hough space such that ρ=x·cos⁡θ+y·sin⁡θ, with θ as free parameter corresponding to the angle of the lines passing through the point (x,y) in the image space. The output ofEdges is the accumulator matrix (HA) with all the edge pixel information.Hough. TheEdges stage provides all possible lines that could pass through every edge point of the edge map inside the HA matrix. We are more interested in detecting the induced tilt lines inside the Café Wall image. Two MATLAB functions calledhoughpeaks andhoughlines are employed for the further processing of the accumulator matrix (HA). Thehoughpeaks function finds the peaks in the HA matrix with three parameters ofNumPeaks (maximum number of line segments to be detected),Threshold (threshold value for searching the peaks in the HA), andNHoodSize (the size of the suppression neighbourhood that is set to zero after the peak is identified). Thehoughlines function extracts line segments associated with a particular bin in the accumulator matrix (HA) with two parameters ofFillGap (the distance between two line segments associated with the same Hough bin; line segments with shorter gaps are merged into a single line segment) andMinLength (specifies keeping or discarding the merged lines; lines shorter than this value are discarded).A sample output ofHough processing stage is given in Figure 1 with the detected houghlines displayed in green on the binary edge map at four different scales (the cropped section is selected from a Café Wall with 50 × 50 px tiles and 2 px mortar, with the DoG scales from 0.5M to 2M in the figure around the mortar size with the incremental steps of 0.5M). The results ofHough analysis stage for a different cropped section of a Café Wall pattern with higher resolution (cropped from a Café Wall with 800 × 800 px tiles and 32 px mortar) are shown in Figure 3 for two scales of the DoG edge map (σc = 32, 64-M and 2M; Blue lines indicate the longest line segments detected). The histograms of detected houghlines near the horizontal orientation have been provided for these scales. The absolute mean tilts and the standard deviation of tilts are calculated and presented in the figure below the graphs.Figure 3
Hough stage output. Distribution of line segments detected near the horizontal orientation, presented for two scales of the DoG edge map at scales 32 and 64 (σc = 32, 64). Mean tilt and variance for each graph have been also provided.Analysis. The detected line segments and their angular positions are saved inside four orientation matrices considering the closest to any of the reference orientations of horizontal (H), vertical (V), positive diagonal (+45°, D1), and negative diagonal (−45°, D2) orientations. We consider an interval of [−22.5°, 22.5°) around each reference orientation to cover the whole space. The statistical analysis of tilt angles of the detected lines around each reference orientation is the output of this stage and includes the mean tilts and the standard errors around the means for each scale of the DoG edge map.Hough Parameters for Tilt Investigations of Café Wall Stimulus. Recall thatNumPeaks indicates the maximum number of line segments to be detected andFillGap shows the distance between two line segments associated with the same Hough bin in which line segments with shorter gaps are merged into a single line segment. The other Hough parameter isMinLength, which specifies keeping or discarding of the line segments considering this minimum length and discarding the lines shorter than this value. To select an appropriate value for these parameters we should consider pattern features and the scales of the DoG edge map. In the Café Wall pattern, in order to detect the Twisted Cord elements at fine scales, theMinLength value should be in a reliable range. The Twisted Cord elements have a minimum length of 2.5T (MinLength ≈ 2.5T), and therefore, for a Café Wall with 200 × 200 px tiles,MinLength = 500 px. We set this parameter a bit smaller than this value equal toMinLength ≈ 2.25T = 450 px for our experiments in Section 3. TheFillGap parameter is chosen equal to 1/5th of a tile size (1/5T) in our experiments (to merge the disconnected mortar cues of each Twisted Cord elements at fine to medium scales in the edge maps).NumPeaks is selected appropriately based on the size of the pattern, and, for small foveal sets (Section 3.1), this is set to 100 but has a higher range, 520 and 1000 for larger Café Wall stimulus for global investigation of tilt (Section 3.2).


## 2.1. Formal Description and Parameters

Applying a Gaussian filter on an image generates a blurred version of the image. In our DoG model, the difference of two Gaussian convolutions of an image generates one scale of theedge map representation. For a 2D signal such as imageI, the DoG output, modelling the retinal ganglion cell responses with the center-surround organization, is given by (1)DoGσ,sσx,y=I×12πσ2exp⁡-x2+y2/2σ2-I×12πsσ2exp⁡-x2+y2/2s2σ2,where DoG is the convolved filter output, x and y are the horizontal and vertical distances from the origin, respectively, and σ is the scale of the center Gaussian (σ = σc). sσ in (1) indicates the scale of the surround Gaussian (σs=sσc), and s is referred to asSurround ratio in our model as shown in (2)s=σsurroundσcenter=σsσc.Increasing the value ofsresults in a wider suppression effect from the surround region, although the height of the surround Gaussian declines (normalized Gaussians are used in our model). A broader range ofSurround ratios from 1.4 to 8.0 have been tested with little difference to our results. We have considered another parameter in the model for the filter size referred to asWindow ratio(h). To generate edge maps we have applied DoG filters within a window in which the values of both Gaussians are insignificant outside the window. The window size is determined based on the parameter h that determines how much of each Gaussian (center and surround) is included inside the DoG filter and the scale of the center Gaussian (σc) such that(3)WindowSize=h×σc+1.+1 as given in (3) guaranties a symmetric DoG filter. In the experimental results theWindow ratio(h) has been set to 8 to capture more than 95% of the surround Gaussians in the DoG convolved outputs.


## 2.2. Model and Image Processing Pipeline

An image processing pipeline has been used [18–21] here to extract edges and their angles of tilt (in the edge maps), as shown in Figure 1 for a crop section of a Café Wall pattern of size 2 × 4.5 tiles (the precise height is 2 tiles + mortar = 2T +M). In this research, we concentrate on the analysis of the induced tilt in the Café Wall illusion, to include the details of the parameters used in the simulations in order to quantify the tilt angle in this stimulus by modelling our foveal and peripheral vision.Figure 1
Flowchart of our model with Hough analytic processing pipeline (adapted from [19, 20]).


### 2.2.1. DoG Edge Map at Multiple Scales

The DoG representation at multiple scales is the output of the model, which is referred to as anedge map of an image. The DoG is highly sensitive to spots and moderately sensitive to lines that match the center diameter. We have used this representation for modelling the responses of visual simple cells especially on tile illusions in our investigations [18–20, 22]. An appropriate range for σc can be determined for any arbitrary pattern/image considering the pattern characteristics as well as the filter size matched with the image features (by applying (3)) in our model. The step sizes determine the accuracy of the multiple scale representation here and again are pattern specific for preserving the visual information with minimum redundancy but at multiple scales.For Café Wall illusion, the DoG edge map indicates the emergence of divergence and convergence of the mortar lines in the pattern, similar to how it is perceived as shown in Figure2. The edge map has been shown at six different scales in jetwhite color map [37] for a Café Wall of 3 × 8 tiles with 200 × 200 px tiles (T) and 8 px mortar (M). In order to extract the tilted line segments along the mortar lines referred to as Twisted Cord [25] elements, the DoG filter should be of the same size as the mortar size [18, 24, 36]. The edge map should contain both high frequency details as well as low frequency contents in the image. We start DoG filtering below the mortar size at scale 4 (σc = 4; as the finest scale) and extend the scales gradually until scale 28 for a large filter to capture the tiles fully, with incremental steps of 4 (in the figure we have shown this till σc = 24 due to shortage of space). Other noncritical parameters of the model are s=2 and h=8, representing theSurround andWindow ratios, respectively.Figure 2
(a) Café Wall of 3 × 8 with 200 × 200 px tiles and 8 px mortar (left) and an enlarged DoG output at scale 8 (σc = 8) from the edge map of the pattern (right). (b) The binary edge map at six scales (σc = 4 to 24 with incremental steps of 4). (c) The same edge map but presented in the jetwhite color map [37]. The noncritical parameters of the DoG model are s=2 and h=8 (theSurround andWindow ratios, resp.).
(a)
(b)
(c)The DoG outputs in Figure2 show that the tilt cues appear at fine to medium scales and start to disappear as the scale of the center Gaussian increases in the model. At fine to medium scales, there are some corner effects that appear in the edge maps which highlight the emergence of tilted line segments and result in the appearance of square tiles that look similar to trapezoids. This may be referred to as wedges in the literature [29], inducing convergent and divergent mortar lines. So, at fine scales around the size of the mortar, we see the groupings of identically colored tiles with the Twisted Cord elements along the mortar lines. By increasing the scales gradually from the medium to coarse scales, when the mortar cues disappear completely in the edge map, other groupings of identically colored tiles are emerged in the edge map, connecting tiles in zigzag vertical orientation. What we see across multiple scales in the edge map of the pattern are two incompatible groupings of pattern elements: groupings of tiles in two consecutive rows by the mortar lines at fine scales with nearly horizontal orientation (as focal/local view) and then groupings of tiles in zigzag vertical direction at coarse scales (as peripheral/global view). These two incompatible groupings occur simultaneously across multiple scales and exhibit systematic differences according to the size of the Gaussian and predicts the change in illusion effects with distance from the focal point in the pattern.We have shown that, in the edge map at multiple scales, not only do we extract the information of edges/textures with the shades and shadows around the edges, but we are also able to show the emergence of other cues related to tilt and perceptual grouping as features for mid-to-high-level processing [17, 22]. Also we have shown in another article that even the prediction of the strength of tilt effect in different variations of Café Wall illusion is possible from the persistence of mortar cues across multiple scales [21] in the edge map. Highly persistent mortar cue in the edge map is an indication for a stronger induced tilt in the stimulus.


### 2.2.2. Second-Stage Processing

The Hough analysis is used for quantitative measurement of tilt in our model and consists of three stages of Edges, Hough, and Analysis as shown in Figure1, explained below.Edges. We used here an analysis pipeline to characterize the tilted line segments presented in the edge map of the Café Wall pattern. First, the edge map is binarized and then the Standard Hough Transform (SHT) [38, 39] is applied to it to detect line segments inside the binary edge map at multiple scales. SHT uses a two-dimensional array called the accumulator (HA) to store line information of edges based on the quantized values of ρ and θ in a pair (ρ,θ) using Hough function in MATLAB. ρ specifies the distance between the line passing through the edge point and θ is the counterclockwise angle between the normal vector (ρ) and the x-axis ranges from 0 to π, [0,π). Therefore, every edge pixel (x,y) in the image space corresponds to a sinusoidal curve in Hough space such that ρ=x·cos⁡θ+y·sin⁡θ, with θ as free parameter corresponding to the angle of the lines passing through the point (x,y) in the image space. The output ofEdges is the accumulator matrix (HA) with all the edge pixel information.Hough. TheEdges stage provides all possible lines that could pass through every edge point of the edge map inside the HA matrix. We are more interested in detecting the induced tilt lines inside the Café Wall image. Two MATLAB functions calledhoughpeaks andhoughlines are employed for the further processing of the accumulator matrix (HA). Thehoughpeaks function finds the peaks in the HA matrix with three parameters ofNumPeaks (maximum number of line segments to be detected),Threshold (threshold value for searching the peaks in the HA), andNHoodSize (the size of the suppression neighbourhood that is set to zero after the peak is identified). Thehoughlines function extracts line segments associated with a particular bin in the accumulator matrix (HA) with two parameters ofFillGap (the distance between two line segments associated with the same Hough bin; line segments with shorter gaps are merged into a single line segment) andMinLength (specifies keeping or discarding the merged lines; lines shorter than this value are discarded).A sample output ofHough processing stage is given in Figure 1 with the detected houghlines displayed in green on the binary edge map at four different scales (the cropped section is selected from a Café Wall with 50 × 50 px tiles and 2 px mortar, with the DoG scales from 0.5M to 2M in the figure around the mortar size with the incremental steps of 0.5M). The results ofHough analysis stage for a different cropped section of a Café Wall pattern with higher resolution (cropped from a Café Wall with 800 × 800 px tiles and 32 px mortar) are shown in Figure 3 for two scales of the DoG edge map (σc = 32, 64-M and 2M; Blue lines indicate the longest line segments detected). The histograms of detected houghlines near the horizontal orientation have been provided for these scales. The absolute mean tilts and the standard deviation of tilts are calculated and presented in the figure below the graphs.Figure 3
Hough stage output. Distribution of line segments detected near the horizontal orientation, presented for two scales of the DoG edge map at scales 32 and 64 (σc = 32, 64). Mean tilt and variance for each graph have been also provided.Analysis. The detected line segments and their angular positions are saved inside four orientation matrices considering the closest to any of the reference orientations of horizontal (H), vertical (V), positive diagonal (+45°, D1), and negative diagonal (−45°, D2) orientations. We consider an interval of [−22.5°, 22.5°) around each reference orientation to cover the whole space. The statistical analysis of tilt angles of the detected lines around each reference orientation is the output of this stage and includes the mean tilts and the standard errors around the means for each scale of the DoG edge map.Hough Parameters for Tilt Investigations of Café Wall Stimulus. Recall thatNumPeaks indicates the maximum number of line segments to be detected andFillGap shows the distance between two line segments associated with the same Hough bin in which line segments with shorter gaps are merged into a single line segment. The other Hough parameter isMinLength, which specifies keeping or discarding of the line segments considering this minimum length and discarding the lines shorter than this value. To select an appropriate value for these parameters we should consider pattern features and the scales of the DoG edge map. In the Café Wall pattern, in order to detect the Twisted Cord elements at fine scales, theMinLength value should be in a reliable range. The Twisted Cord elements have a minimum length of 2.5T (MinLength ≈ 2.5T), and therefore, for a Café Wall with 200 × 200 px tiles,MinLength = 500 px. We set this parameter a bit smaller than this value equal toMinLength ≈ 2.25T = 450 px for our experiments in Section 3. TheFillGap parameter is chosen equal to 1/5th of a tile size (1/5T) in our experiments (to merge the disconnected mortar cues of each Twisted Cord elements at fine to medium scales in the edge maps).NumPeaks is selected appropriately based on the size of the pattern, and, for small foveal sets (Section 3.1), this is set to 100 but has a higher range, 520 and 1000 for larger Café Wall stimulus for global investigation of tilt (Section 3.2).


## 2.2.1. DoG Edge Map at Multiple Scales

The DoG representation at multiple scales is the output of the model, which is referred to as anedge map of an image. The DoG is highly sensitive to spots and moderately sensitive to lines that match the center diameter. We have used this representation for modelling the responses of visual simple cells especially on tile illusions in our investigations [18–20, 22]. An appropriate range for σc can be determined for any arbitrary pattern/image considering the pattern characteristics as well as the filter size matched with the image features (by applying (3)) in our model. The step sizes determine the accuracy of the multiple scale representation here and again are pattern specific for preserving the visual information with minimum redundancy but at multiple scales.For Café Wall illusion, the DoG edge map indicates the emergence of divergence and convergence of the mortar lines in the pattern, similar to how it is perceived as shown in Figure2. The edge map has been shown at six different scales in jetwhite color map [37] for a Café Wall of 3 × 8 tiles with 200 × 200 px tiles (T) and 8 px mortar (M). In order to extract the tilted line segments along the mortar lines referred to as Twisted Cord [25] elements, the DoG filter should be of the same size as the mortar size [18, 24, 36]. The edge map should contain both high frequency details as well as low frequency contents in the image. We start DoG filtering below the mortar size at scale 4 (σc = 4; as the finest scale) and extend the scales gradually until scale 28 for a large filter to capture the tiles fully, with incremental steps of 4 (in the figure we have shown this till σc = 24 due to shortage of space). Other noncritical parameters of the model are s=2 and h=8, representing theSurround andWindow ratios, respectively.Figure 2
(a) Café Wall of 3 × 8 with 200 × 200 px tiles and 8 px mortar (left) and an enlarged DoG output at scale 8 (σc = 8) from the edge map of the pattern (right). (b) The binary edge map at six scales (σc = 4 to 24 with incremental steps of 4). (c) The same edge map but presented in the jetwhite color map [37]. The noncritical parameters of the DoG model are s=2 and h=8 (theSurround andWindow ratios, resp.).
(a)
(b)
(c)The DoG outputs in Figure2 show that the tilt cues appear at fine to medium scales and start to disappear as the scale of the center Gaussian increases in the model. At fine to medium scales, there are some corner effects that appear in the edge maps which highlight the emergence of tilted line segments and result in the appearance of square tiles that look similar to trapezoids. This may be referred to as wedges in the literature [29], inducing convergent and divergent mortar lines. So, at fine scales around the size of the mortar, we see the groupings of identically colored tiles with the Twisted Cord elements along the mortar lines. By increasing the scales gradually from the medium to coarse scales, when the mortar cues disappear completely in the edge map, other groupings of identically colored tiles are emerged in the edge map, connecting tiles in zigzag vertical orientation. What we see across multiple scales in the edge map of the pattern are two incompatible groupings of pattern elements: groupings of tiles in two consecutive rows by the mortar lines at fine scales with nearly horizontal orientation (as focal/local view) and then groupings of tiles in zigzag vertical direction at coarse scales (as peripheral/global view). These two incompatible groupings occur simultaneously across multiple scales and exhibit systematic differences according to the size of the Gaussian and predicts the change in illusion effects with distance from the focal point in the pattern.We have shown that, in the edge map at multiple scales, not only do we extract the information of edges/textures with the shades and shadows around the edges, but we are also able to show the emergence of other cues related to tilt and perceptual grouping as features for mid-to-high-level processing [17, 22]. Also we have shown in another article that even the prediction of the strength of tilt effect in different variations of Café Wall illusion is possible from the persistence of mortar cues across multiple scales [21] in the edge map. Highly persistent mortar cue in the edge map is an indication for a stronger induced tilt in the stimulus.


## 2.2.2. Second-Stage Processing

The Hough analysis is used for quantitative measurement of tilt in our model and consists of three stages of Edges, Hough, and Analysis as shown in Figure1, explained below.Edges. We used here an analysis pipeline to characterize the tilted line segments presented in the edge map of the Café Wall pattern. First, the edge map is binarized and then the Standard Hough Transform (SHT) [38, 39] is applied to it to detect line segments inside the binary edge map at multiple scales. SHT uses a two-dimensional array called the accumulator (HA) to store line information of edges based on the quantized values of ρ and θ in a pair (ρ,θ) using Hough function in MATLAB. ρ specifies the distance between the line passing through the edge point and θ is the counterclockwise angle between the normal vector (ρ) and the x-axis ranges from 0 to π, [0,π). Therefore, every edge pixel (x,y) in the image space corresponds to a sinusoidal curve in Hough space such that ρ=x·cos⁡θ+y·sin⁡θ, with θ as free parameter corresponding to the angle of the lines passing through the point (x,y) in the image space. The output ofEdges is the accumulator matrix (HA) with all the edge pixel information.Hough. TheEdges stage provides all possible lines that could pass through every edge point of the edge map inside the HA matrix. We are more interested in detecting the induced tilt lines inside the Café Wall image. Two MATLAB functions calledhoughpeaks andhoughlines are employed for the further processing of the accumulator matrix (HA). Thehoughpeaks function finds the peaks in the HA matrix with three parameters ofNumPeaks (maximum number of line segments to be detected),Threshold (threshold value for searching the peaks in the HA), andNHoodSize (the size of the suppression neighbourhood that is set to zero after the peak is identified). Thehoughlines function extracts line segments associated with a particular bin in the accumulator matrix (HA) with two parameters ofFillGap (the distance between two line segments associated with the same Hough bin; line segments with shorter gaps are merged into a single line segment) andMinLength (specifies keeping or discarding the merged lines; lines shorter than this value are discarded).A sample output ofHough processing stage is given in Figure 1 with the detected houghlines displayed in green on the binary edge map at four different scales (the cropped section is selected from a Café Wall with 50 × 50 px tiles and 2 px mortar, with the DoG scales from 0.5M to 2M in the figure around the mortar size with the incremental steps of 0.5M). The results ofHough analysis stage for a different cropped section of a Café Wall pattern with higher resolution (cropped from a Café Wall with 800 × 800 px tiles and 32 px mortar) are shown in Figure 3 for two scales of the DoG edge map (σc = 32, 64-M and 2M; Blue lines indicate the longest line segments detected). The histograms of detected houghlines near the horizontal orientation have been provided for these scales. The absolute mean tilts and the standard deviation of tilts are calculated and presented in the figure below the graphs.Figure 3
Hough stage output. Distribution of line segments detected near the horizontal orientation, presented for two scales of the DoG edge map at scales 32 and 64 (σc = 32, 64). Mean tilt and variance for each graph have been also provided.Analysis. The detected line segments and their angular positions are saved inside four orientation matrices considering the closest to any of the reference orientations of horizontal (H), vertical (V), positive diagonal (+45°, D1), and negative diagonal (−45°, D2) orientations. We consider an interval of [−22.5°, 22.5°) around each reference orientation to cover the whole space. The statistical analysis of tilt angles of the detected lines around each reference orientation is the output of this stage and includes the mean tilts and the standard errors around the means for each scale of the DoG edge map.Hough Parameters for Tilt Investigations of Café Wall Stimulus. Recall thatNumPeaks indicates the maximum number of line segments to be detected andFillGap shows the distance between two line segments associated with the same Hough bin in which line segments with shorter gaps are merged into a single line segment. The other Hough parameter isMinLength, which specifies keeping or discarding of the line segments considering this minimum length and discarding the lines shorter than this value. To select an appropriate value for these parameters we should consider pattern features and the scales of the DoG edge map. In the Café Wall pattern, in order to detect the Twisted Cord elements at fine scales, theMinLength value should be in a reliable range. The Twisted Cord elements have a minimum length of 2.5T (MinLength ≈ 2.5T), and therefore, for a Café Wall with 200 × 200 px tiles,MinLength = 500 px. We set this parameter a bit smaller than this value equal toMinLength ≈ 2.25T = 450 px for our experiments in Section 3. TheFillGap parameter is chosen equal to 1/5th of a tile size (1/5T) in our experiments (to merge the disconnected mortar cues of each Twisted Cord elements at fine to medium scales in the edge maps).NumPeaks is selected appropriately based on the size of the pattern, and, for small foveal sets (Section 3.1), this is set to 100 but has a higher range, 520 and 1000 for larger Café Wall stimulus for global investigation of tilt (Section 3.2).


## 3. Results and Discussions

### 3.1. Local Tilt Investigation

#### 3.1.1. Falling and Rising Mortar Investigation

This work draws together and extends our previous studies on the foveal/local investigations of tilt on Café Wall illusion [18, 19], and the extension of our investigations for the peripheral/global analysis of the perceived tilt not in just one specific sample but for variations of different configurations. The quantitative mean tilts of similar shape samples but with variant resolutions have been investigated in our previous work [20]. We have shown that, for variations with different resolutions, the tilt prediction of the model stays nearly the same when the dependent parameters of the model to the spatial content of the pattern have been updated accordingly in each resolution (σc and Hough parameters).We report here the evaluation results of our model’s predictions for thedirection of detected tilts for two types of mortar lines in the Café Wall illusion [20]. Instead of referring to the mortar lines as either convergent or divergent, we rather talk about Falling or Rising mortar lines, in which, in the Falling mortar, the direction of induced tilt is downwards on its right side compared to the horizontal direction and for the Rising mortar the vice versa. For instance, in Figure 2(a)-(left) the top mortar line is Falling while the bottom one is Rising. In this experiment the cropped samples specifically selected in such a way to contain only one mortar line indicate the emergence of tilt in only one direction of either positive or negative in the DoG edge maps (Falling or Rising). The samples have a height of two tiles and the mortar line in between (2T +M) and the width of 4.5 tiles (4.5T;T: tile size,M: mortar size), with the same height above and below the mortar line. In Section 3.1.2, we show the results for samples of variant sizes and different cropping technique for a more general investigation of the foveal/local perception of the induced tilt in the pattern.To fix parameters not being investigated, we restrict consideration initially to the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar. Here, in a systematic approach, 50 samples were selected from the Falling mortar and 50 samples from the Rising mortar with the dimensions described above from the Café Wall of 3 × 9 tiles. The sampling process starts from the leftmost side of the pattern and with a horizontal shift size/offset of 32 pixels between the samples for the cropping window. A few examples of the Falling and Rising samples have been provided in Figure4. The cropped samples at the bottom of the figure are symmetrical crops from the Rising mortar lines selected from the stimulus (Café Wall of 3 × 8). In the DoG edge maps of these samples, the scale of the center Gaussian is in the range of 1/2M to 2M with the incremental steps of 1/2M = 8 px (σc = 8, 16, 24, and 32) to detect both mortar lines and the outlines of the tiles for detecting near-horizontal tilts in the edge maps.Figure 4
Examples of systematically cropped samples along Falling (a) and Rising mortar lines (b), selected from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles (T) and 16 px mortar (M), Café Wall 3 × 9T400-M16. In total, 50 samples are taken along each mortar line with an offset of 32 px between samples in each step. Cropped samples have a size of (2T+M)×4.5T with the mortar line positioned in the middle.
(a)
(b)For individual samples of the Falling and Rising mortar, the near-horizontal mean tilts and variance of the detected houghlines have been shown in Figure5. As the scale of the center Gaussian (σc) in our model increases, the variance of tilt also increases. The mean tilt results of the Falling and Rising mortar samples in Figure 5 indicate that both types of mortar lines follow nearly the same pattern.Figure 5
Mean tilts and variance error bars for individual samples of Falling (a) and Rising mortar lines (b) specified along horizontal axis (100 samples in total; DoG8 meansσc = 8). As explained in Figure 4, the cropped samples are from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar (DoG4: σc = 4).
(a)
(b)The near-horizontal line segments detected in the DoG edge maps (houghlines) at four scales (σc = 8, 16, 24, and 32) are shown in Figure 6 for the Falling (Blue bars) and the Rising (Red bars) mortar samples. These graphs are summarized in Figure 7 in a single graph, indicating normalized distribution of line segments detected with their deviations in degrees from the horizontal (x-axis) orientation for the 100 samples. When the DoG scale increases, the detected tilt range covers a wider neighbourhood area around the horizontal axis as their details given in Figure 6. The deviations of the detected lines from the horizontal orientation in Figures 6 and 7 are very small at the finest scale (σc = 8). The range of tilt angles increases along the following scales of the edge maps reaching a wide range of variations at scale 32 (σc = 32 or DoG32) that is not reflected in our subjective experience of tilt in the pattern (it is overestimated at this scale). In the literature [18, 19, 22, 24, 36] it is noted that the size of DoG filter should be close to the size of the mortar for the Twisted Cord elements to appear along the mortar lines, here DoG16 (σc = 16). We have demonstrated that this is not applicable for Café Wall patterns with very thick mortar lines [21]. In this case, the mortar cues are lost completely in the edge map even by applying DoG filters smaller than the mortar size. The strength of the illusion is highly dependent on the characteristics of the pattern such as the luminance of the mortar, the mortar size, the contrast of the tiles, the aspect ratio of the tile size to the mortar size, and other parameters of the stimulus. We noted that there exists a correlation between the strength of the illusion with the persistence of the mortar cues in the edge maps across multiple scales [21].Figure 6
Distribution of line segments detected by deviation in degrees from the horizontal (x-axis), for the total 100 samples of Falling (Blue bars) and Rising mortar lines (Red bars), as explained in Figure 4. The scales of the edge maps (σc) range from 8 to 32 with step sizes of 8 (1/2M to 2M with incremental steps of 1/2M = 8 px). Other parameters of the model and Hough analysis are as follows: s=2 and h=8 (theSurround andWindow ratios), withNumPeaks = 50,Threshold = 3,FillGap = 80, andMinLength = 960 as the Hough parameters (see [20] for the resolution analysis and its effect on the Hough parameters).Figure 7
The normalized graph of lines detected from the DoG edge maps of the 100 cropped samples by deviation in degrees from the horizontal(H) orientation. Samples are from the Falling and Rising mortar lines from the Café Wall 3 × 9-T400-M16. The characteristics of the samples are provided in Figure 4, and the edge maps have four different scales (σc = 8, 16, 24, and 32, based on [20]).


#### 3.1.2. Variant Sampling Sizes: Two Methods of Sampling

As explained in Section2.2.2, an analytical processing pipeline is used to quantify the tilt angles in the DoG edge maps. For modelling variant foveal views, several sampling sizes and aspect ratios have been investigated across multiple scales in order to find the confidence intervals around the predicted tilts reported in our previous work [18, 19]. These variations are verified and quantified in simulations using two different sampling approaches. The contrast of local tilt detection with a global average across the whole Café Wall pattern will be discussed in Section 3.2.The eyes process the visual scene at different scales at different times, due to the intentional and unintentional eye movements while we look at the scene (pattern). Notably overt saccades and gaze shifts result in a rapid scan of the field of view by the fovea for the pertinent high-resolution information. Our visual perception of tilt in the Café Wall is affected by ourfixation on the pattern. The induced tilts weakened in a region around fixation point, but the peripheral tilts stay unaffected with stronger tilts. It seems that, in the Café Wall illusion, the final induced tilts get greater effect from the peripheral tilt recognition compared to the foveal/local tilt perception. The possible correlations that might exist between the tilt effect to our foveal/peripheral view of the pattern due to gaze shifts and saccades are further investigated here. The local “cropped” samples simulate foveal-sized locus only, but different scales of the DoG edge maps represent different degrees of eccentricity (the distance from the fovea) in the periphery.In this section we are reporting the experimental results from [18, 19] and we restrict consideration initially to Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (Figure 8(a)), with three “foveal” crop sizes to be explored, Crop4 × 5 (Cropped section of a 4 × 5 tiles), Crop5 × 5, and Crop5 × 6 (Figure 8(b)). Although the size of foveal image can be estimated by factors such as specific image size, viewing distance, or human subject in mind (which usually are considered in psychophysical experiments), the sample sizes explored in our experiments for the simulation results are selected for convenience without considering those restrictive factors.Figure 8
Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (a) and three “foveal” sample sizes explored (based on [18, 19]) (CropH × W is H × W tiles).
(a)
(b)Two sampling methods have been applied:Systematic andRandom Cropping. In the“Systematic Cropping” [18] for each specified crop window size, 50 samples are taken from the Café Wall of 9 × 14 tiles, in which the top left corner for the first sample is selected randomly from the pattern and, for the rest of the samples, the cropping window shifts horizontally to the right with an offset of 4 pixels in each step. The total shift is equal to a tile size (200 px) at the end, so there is no repeated versions of any samples. In the“Random Cropping” [19] approach, for each specified crop window size, 50 samples are taken from randomly selected locations with the only consideration of the crop borders to stay inside the pattern.The range of DoG scales of these samples is from 0.5M to 3.5M with the incremental steps of 0.5M, and coarser scales exceeding the tile size (T; using (3)), resulting in a very distorted edge pattern. We calculated [19] not only the near horizontal mean tilts but also the vertical and diagonal tilts at medium to coarse scales in this experiment. Unlike the previous experiment in Section 3.1.1, detecting only horizontal tilts, we extended the range of scales in the model from 2M in the previous experiment to 3.5M for these experiments. With DoG filters larger than the mortar size, ultimately reaching the coarsest size selected (3.5M, using (3)), then the tiles are fully captured at the coarsest scales of the edge maps. These are being used for the vertical and diagonal deviations and the groupings of tiles in zigzag vertical orientation in our investigations. The Hough parameters (of both houghpeaks and houghlines functions) should have a proper range to detect the near-horizontal slanted line segments in the edge maps at fine scales (refer to Section 2.2.2). For example,FillGap should assign a value to fill small gaps between the line segments that appeared in the edge map at fine scales to detect near-horizontal tilted lines, andMinLength should be larger than an individual tile size (T) to avoid the detection of the outlines of the tiles in the calculations. The values of Hough parameters depend on the pattern’s attributes (features) and they are selected empirically for the tilt investigation in the experiments. To attain reliable and comparable tilt results, a constant set of these parameters have been used in this experiment and in Section 3.2 for the global tilt investigation, which is as follows:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450. Other values forNumPeaks have been also tested for the global tilt investigation in Section 3.2 (520 and 1000).Figure9 shows a binary DoG edge map at seven different scales (a), the edge map presented in the jetwhite color map (b), and the detected houghlines displayed in green on the edge map (c) for a sample of Crop4 × 5 tiles, selected from the Café Wall of 9 × 14 tiles (Figure 8).Figure 9
(a) A binary DoG edge map at seven scales (σc = 4, 8, 12, 16, 20, 24, and 28) of a cropped section of size 4 × 5 tiles from a Café Wall with 200 × 200 px tiles and 8 px mortar. (b) The DoG edge map displayed in the jetwhite color map [37]. (c) Detected houghlines from the edge map displayed in green, overlaid on the binary edge map with Hough parameters as:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
(b)
(c)The absolute mean tilts in box plot have been graphed for the detected lines in the DoG edge maps at seven different scales for each sample set and the two sampling methods and around the four reference orientations of horizontal(H), vertical (V), and diagonals (D1, D2) orientations in Figures 10(a) and 10(b). As the figure indicates, the“Random Cropping” approach produces more stable tilt results across variant foveal sample sizes compared to the“Systematic” sampling method. We noted [19] that theSystematic sampling approach is closer to the bias of our saccades and gaze shifts toward interest points, but theRandom sampling is a more standard statistical approach. At fine to medium scales of both sampling methods, there are only horizontal and vertical lines detected. A few samples of Crop5 × 5 have D2 components at scale 16 due to the border effects (only 4 out of 50 samples). The results for near-horizontal mean tilts at scale 8 (σc = 8) show a nearly stable range around 7° in all samples (the DoG filter size apparently correlates with the mortar size). As the scale increases from 20 onwards, there are no near-horizontal lines detected, but more vertical and diagonal lines are extracted from the edge maps. This is because the mortar cues in the edge maps at these scales start to fade, and also the enlargement of the outlines of the tiles results in more lines detected around the vertical and diagonal orientations at coarse scales of the DoGs. By increasing the scale, the horizontal mean tilt also increases and at scales 8 and 12 it is nearly 8°; however, at the finest scale (σc = 4) the horizontal mean tilt is quite small (~3.5°). When we fixate on the pattern, we encounter a weaker tilt effect, since similarly in the fovea the acuity is high because of high density of small size receptors. The vertical mean tilts are approximately 5-6° at medium to coarse scales. The diagonal mean tilts (around D1 and D2 axes) are around 4-5° which can be seen again at medium to coarse scales (σc = 20, 24, and 28).Figure 10
Mean tilts and standard errors around the four reference orientations (H, V, D1, and D2), for the three “foveal” sample sets (Figure 8) with the two sampling approaches of (a) Systematic and (b) Random methods. The parameters of the model and Hough processing are as follows: edge maps at seven DoG scales (σc = 4, 8, 12, 16, 20, 24, and 28), s=2, and h=8, with Hough parametersNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingThe results of the detected mean tilts at a given scale show slight differences across foveal sample sets, and this is expected because of the Random sampling and the fixed Hough parameters that are not optimized for each scale and sampling size, and they are kept constant here for the consistency of the higher level analysis/model. The tilt detection results are sensible when compared to our angular tilt perception of the pattern, but more accuracy may be achieved by optimizing parameters based on the psychophysical experiments.Figures11(a) and 11(b) show the distribution of lines detected from the DoG edge maps at seven scales and around the four reference orientations (H, V, D1, D2) for the three foveal sample sets and the two sampling methods. The near-diagonal tilted lines (around D1 and D2 axes) have been graphed together for fairer representation. Figures 11(a) and 11(b) show that the houghlines detected in (b) are more normally distributed around the reference orientations compared to (a). All the graphs indicate the effect of the edge maps at multiple scales on the range of detected mean tilts and the distribution of the lines detected by their deviations in degrees from the reference orientations. The mean tilts cover a wider angular range when the DoG scale increases. We should be reminded that the number of detected lines is highly dependent on the sample size and theNumPeaks parameter. We explain the tilt results in Figure 11(b) but the same explanation can be used for part (a).Figure 11
The distribution of the line segments detected from the edge maps of the foveal sets (Figure8), having either horizontal (left-column), vertical (center-column), or diagonal (right-column) deviations, with the two sampling methods: (a) Systematic and (b) Random Cropping. The edge maps are at seven different scales (σc = 4, 8, 12, 16, 20, 24, and 28) and a fixed set of Hough parameters are used asNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingFigure11(b) (left-column) shows the near-horizontal lines detected for the three foveal sets. At scale 4 (σc = 4), the detected tilt angles are very small, ranging between 2 and 5°, with the peak of 4°. Furthermore, at scale 16, the detection of a high range of variations of tilt angle is not reflected in our perception of the pattern. To detect horizontal tilt cues along the mortar lines, the scale of the center Gaussian in our model should be close to the mortar. At scale 8, the mean tilts are between 3 and 10° with the peak of 7° for most lines, and at scale 12 it is increased to ~14°. At scale 16 the results show a wider range of horizontal lines detected and a fairly broad range of vertical lines, and this fits as a transition stage between the “horizontal groupings” of identically colored tiles with the mortar lines at a focal view and the “zigzag vertical groupings” of the tiles [22] at a more peripheral/global view.Figure11(b) (center-column) shows the near-vertical lines detected. Similar to the indications of Figure 10, they start to be detected at fine scales due to some edge effects in a few samples, but as color code indicates, the majority of the near-vertical lines are detected at scales 20 and 24, with the mean tilts in the range of 2–15° and the peak close to the V axis. In Figure 11(b) (right-column) the detected lines with near-diagonal deviations indicate that the dominant scales for detection of the diagonal lines are mainly at coarse scales of 24 and 28 (σc = 24, 28) with approximately 5-6° deviation from the diagonal axes (D1, D2).


### 3.2. Global Tilt Investigation

#### 3.2.1. Global Tilts in the Café Wall of 9 × 14 Tiles

The Café Wall illusion is characterized by the appearance of Twisted Cord elements along the mortar lines [23–25], making the tiles seem wedge-shaped [29]. These local tilt elements are believed to be integrated and produce slanted continuous contours along the whole mortar lines by the cortical cells [16, 27] resulting in alternating converging and diverging mortar lines at a global view.Because the tilt effect in the Café Wall is highly directional, it raises the question of whether lateral inhibition and point spread function (PSF) of retinal cells can explain the tilt effect in the pattern or not. We demonstrated that a bioplausible model [17–22], with a circularly symmetric organization as a simplified model for the retinal ganglion cell responses [32, 33], is able to reveal the tilt cues in the Café Wall illusion across multiple scales of the edge map. To explain the emergence of tilt in the Café Wall, there is no need to utilize complex models of non-CRFs [40–44] implementing the retinal/cortical orientation selective cells.In this experiment, the intention is to investigate the Gestalt pattern, simulating peripheral awareness across the entire image, and overcome the shortcomings of our previous investigations. We investigate here the global tilts in the Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar (Figure8(a)) and on its DoG edge map at seven different scales to quantify the tilt angles around the four reference orientations. The DoG scales have a range from 0.5M to 3.5M with the incremental steps of 0.5M the same as the foveal samples in Section 3.1.2.In our first attempt to examine the robustness of the model for global tilt investigation [18, 19], the analysis was done with the parameters appropriate for local features. We have testedNumPeaks = 100 in [18] andNumPeaks = 520 in [19], but we have not achieved convincing results. Increasing the value ofNumPeaks from 100 to 520 did not show any significant change to the mean tilts although it substantially increased the variance. The results showed that the near-horizontal mean tilt was approximately 4° at scale 4 and around 7° at scale 8 nearly the same as the foveal sample sets (Figure 10). The near-vertical mean tilts at medium to coarse scales were around 2°, while they were around 6° in the foveal sets. The near-diagonal mean tilts were approximately 3° and they were in the range of 5-6° in the foveal sample sets. Please refer to [19, Figure  6] for more details. In this work, we perform a global analysis with larger numbers of line segments as appropriate to the large global pattern.NumPeaks is a size relevant parameter, and its value is critical for achieving reliable results. Increasing this value for Hough analysis on the foveal sets does not affect the detected houghlines there, but an appropriate value for large samples is essential to detect all the relevant houghlines available in the edge map with smooth variations reflecting our estimation of tilt that is comparable with the detected lines in the foveal sets in our simulations.The new experimental results for mean tilts and standard errors of the detected tilt angles have been presented in Figure12 for the Café Wall of 9 × 14 tiles withNumPeaks = 1000. The other parameters are kept the same as Figures 10 and 11 for the foveal sets. As indicated in Figure 12(a), the near-horizontal mean tilt is approximately 4° at scale 4 and 7.5° at scale 8 nearly the same as the foveal sample sets (Figure 10). In the horizontal graph, we see that, by increasing the DoG scale, the mean tilt also increases from 7.5° to ~10° at scale 12 with higher variations compared to the foveal sample sets. The new results for the vertical and diagonal mean tilts at coarse scales have been improved dramatically from our previous reports (explained in previous paragraph) and show a variation of tilt angles for the detected houghlines. The near-vertical mean tilts at medium to coarse scales were around 2° that are quite negligible in the previous report; now they are around 10° while they were around 6° in the foveal sets. The near-diagonal mean tilts at medium to coarse scales were approximately 3° in the previous reports; now the value is ~10° and they were in the range of 5-6° in the foveal sample sets. We have shown here that the new results with periphery appropriate parameterization are reliable and comparable with the previous results for foveal parameterization (Section 3.1.2). We will explain more on these results in Sections 3.2.2 and 3.3.Figure 12
Mean tilts and the standard errors of detected tilt angles around the four reference orientations (H, V, D1, and D2) from the DoG edge map at seven different scales of the whole Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar. Green error bars correspond to HoughNumPeaks = 1000, with mean values shown in Red.
(a)
(b)
(c)
(d)


#### 3.2.2. Variant Sized Café Wall Patterns with the Same Aspect Ratios of Tile Size to Mortar Size

We can assume that the tilt perception of the Café Wall illusion starts by a wholistic view to the pattern, which then extends to a local focusing view along the mortar lines in search for further cues of tilt in the pattern. Both of these local and global views to the Café Wall have their own effect on the strength of our perceptual understanding of tilt in this pattern. We started our investigations of the global tilt analysis in the Café Wall stimulus by first addressing the shortcomings of our previous reports [18, 19] as reflected in the previous section and presented reliable tilt results for a specific sample (Café Wall of 9 × 14 tiles) based on periphery appropriate parameterization. We show in this experiment our deep investigations of the global tilts on variations of Café Wall with the same characteristics of mortar lines and tiles but with different arrangements of a whole pattern. We have explored here the correlation between the tilt effect and the layout of the pattern in general (how the tiles are arranged to build the stimulus).In this experiment, variations of Café Wall pattern have been investigated with the same aspect ratios of tile size (T) to mortar size (M) (T/M = const.) in order to check whether # rows and # columns in the overall arrangement of tiles in the Café Wall pattern have an effect on the detected tilts in our simulation results or not. In other words, we check the Gestalt perception of the Café Wall pattern and its relation to visual angle of the whole pattern (not just the visual angle of an individual tile and mortar line investigated so far [18, 19, 21]). We show here that our model can predict slightly different tilt results for these variations, similar to our global perception of illusory tilt in the pattern in the same way as human is affected by the configurations of the pattern. This is being reported for the first time with the quantitative results.The patterns explored here have the same size of tiles (200 × 200 px) and mortar lines (8 px) with these variations: Café Walls of 3 × 11, 5 × 5, 5 × 13, 7 × 11, 11 × 7, and 11 × 11 tiles, as shown in Figure13. Looking at these variations, we see, for instance, a stronger tilt effect in the 5 × 13 tiles compared to the 5 × 5 tiles. Similarly, a stronger tilt effect is perceived in the variation of 7 × 11 tiles compared to weaker tilts in the 11 × 7 tiles.Figure 13
Different configurations of Café Wall pattern, from Café Wall of 3 × 11 tiles on (a) to Café Wall of 5 × 13 tiles at (f). All the patterns have the same tile size of 200 × 200 px and the mortar size of 8 px.To eliminate the effect ofNumPeaks on detected houghlines, in this experiment, we have selectedNumPeaks = 1000 to attain more accurate tilt measurements when the overall sizes of the Café Wall samples are not the same (similar to Section 3.2.1). We have also tested values above 1000 up to 5000 for this parameter, but we found empirically that there is no significant difference in the mean tilt results aboveNumPeaks = 1000 for the samples tested and around four reference orientations. Increasing this value is computationally expensive and we need to keep a trade-off between the efficiency and the accuracy. The rest of the parameters are kept the same as Figures 10–12 for the local and global investigations of tilt in variations of the Café Wall pattern. The Hough parameters are as follows:NumPeaks = 1000,FillGap = 40, andMinLength = 450 for all scales of the DoG edge maps (σc = 4, 8, 12, 16, 20, 24, and 28). Summary tables in Figure 14 present the quantitative mean tilts for the global tilt investigations on these configurations of the pattern. These include the mean tilts and the standard errors of the detected tilt angles around the four reference orientations (H, V, D1, and D2).Figure 14
(a) Different configurations of the Café Wall pattern tested (Figure13) from Café Wall of 3 × 11 tiles on the top to Café Wall of 11 × 11 tiles at the bottom. (b) Mean tilts and the standard errors of tilt angles for each variation are summarized in the mean tilt tables for the four reference orientations of horizontal (H), vertical (V), and diagonals (D1, D2) orientations at seven scales of the edge maps (σc = 4, 8, 12, 16, 20, 24, and 28).The DoG outputs of these variations are the same across multiple scales, since the tiles and mortar lines have fixed sizes and the same set of parameters for theSurround andWindow ratios (s,h, resp.) have been used in the DoG model. Utilizing the Hough analytical pipeline for quantifying the tilt angles, we have measured slightly different tilts across the multiple scales of the edge maps of these variations around the four reference orientations. This is because Hough analyses more dominant lines (longest lines) first by applying the houghpeaks function prior to detecting lines with the houghlines function (MATLAB functions).When the pattern is wider in horizontal direction such as the 3 × 11, 5 × 13, or 7 × 11 it seems that we see a stronger tilt effect along the mortar lines compared to the other variations. The quantitative mean tilts near horizontal orientation occur at fine to medium scales (σc = 4, 8, and 12) of the edge maps. The near-horizontal lines can be captured until scale 16 (σc = 16), with this mortar width (considering the same aspect ratio of the tile size to the mortar size), as well as the midluminance of the mortar lines relative to the luminance of the tiles [21]. This can be seen also for the edge map of Café Wall of 3 × 8 tiles in Figure 2. There is a transient stage at scale 16 (σc = 16), connecting the detected near-horizontal lines to the zigzag vertical line segments due to the arrangement of grouping of tiles in the zigzag vertical orientation at medium to coarse scales in the edge maps. The highest tilt range is shown in Figure 14 for the 5 × 13 configuration which is 3–10.6° at fine to medium scale (σc = 4, 8, and 12), as expected. Then the variations of 7 × 11 (3.8–10.3°) and 11 × 11 (4–10.5°) come next, followed by the 3 × 11, 5 × 5, and 11 × 7 tiles. Considering the two square patterns (the 5 × 5 and 11 × 11 tiles), there are similar horizontal mean tilts, starting around 4.0° at the finest scale (σc = 4) and it is one degree wider in the 11 × 11 variation at scale 12 (σc = 12), ~10.5° compared to ~9.5° in the 5 × 5, but the differences are only significant for σc = 4.The near-vertical mean tilts at medium to coarse scales (σc = 20, 24, and 28) show good results. The weakest vertical mean tilts correspond to the Café Wall of 3 × 11 tiles which ranges from 7.1° to 7.5°. For the patterns of medium size height such as the 5 × 13 and 7 × 11 tiles, it is ~9-10°. It is in the highest range around 10.5° when the pattern is spread along the vertical orientation such as the 11 × 7 and 11 × 11 variations. This is nearly the same for the 5 × 5 tiles having the ratio of height/width = 1 and with a maximum value for the 11 × 11 tiles (>10.6°). So the Café Wall of 5 × 13 tiles from the samples explored has thestrongest horizontal tilt range while the 11 × 7 tiles show thestrongest vertical tilt range. It seems that there is a trade-off in the mean tilts of the vertical and the horizontal orientation, and, for a stronger effect of vertical tilts, we encounter weaker horizontal tilts along the mortar lines. For the diagonal mean tilts the results show roughly similar deviations (in both positive and negative diagonals) at the coarse scales (σc = 24, 28) which is ~11-12° across the samples tested.We note that the results reported here are based on our investigations on the number of lines detected at their angular positions and we have not considered any weights for the length of the lines in the mean tilts calculations. For the horizontal mean tilts this does not affect the results, since at fine to medium scales the local tilted line segments (Twisted Cord elements) are extracted for all of these variations nearly the same with roughly similar size. The detected houghlines at scale 12 (medium scale) for all variations tested have been provided in Figure15, highlighting local tilts of the nearly horizontal Twisted Cords and small tilt deviations from the vertical orientation. However, if a Café Wall pattern is more spread along the vertical orientation compared to the horizontal, then longer lines are detected with less deviation along the vertical at coarse scales (the whole tiles are present in the edge maps with no mortar cues left at these scales). Figure 16 clarifies this more: the detected houghlines at scale 28 (the coarsest scale) have been presented for these variations, indicating the global tilts of the lines detected with zigzag vertical orientation. In fact, as we expect from the tilt estimation, deviations from the vertical orientation increase as the lines found get shorter.Figure 15
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 12 (σc = 12) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.Figure 16
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 28 (σc = 28) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.


### 3.3. Comparison of Local and Global Tilts in Café Wall Illusion

We have shown in the last two sections that the mean tilt results with periphery appropriate parameterization are reliable and comparable with the previous results for foveal parameterization. The results for near-horizontal global tilts in these variations are nearly the same as the local tilts detected in the foveal sample sets (Section3.1.2) 4° at scale 4 and ~7° at scale 8. At scale 12, we have a higher tilt angle ~9.5–10.5° here compared to the local tilts around 8°. The results of the vertical and diagonal mean tilts are slightly larger than the predicted values for the foveal samples (7–10° for the vertical and 11-12° for the diagonal tilts here compared to ~6° for the vertical and 5-6° for the diagonal tilts in the foveal samples). The results here seem more realistic in our perception of zigzag vertical lines at coarse scales considering the phase shift of rows of tiles in the Café Wall pattern (the deviations from the diagonal axes are more than 5°, considering the geometry of the pattern).The quantitative modelling presented for the perceived tilt in the Café Wall illusion considering the foveal/local aspects as well as the peripheral/global view to the pattern leads us to achieve reliable results in our investigations. However, we illustrate some improvements to the current evaluation for future studies on the topic. First, for near-horizontal mean tilts, although the tilt analysis pipeline in our model detects the local Twisted Cord elements as local tilt cues as shown in Figure15 (for scale 12 for these variations), it seems that, in our perception of tilt, we intend to integrate these local tilt cues to construct a slanted continuous contour along the entire mortar as either diverging or converging [16, 27] tilt. Therefore, an edge integration technique is required for predicting a more precise value for the near-horizontal tilts as we perceive tilts in the Café Wall. Second, in the investigated tilts around the vertical orientation, we expect to see less deviations for the vertically spread configurations compared to the horizontally spread ones. However, the results showed the maximum vertical deviations for the Café Walls of 11 × 7 and 11 × 11 around 10.5° compared to 9° in others, except 7.5° for the Café Wall of 3 × 11. In the 3 × 11 tiles, we see more deviations around the diagonals compared to the rest of the configurations (as it is expected), where the range is ~12.5–14° compared to 11–12.5°, and also less deviations from the vertical orientation due to the groupings of detected lines for the reference orientations. Our explanation of the results is getting clear by looking at the houghlines presented in Figure 16. In the Hough analysis, we have applied the same weight for all the detected lines. Therefore for the patterns that are spread along the vertical orientation, although houghlines detect many longer lines with less deviations in the edge map, houghpeaks let more smaller line segments be detected (up to the maximum value ofNumPeaks), with more deviations from the vertical orientation. For final validations of these results, psychophysical experiments are required as the priority of our future work. The results from psychophysical experiments lead us to assign weights to each scale and approximate tilt angles in our model based on the perceived tilt in real subjects.


## 3.1. Local Tilt Investigation

### 3.1.1. Falling and Rising Mortar Investigation

This work draws together and extends our previous studies on the foveal/local investigations of tilt on Café Wall illusion [18, 19], and the extension of our investigations for the peripheral/global analysis of the perceived tilt not in just one specific sample but for variations of different configurations. The quantitative mean tilts of similar shape samples but with variant resolutions have been investigated in our previous work [20]. We have shown that, for variations with different resolutions, the tilt prediction of the model stays nearly the same when the dependent parameters of the model to the spatial content of the pattern have been updated accordingly in each resolution (σc and Hough parameters).We report here the evaluation results of our model’s predictions for thedirection of detected tilts for two types of mortar lines in the Café Wall illusion [20]. Instead of referring to the mortar lines as either convergent or divergent, we rather talk about Falling or Rising mortar lines, in which, in the Falling mortar, the direction of induced tilt is downwards on its right side compared to the horizontal direction and for the Rising mortar the vice versa. For instance, in Figure 2(a)-(left) the top mortar line is Falling while the bottom one is Rising. In this experiment the cropped samples specifically selected in such a way to contain only one mortar line indicate the emergence of tilt in only one direction of either positive or negative in the DoG edge maps (Falling or Rising). The samples have a height of two tiles and the mortar line in between (2T +M) and the width of 4.5 tiles (4.5T;T: tile size,M: mortar size), with the same height above and below the mortar line. In Section 3.1.2, we show the results for samples of variant sizes and different cropping technique for a more general investigation of the foveal/local perception of the induced tilt in the pattern.To fix parameters not being investigated, we restrict consideration initially to the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar. Here, in a systematic approach, 50 samples were selected from the Falling mortar and 50 samples from the Rising mortar with the dimensions described above from the Café Wall of 3 × 9 tiles. The sampling process starts from the leftmost side of the pattern and with a horizontal shift size/offset of 32 pixels between the samples for the cropping window. A few examples of the Falling and Rising samples have been provided in Figure4. The cropped samples at the bottom of the figure are symmetrical crops from the Rising mortar lines selected from the stimulus (Café Wall of 3 × 8). In the DoG edge maps of these samples, the scale of the center Gaussian is in the range of 1/2M to 2M with the incremental steps of 1/2M = 8 px (σc = 8, 16, 24, and 32) to detect both mortar lines and the outlines of the tiles for detecting near-horizontal tilts in the edge maps.Figure 4
Examples of systematically cropped samples along Falling (a) and Rising mortar lines (b), selected from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles (T) and 16 px mortar (M), Café Wall 3 × 9T400-M16. In total, 50 samples are taken along each mortar line with an offset of 32 px between samples in each step. Cropped samples have a size of (2T+M)×4.5T with the mortar line positioned in the middle.
(a)
(b)For individual samples of the Falling and Rising mortar, the near-horizontal mean tilts and variance of the detected houghlines have been shown in Figure5. As the scale of the center Gaussian (σc) in our model increases, the variance of tilt also increases. The mean tilt results of the Falling and Rising mortar samples in Figure 5 indicate that both types of mortar lines follow nearly the same pattern.Figure 5
Mean tilts and variance error bars for individual samples of Falling (a) and Rising mortar lines (b) specified along horizontal axis (100 samples in total; DoG8 meansσc = 8). As explained in Figure 4, the cropped samples are from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar (DoG4: σc = 4).
(a)
(b)The near-horizontal line segments detected in the DoG edge maps (houghlines) at four scales (σc = 8, 16, 24, and 32) are shown in Figure 6 for the Falling (Blue bars) and the Rising (Red bars) mortar samples. These graphs are summarized in Figure 7 in a single graph, indicating normalized distribution of line segments detected with their deviations in degrees from the horizontal (x-axis) orientation for the 100 samples. When the DoG scale increases, the detected tilt range covers a wider neighbourhood area around the horizontal axis as their details given in Figure 6. The deviations of the detected lines from the horizontal orientation in Figures 6 and 7 are very small at the finest scale (σc = 8). The range of tilt angles increases along the following scales of the edge maps reaching a wide range of variations at scale 32 (σc = 32 or DoG32) that is not reflected in our subjective experience of tilt in the pattern (it is overestimated at this scale). In the literature [18, 19, 22, 24, 36] it is noted that the size of DoG filter should be close to the size of the mortar for the Twisted Cord elements to appear along the mortar lines, here DoG16 (σc = 16). We have demonstrated that this is not applicable for Café Wall patterns with very thick mortar lines [21]. In this case, the mortar cues are lost completely in the edge map even by applying DoG filters smaller than the mortar size. The strength of the illusion is highly dependent on the characteristics of the pattern such as the luminance of the mortar, the mortar size, the contrast of the tiles, the aspect ratio of the tile size to the mortar size, and other parameters of the stimulus. We noted that there exists a correlation between the strength of the illusion with the persistence of the mortar cues in the edge maps across multiple scales [21].Figure 6
Distribution of line segments detected by deviation in degrees from the horizontal (x-axis), for the total 100 samples of Falling (Blue bars) and Rising mortar lines (Red bars), as explained in Figure 4. The scales of the edge maps (σc) range from 8 to 32 with step sizes of 8 (1/2M to 2M with incremental steps of 1/2M = 8 px). Other parameters of the model and Hough analysis are as follows: s=2 and h=8 (theSurround andWindow ratios), withNumPeaks = 50,Threshold = 3,FillGap = 80, andMinLength = 960 as the Hough parameters (see [20] for the resolution analysis and its effect on the Hough parameters).Figure 7
The normalized graph of lines detected from the DoG edge maps of the 100 cropped samples by deviation in degrees from the horizontal(H) orientation. Samples are from the Falling and Rising mortar lines from the Café Wall 3 × 9-T400-M16. The characteristics of the samples are provided in Figure 4, and the edge maps have four different scales (σc = 8, 16, 24, and 32, based on [20]).


### 3.1.2. Variant Sampling Sizes: Two Methods of Sampling

As explained in Section2.2.2, an analytical processing pipeline is used to quantify the tilt angles in the DoG edge maps. For modelling variant foveal views, several sampling sizes and aspect ratios have been investigated across multiple scales in order to find the confidence intervals around the predicted tilts reported in our previous work [18, 19]. These variations are verified and quantified in simulations using two different sampling approaches. The contrast of local tilt detection with a global average across the whole Café Wall pattern will be discussed in Section 3.2.The eyes process the visual scene at different scales at different times, due to the intentional and unintentional eye movements while we look at the scene (pattern). Notably overt saccades and gaze shifts result in a rapid scan of the field of view by the fovea for the pertinent high-resolution information. Our visual perception of tilt in the Café Wall is affected by ourfixation on the pattern. The induced tilts weakened in a region around fixation point, but the peripheral tilts stay unaffected with stronger tilts. It seems that, in the Café Wall illusion, the final induced tilts get greater effect from the peripheral tilt recognition compared to the foveal/local tilt perception. The possible correlations that might exist between the tilt effect to our foveal/peripheral view of the pattern due to gaze shifts and saccades are further investigated here. The local “cropped” samples simulate foveal-sized locus only, but different scales of the DoG edge maps represent different degrees of eccentricity (the distance from the fovea) in the periphery.In this section we are reporting the experimental results from [18, 19] and we restrict consideration initially to Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (Figure 8(a)), with three “foveal” crop sizes to be explored, Crop4 × 5 (Cropped section of a 4 × 5 tiles), Crop5 × 5, and Crop5 × 6 (Figure 8(b)). Although the size of foveal image can be estimated by factors such as specific image size, viewing distance, or human subject in mind (which usually are considered in psychophysical experiments), the sample sizes explored in our experiments for the simulation results are selected for convenience without considering those restrictive factors.Figure 8
Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (a) and three “foveal” sample sizes explored (based on [18, 19]) (CropH × W is H × W tiles).
(a)
(b)Two sampling methods have been applied:Systematic andRandom Cropping. In the“Systematic Cropping” [18] for each specified crop window size, 50 samples are taken from the Café Wall of 9 × 14 tiles, in which the top left corner for the first sample is selected randomly from the pattern and, for the rest of the samples, the cropping window shifts horizontally to the right with an offset of 4 pixels in each step. The total shift is equal to a tile size (200 px) at the end, so there is no repeated versions of any samples. In the“Random Cropping” [19] approach, for each specified crop window size, 50 samples are taken from randomly selected locations with the only consideration of the crop borders to stay inside the pattern.The range of DoG scales of these samples is from 0.5M to 3.5M with the incremental steps of 0.5M, and coarser scales exceeding the tile size (T; using (3)), resulting in a very distorted edge pattern. We calculated [19] not only the near horizontal mean tilts but also the vertical and diagonal tilts at medium to coarse scales in this experiment. Unlike the previous experiment in Section 3.1.1, detecting only horizontal tilts, we extended the range of scales in the model from 2M in the previous experiment to 3.5M for these experiments. With DoG filters larger than the mortar size, ultimately reaching the coarsest size selected (3.5M, using (3)), then the tiles are fully captured at the coarsest scales of the edge maps. These are being used for the vertical and diagonal deviations and the groupings of tiles in zigzag vertical orientation in our investigations. The Hough parameters (of both houghpeaks and houghlines functions) should have a proper range to detect the near-horizontal slanted line segments in the edge maps at fine scales (refer to Section 2.2.2). For example,FillGap should assign a value to fill small gaps between the line segments that appeared in the edge map at fine scales to detect near-horizontal tilted lines, andMinLength should be larger than an individual tile size (T) to avoid the detection of the outlines of the tiles in the calculations. The values of Hough parameters depend on the pattern’s attributes (features) and they are selected empirically for the tilt investigation in the experiments. To attain reliable and comparable tilt results, a constant set of these parameters have been used in this experiment and in Section 3.2 for the global tilt investigation, which is as follows:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450. Other values forNumPeaks have been also tested for the global tilt investigation in Section 3.2 (520 and 1000).Figure9 shows a binary DoG edge map at seven different scales (a), the edge map presented in the jetwhite color map (b), and the detected houghlines displayed in green on the edge map (c) for a sample of Crop4 × 5 tiles, selected from the Café Wall of 9 × 14 tiles (Figure 8).Figure 9
(a) A binary DoG edge map at seven scales (σc = 4, 8, 12, 16, 20, 24, and 28) of a cropped section of size 4 × 5 tiles from a Café Wall with 200 × 200 px tiles and 8 px mortar. (b) The DoG edge map displayed in the jetwhite color map [37]. (c) Detected houghlines from the edge map displayed in green, overlaid on the binary edge map with Hough parameters as:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
(b)
(c)The absolute mean tilts in box plot have been graphed for the detected lines in the DoG edge maps at seven different scales for each sample set and the two sampling methods and around the four reference orientations of horizontal(H), vertical (V), and diagonals (D1, D2) orientations in Figures 10(a) and 10(b). As the figure indicates, the“Random Cropping” approach produces more stable tilt results across variant foveal sample sizes compared to the“Systematic” sampling method. We noted [19] that theSystematic sampling approach is closer to the bias of our saccades and gaze shifts toward interest points, but theRandom sampling is a more standard statistical approach. At fine to medium scales of both sampling methods, there are only horizontal and vertical lines detected. A few samples of Crop5 × 5 have D2 components at scale 16 due to the border effects (only 4 out of 50 samples). The results for near-horizontal mean tilts at scale 8 (σc = 8) show a nearly stable range around 7° in all samples (the DoG filter size apparently correlates with the mortar size). As the scale increases from 20 onwards, there are no near-horizontal lines detected, but more vertical and diagonal lines are extracted from the edge maps. This is because the mortar cues in the edge maps at these scales start to fade, and also the enlargement of the outlines of the tiles results in more lines detected around the vertical and diagonal orientations at coarse scales of the DoGs. By increasing the scale, the horizontal mean tilt also increases and at scales 8 and 12 it is nearly 8°; however, at the finest scale (σc = 4) the horizontal mean tilt is quite small (~3.5°). When we fixate on the pattern, we encounter a weaker tilt effect, since similarly in the fovea the acuity is high because of high density of small size receptors. The vertical mean tilts are approximately 5-6° at medium to coarse scales. The diagonal mean tilts (around D1 and D2 axes) are around 4-5° which can be seen again at medium to coarse scales (σc = 20, 24, and 28).Figure 10
Mean tilts and standard errors around the four reference orientations (H, V, D1, and D2), for the three “foveal” sample sets (Figure 8) with the two sampling approaches of (a) Systematic and (b) Random methods. The parameters of the model and Hough processing are as follows: edge maps at seven DoG scales (σc = 4, 8, 12, 16, 20, 24, and 28), s=2, and h=8, with Hough parametersNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingThe results of the detected mean tilts at a given scale show slight differences across foveal sample sets, and this is expected because of the Random sampling and the fixed Hough parameters that are not optimized for each scale and sampling size, and they are kept constant here for the consistency of the higher level analysis/model. The tilt detection results are sensible when compared to our angular tilt perception of the pattern, but more accuracy may be achieved by optimizing parameters based on the psychophysical experiments.Figures11(a) and 11(b) show the distribution of lines detected from the DoG edge maps at seven scales and around the four reference orientations (H, V, D1, D2) for the three foveal sample sets and the two sampling methods. The near-diagonal tilted lines (around D1 and D2 axes) have been graphed together for fairer representation. Figures 11(a) and 11(b) show that the houghlines detected in (b) are more normally distributed around the reference orientations compared to (a). All the graphs indicate the effect of the edge maps at multiple scales on the range of detected mean tilts and the distribution of the lines detected by their deviations in degrees from the reference orientations. The mean tilts cover a wider angular range when the DoG scale increases. We should be reminded that the number of detected lines is highly dependent on the sample size and theNumPeaks parameter. We explain the tilt results in Figure 11(b) but the same explanation can be used for part (a).Figure 11
The distribution of the line segments detected from the edge maps of the foveal sets (Figure8), having either horizontal (left-column), vertical (center-column), or diagonal (right-column) deviations, with the two sampling methods: (a) Systematic and (b) Random Cropping. The edge maps are at seven different scales (σc = 4, 8, 12, 16, 20, 24, and 28) and a fixed set of Hough parameters are used asNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingFigure11(b) (left-column) shows the near-horizontal lines detected for the three foveal sets. At scale 4 (σc = 4), the detected tilt angles are very small, ranging between 2 and 5°, with the peak of 4°. Furthermore, at scale 16, the detection of a high range of variations of tilt angle is not reflected in our perception of the pattern. To detect horizontal tilt cues along the mortar lines, the scale of the center Gaussian in our model should be close to the mortar. At scale 8, the mean tilts are between 3 and 10° with the peak of 7° for most lines, and at scale 12 it is increased to ~14°. At scale 16 the results show a wider range of horizontal lines detected and a fairly broad range of vertical lines, and this fits as a transition stage between the “horizontal groupings” of identically colored tiles with the mortar lines at a focal view and the “zigzag vertical groupings” of the tiles [22] at a more peripheral/global view.Figure11(b) (center-column) shows the near-vertical lines detected. Similar to the indications of Figure 10, they start to be detected at fine scales due to some edge effects in a few samples, but as color code indicates, the majority of the near-vertical lines are detected at scales 20 and 24, with the mean tilts in the range of 2–15° and the peak close to the V axis. In Figure 11(b) (right-column) the detected lines with near-diagonal deviations indicate that the dominant scales for detection of the diagonal lines are mainly at coarse scales of 24 and 28 (σc = 24, 28) with approximately 5-6° deviation from the diagonal axes (D1, D2).


## 3.1.1. Falling and Rising Mortar Investigation

This work draws together and extends our previous studies on the foveal/local investigations of tilt on Café Wall illusion [18, 19], and the extension of our investigations for the peripheral/global analysis of the perceived tilt not in just one specific sample but for variations of different configurations. The quantitative mean tilts of similar shape samples but with variant resolutions have been investigated in our previous work [20]. We have shown that, for variations with different resolutions, the tilt prediction of the model stays nearly the same when the dependent parameters of the model to the spatial content of the pattern have been updated accordingly in each resolution (σc and Hough parameters).We report here the evaluation results of our model’s predictions for thedirection of detected tilts for two types of mortar lines in the Café Wall illusion [20]. Instead of referring to the mortar lines as either convergent or divergent, we rather talk about Falling or Rising mortar lines, in which, in the Falling mortar, the direction of induced tilt is downwards on its right side compared to the horizontal direction and for the Rising mortar the vice versa. For instance, in Figure 2(a)-(left) the top mortar line is Falling while the bottom one is Rising. In this experiment the cropped samples specifically selected in such a way to contain only one mortar line indicate the emergence of tilt in only one direction of either positive or negative in the DoG edge maps (Falling or Rising). The samples have a height of two tiles and the mortar line in between (2T +M) and the width of 4.5 tiles (4.5T;T: tile size,M: mortar size), with the same height above and below the mortar line. In Section 3.1.2, we show the results for samples of variant sizes and different cropping technique for a more general investigation of the foveal/local perception of the induced tilt in the pattern.To fix parameters not being investigated, we restrict consideration initially to the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar. Here, in a systematic approach, 50 samples were selected from the Falling mortar and 50 samples from the Rising mortar with the dimensions described above from the Café Wall of 3 × 9 tiles. The sampling process starts from the leftmost side of the pattern and with a horizontal shift size/offset of 32 pixels between the samples for the cropping window. A few examples of the Falling and Rising samples have been provided in Figure4. The cropped samples at the bottom of the figure are symmetrical crops from the Rising mortar lines selected from the stimulus (Café Wall of 3 × 8). In the DoG edge maps of these samples, the scale of the center Gaussian is in the range of 1/2M to 2M with the incremental steps of 1/2M = 8 px (σc = 8, 16, 24, and 32) to detect both mortar lines and the outlines of the tiles for detecting near-horizontal tilts in the edge maps.Figure 4
Examples of systematically cropped samples along Falling (a) and Rising mortar lines (b), selected from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles (T) and 16 px mortar (M), Café Wall 3 × 9T400-M16. In total, 50 samples are taken along each mortar line with an offset of 32 px between samples in each step. Cropped samples have a size of (2T+M)×4.5T with the mortar line positioned in the middle.
(a)
(b)For individual samples of the Falling and Rising mortar, the near-horizontal mean tilts and variance of the detected houghlines have been shown in Figure5. As the scale of the center Gaussian (σc) in our model increases, the variance of tilt also increases. The mean tilt results of the Falling and Rising mortar samples in Figure 5 indicate that both types of mortar lines follow nearly the same pattern.Figure 5
Mean tilts and variance error bars for individual samples of Falling (a) and Rising mortar lines (b) specified along horizontal axis (100 samples in total; DoG8 meansσc = 8). As explained in Figure 4, the cropped samples are from the Café Wall of 3 × 9 tiles with 400 × 400 px tiles and 16 px mortar (DoG4: σc = 4).
(a)
(b)The near-horizontal line segments detected in the DoG edge maps (houghlines) at four scales (σc = 8, 16, 24, and 32) are shown in Figure 6 for the Falling (Blue bars) and the Rising (Red bars) mortar samples. These graphs are summarized in Figure 7 in a single graph, indicating normalized distribution of line segments detected with their deviations in degrees from the horizontal (x-axis) orientation for the 100 samples. When the DoG scale increases, the detected tilt range covers a wider neighbourhood area around the horizontal axis as their details given in Figure 6. The deviations of the detected lines from the horizontal orientation in Figures 6 and 7 are very small at the finest scale (σc = 8). The range of tilt angles increases along the following scales of the edge maps reaching a wide range of variations at scale 32 (σc = 32 or DoG32) that is not reflected in our subjective experience of tilt in the pattern (it is overestimated at this scale). In the literature [18, 19, 22, 24, 36] it is noted that the size of DoG filter should be close to the size of the mortar for the Twisted Cord elements to appear along the mortar lines, here DoG16 (σc = 16). We have demonstrated that this is not applicable for Café Wall patterns with very thick mortar lines [21]. In this case, the mortar cues are lost completely in the edge map even by applying DoG filters smaller than the mortar size. The strength of the illusion is highly dependent on the characteristics of the pattern such as the luminance of the mortar, the mortar size, the contrast of the tiles, the aspect ratio of the tile size to the mortar size, and other parameters of the stimulus. We noted that there exists a correlation between the strength of the illusion with the persistence of the mortar cues in the edge maps across multiple scales [21].Figure 6
Distribution of line segments detected by deviation in degrees from the horizontal (x-axis), for the total 100 samples of Falling (Blue bars) and Rising mortar lines (Red bars), as explained in Figure 4. The scales of the edge maps (σc) range from 8 to 32 with step sizes of 8 (1/2M to 2M with incremental steps of 1/2M = 8 px). Other parameters of the model and Hough analysis are as follows: s=2 and h=8 (theSurround andWindow ratios), withNumPeaks = 50,Threshold = 3,FillGap = 80, andMinLength = 960 as the Hough parameters (see [20] for the resolution analysis and its effect on the Hough parameters).Figure 7
The normalized graph of lines detected from the DoG edge maps of the 100 cropped samples by deviation in degrees from the horizontal(H) orientation. Samples are from the Falling and Rising mortar lines from the Café Wall 3 × 9-T400-M16. The characteristics of the samples are provided in Figure 4, and the edge maps have four different scales (σc = 8, 16, 24, and 32, based on [20]).


## 3.1.2. Variant Sampling Sizes: Two Methods of Sampling

As explained in Section2.2.2, an analytical processing pipeline is used to quantify the tilt angles in the DoG edge maps. For modelling variant foveal views, several sampling sizes and aspect ratios have been investigated across multiple scales in order to find the confidence intervals around the predicted tilts reported in our previous work [18, 19]. These variations are verified and quantified in simulations using two different sampling approaches. The contrast of local tilt detection with a global average across the whole Café Wall pattern will be discussed in Section 3.2.The eyes process the visual scene at different scales at different times, due to the intentional and unintentional eye movements while we look at the scene (pattern). Notably overt saccades and gaze shifts result in a rapid scan of the field of view by the fovea for the pertinent high-resolution information. Our visual perception of tilt in the Café Wall is affected by ourfixation on the pattern. The induced tilts weakened in a region around fixation point, but the peripheral tilts stay unaffected with stronger tilts. It seems that, in the Café Wall illusion, the final induced tilts get greater effect from the peripheral tilt recognition compared to the foveal/local tilt perception. The possible correlations that might exist between the tilt effect to our foveal/peripheral view of the pattern due to gaze shifts and saccades are further investigated here. The local “cropped” samples simulate foveal-sized locus only, but different scales of the DoG edge maps represent different degrees of eccentricity (the distance from the fovea) in the periphery.In this section we are reporting the experimental results from [18, 19] and we restrict consideration initially to Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (Figure 8(a)), with three “foveal” crop sizes to be explored, Crop4 × 5 (Cropped section of a 4 × 5 tiles), Crop5 × 5, and Crop5 × 6 (Figure 8(b)). Although the size of foveal image can be estimated by factors such as specific image size, viewing distance, or human subject in mind (which usually are considered in psychophysical experiments), the sample sizes explored in our experiments for the simulation results are selected for convenience without considering those restrictive factors.Figure 8
Café Wall of 9 × 14 tiles with 200 × 200 px tiles and 8 px mortar (a) and three “foveal” sample sizes explored (based on [18, 19]) (CropH × W is H × W tiles).
(a)
(b)Two sampling methods have been applied:Systematic andRandom Cropping. In the“Systematic Cropping” [18] for each specified crop window size, 50 samples are taken from the Café Wall of 9 × 14 tiles, in which the top left corner for the first sample is selected randomly from the pattern and, for the rest of the samples, the cropping window shifts horizontally to the right with an offset of 4 pixels in each step. The total shift is equal to a tile size (200 px) at the end, so there is no repeated versions of any samples. In the“Random Cropping” [19] approach, for each specified crop window size, 50 samples are taken from randomly selected locations with the only consideration of the crop borders to stay inside the pattern.The range of DoG scales of these samples is from 0.5M to 3.5M with the incremental steps of 0.5M, and coarser scales exceeding the tile size (T; using (3)), resulting in a very distorted edge pattern. We calculated [19] not only the near horizontal mean tilts but also the vertical and diagonal tilts at medium to coarse scales in this experiment. Unlike the previous experiment in Section 3.1.1, detecting only horizontal tilts, we extended the range of scales in the model from 2M in the previous experiment to 3.5M for these experiments. With DoG filters larger than the mortar size, ultimately reaching the coarsest size selected (3.5M, using (3)), then the tiles are fully captured at the coarsest scales of the edge maps. These are being used for the vertical and diagonal deviations and the groupings of tiles in zigzag vertical orientation in our investigations. The Hough parameters (of both houghpeaks and houghlines functions) should have a proper range to detect the near-horizontal slanted line segments in the edge maps at fine scales (refer to Section 2.2.2). For example,FillGap should assign a value to fill small gaps between the line segments that appeared in the edge map at fine scales to detect near-horizontal tilted lines, andMinLength should be larger than an individual tile size (T) to avoid the detection of the outlines of the tiles in the calculations. The values of Hough parameters depend on the pattern’s attributes (features) and they are selected empirically for the tilt investigation in the experiments. To attain reliable and comparable tilt results, a constant set of these parameters have been used in this experiment and in Section 3.2 for the global tilt investigation, which is as follows:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450. Other values forNumPeaks have been also tested for the global tilt investigation in Section 3.2 (520 and 1000).Figure9 shows a binary DoG edge map at seven different scales (a), the edge map presented in the jetwhite color map (b), and the detected houghlines displayed in green on the edge map (c) for a sample of Crop4 × 5 tiles, selected from the Café Wall of 9 × 14 tiles (Figure 8).Figure 9
(a) A binary DoG edge map at seven scales (σc = 4, 8, 12, 16, 20, 24, and 28) of a cropped section of size 4 × 5 tiles from a Café Wall with 200 × 200 px tiles and 8 px mortar. (b) The DoG edge map displayed in the jetwhite color map [37]. (c) Detected houghlines from the edge map displayed in green, overlaid on the binary edge map with Hough parameters as:NumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
(b)
(c)The absolute mean tilts in box plot have been graphed for the detected lines in the DoG edge maps at seven different scales for each sample set and the two sampling methods and around the four reference orientations of horizontal(H), vertical (V), and diagonals (D1, D2) orientations in Figures 10(a) and 10(b). As the figure indicates, the“Random Cropping” approach produces more stable tilt results across variant foveal sample sizes compared to the“Systematic” sampling method. We noted [19] that theSystematic sampling approach is closer to the bias of our saccades and gaze shifts toward interest points, but theRandom sampling is a more standard statistical approach. At fine to medium scales of both sampling methods, there are only horizontal and vertical lines detected. A few samples of Crop5 × 5 have D2 components at scale 16 due to the border effects (only 4 out of 50 samples). The results for near-horizontal mean tilts at scale 8 (σc = 8) show a nearly stable range around 7° in all samples (the DoG filter size apparently correlates with the mortar size). As the scale increases from 20 onwards, there are no near-horizontal lines detected, but more vertical and diagonal lines are extracted from the edge maps. This is because the mortar cues in the edge maps at these scales start to fade, and also the enlargement of the outlines of the tiles results in more lines detected around the vertical and diagonal orientations at coarse scales of the DoGs. By increasing the scale, the horizontal mean tilt also increases and at scales 8 and 12 it is nearly 8°; however, at the finest scale (σc = 4) the horizontal mean tilt is quite small (~3.5°). When we fixate on the pattern, we encounter a weaker tilt effect, since similarly in the fovea the acuity is high because of high density of small size receptors. The vertical mean tilts are approximately 5-6° at medium to coarse scales. The diagonal mean tilts (around D1 and D2 axes) are around 4-5° which can be seen again at medium to coarse scales (σc = 20, 24, and 28).Figure 10
Mean tilts and standard errors around the four reference orientations (H, V, D1, and D2), for the three “foveal” sample sets (Figure 8) with the two sampling approaches of (a) Systematic and (b) Random methods. The parameters of the model and Hough processing are as follows: edge maps at seven DoG scales (σc = 4, 8, 12, 16, 20, 24, and 28), s=2, and h=8, with Hough parametersNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingThe results of the detected mean tilts at a given scale show slight differences across foveal sample sets, and this is expected because of the Random sampling and the fixed Hough parameters that are not optimized for each scale and sampling size, and they are kept constant here for the consistency of the higher level analysis/model. The tilt detection results are sensible when compared to our angular tilt perception of the pattern, but more accuracy may be achieved by optimizing parameters based on the psychophysical experiments.Figures11(a) and 11(b) show the distribution of lines detected from the DoG edge maps at seven scales and around the four reference orientations (H, V, D1, D2) for the three foveal sample sets and the two sampling methods. The near-diagonal tilted lines (around D1 and D2 axes) have been graphed together for fairer representation. Figures 11(a) and 11(b) show that the houghlines detected in (b) are more normally distributed around the reference orientations compared to (a). All the graphs indicate the effect of the edge maps at multiple scales on the range of detected mean tilts and the distribution of the lines detected by their deviations in degrees from the reference orientations. The mean tilts cover a wider angular range when the DoG scale increases. We should be reminded that the number of detected lines is highly dependent on the sample size and theNumPeaks parameter. We explain the tilt results in Figure 11(b) but the same explanation can be used for part (a).Figure 11
The distribution of the line segments detected from the edge maps of the foveal sets (Figure8), having either horizontal (left-column), vertical (center-column), or diagonal (right-column) deviations, with the two sampling methods: (a) Systematic and (b) Random Cropping. The edge maps are at seven different scales (σc = 4, 8, 12, 16, 20, 24, and 28) and a fixed set of Hough parameters are used asNumPeaks = 100,Threshold = 3,FillGap = 40, andMinLength = 450 (based on [19]).
(a)
Systematic Cropping
(b)
Random CroppingFigure11(b) (left-column) shows the near-horizontal lines detected for the three foveal sets. At scale 4 (σc = 4), the detected tilt angles are very small, ranging between 2 and 5°, with the peak of 4°. Furthermore, at scale 16, the detection of a high range of variations of tilt angle is not reflected in our perception of the pattern. To detect horizontal tilt cues along the mortar lines, the scale of the center Gaussian in our model should be close to the mortar. At scale 8, the mean tilts are between 3 and 10° with the peak of 7° for most lines, and at scale 12 it is increased to ~14°. At scale 16 the results show a wider range of horizontal lines detected and a fairly broad range of vertical lines, and this fits as a transition stage between the “horizontal groupings” of identically colored tiles with the mortar lines at a focal view and the “zigzag vertical groupings” of the tiles [22] at a more peripheral/global view.Figure11(b) (center-column) shows the near-vertical lines detected. Similar to the indications of Figure 10, they start to be detected at fine scales due to some edge effects in a few samples, but as color code indicates, the majority of the near-vertical lines are detected at scales 20 and 24, with the mean tilts in the range of 2–15° and the peak close to the V axis. In Figure 11(b) (right-column) the detected lines with near-diagonal deviations indicate that the dominant scales for detection of the diagonal lines are mainly at coarse scales of 24 and 28 (σc = 24, 28) with approximately 5-6° deviation from the diagonal axes (D1, D2).


## 3.2. Global Tilt Investigation

### 3.2.1. Global Tilts in the Café Wall of 9 × 14 Tiles

The Café Wall illusion is characterized by the appearance of Twisted Cord elements along the mortar lines [23–25], making the tiles seem wedge-shaped [29]. These local tilt elements are believed to be integrated and produce slanted continuous contours along the whole mortar lines by the cortical cells [16, 27] resulting in alternating converging and diverging mortar lines at a global view.Because the tilt effect in the Café Wall is highly directional, it raises the question of whether lateral inhibition and point spread function (PSF) of retinal cells can explain the tilt effect in the pattern or not. We demonstrated that a bioplausible model [17–22], with a circularly symmetric organization as a simplified model for the retinal ganglion cell responses [32, 33], is able to reveal the tilt cues in the Café Wall illusion across multiple scales of the edge map. To explain the emergence of tilt in the Café Wall, there is no need to utilize complex models of non-CRFs [40–44] implementing the retinal/cortical orientation selective cells.In this experiment, the intention is to investigate the Gestalt pattern, simulating peripheral awareness across the entire image, and overcome the shortcomings of our previous investigations. We investigate here the global tilts in the Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar (Figure8(a)) and on its DoG edge map at seven different scales to quantify the tilt angles around the four reference orientations. The DoG scales have a range from 0.5M to 3.5M with the incremental steps of 0.5M the same as the foveal samples in Section 3.1.2.In our first attempt to examine the robustness of the model for global tilt investigation [18, 19], the analysis was done with the parameters appropriate for local features. We have testedNumPeaks = 100 in [18] andNumPeaks = 520 in [19], but we have not achieved convincing results. Increasing the value ofNumPeaks from 100 to 520 did not show any significant change to the mean tilts although it substantially increased the variance. The results showed that the near-horizontal mean tilt was approximately 4° at scale 4 and around 7° at scale 8 nearly the same as the foveal sample sets (Figure 10). The near-vertical mean tilts at medium to coarse scales were around 2°, while they were around 6° in the foveal sets. The near-diagonal mean tilts were approximately 3° and they were in the range of 5-6° in the foveal sample sets. Please refer to [19, Figure  6] for more details. In this work, we perform a global analysis with larger numbers of line segments as appropriate to the large global pattern.NumPeaks is a size relevant parameter, and its value is critical for achieving reliable results. Increasing this value for Hough analysis on the foveal sets does not affect the detected houghlines there, but an appropriate value for large samples is essential to detect all the relevant houghlines available in the edge map with smooth variations reflecting our estimation of tilt that is comparable with the detected lines in the foveal sets in our simulations.The new experimental results for mean tilts and standard errors of the detected tilt angles have been presented in Figure12 for the Café Wall of 9 × 14 tiles withNumPeaks = 1000. The other parameters are kept the same as Figures 10 and 11 for the foveal sets. As indicated in Figure 12(a), the near-horizontal mean tilt is approximately 4° at scale 4 and 7.5° at scale 8 nearly the same as the foveal sample sets (Figure 10). In the horizontal graph, we see that, by increasing the DoG scale, the mean tilt also increases from 7.5° to ~10° at scale 12 with higher variations compared to the foveal sample sets. The new results for the vertical and diagonal mean tilts at coarse scales have been improved dramatically from our previous reports (explained in previous paragraph) and show a variation of tilt angles for the detected houghlines. The near-vertical mean tilts at medium to coarse scales were around 2° that are quite negligible in the previous report; now they are around 10° while they were around 6° in the foveal sets. The near-diagonal mean tilts at medium to coarse scales were approximately 3° in the previous reports; now the value is ~10° and they were in the range of 5-6° in the foveal sample sets. We have shown here that the new results with periphery appropriate parameterization are reliable and comparable with the previous results for foveal parameterization (Section 3.1.2). We will explain more on these results in Sections 3.2.2 and 3.3.Figure 12
Mean tilts and the standard errors of detected tilt angles around the four reference orientations (H, V, D1, and D2) from the DoG edge map at seven different scales of the whole Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar. Green error bars correspond to HoughNumPeaks = 1000, with mean values shown in Red.
(a)
(b)
(c)
(d)


### 3.2.2. Variant Sized Café Wall Patterns with the Same Aspect Ratios of Tile Size to Mortar Size

We can assume that the tilt perception of the Café Wall illusion starts by a wholistic view to the pattern, which then extends to a local focusing view along the mortar lines in search for further cues of tilt in the pattern. Both of these local and global views to the Café Wall have their own effect on the strength of our perceptual understanding of tilt in this pattern. We started our investigations of the global tilt analysis in the Café Wall stimulus by first addressing the shortcomings of our previous reports [18, 19] as reflected in the previous section and presented reliable tilt results for a specific sample (Café Wall of 9 × 14 tiles) based on periphery appropriate parameterization. We show in this experiment our deep investigations of the global tilts on variations of Café Wall with the same characteristics of mortar lines and tiles but with different arrangements of a whole pattern. We have explored here the correlation between the tilt effect and the layout of the pattern in general (how the tiles are arranged to build the stimulus).In this experiment, variations of Café Wall pattern have been investigated with the same aspect ratios of tile size (T) to mortar size (M) (T/M = const.) in order to check whether # rows and # columns in the overall arrangement of tiles in the Café Wall pattern have an effect on the detected tilts in our simulation results or not. In other words, we check the Gestalt perception of the Café Wall pattern and its relation to visual angle of the whole pattern (not just the visual angle of an individual tile and mortar line investigated so far [18, 19, 21]). We show here that our model can predict slightly different tilt results for these variations, similar to our global perception of illusory tilt in the pattern in the same way as human is affected by the configurations of the pattern. This is being reported for the first time with the quantitative results.The patterns explored here have the same size of tiles (200 × 200 px) and mortar lines (8 px) with these variations: Café Walls of 3 × 11, 5 × 5, 5 × 13, 7 × 11, 11 × 7, and 11 × 11 tiles, as shown in Figure13. Looking at these variations, we see, for instance, a stronger tilt effect in the 5 × 13 tiles compared to the 5 × 5 tiles. Similarly, a stronger tilt effect is perceived in the variation of 7 × 11 tiles compared to weaker tilts in the 11 × 7 tiles.Figure 13
Different configurations of Café Wall pattern, from Café Wall of 3 × 11 tiles on (a) to Café Wall of 5 × 13 tiles at (f). All the patterns have the same tile size of 200 × 200 px and the mortar size of 8 px.To eliminate the effect ofNumPeaks on detected houghlines, in this experiment, we have selectedNumPeaks = 1000 to attain more accurate tilt measurements when the overall sizes of the Café Wall samples are not the same (similar to Section 3.2.1). We have also tested values above 1000 up to 5000 for this parameter, but we found empirically that there is no significant difference in the mean tilt results aboveNumPeaks = 1000 for the samples tested and around four reference orientations. Increasing this value is computationally expensive and we need to keep a trade-off between the efficiency and the accuracy. The rest of the parameters are kept the same as Figures 10–12 for the local and global investigations of tilt in variations of the Café Wall pattern. The Hough parameters are as follows:NumPeaks = 1000,FillGap = 40, andMinLength = 450 for all scales of the DoG edge maps (σc = 4, 8, 12, 16, 20, 24, and 28). Summary tables in Figure 14 present the quantitative mean tilts for the global tilt investigations on these configurations of the pattern. These include the mean tilts and the standard errors of the detected tilt angles around the four reference orientations (H, V, D1, and D2).Figure 14
(a) Different configurations of the Café Wall pattern tested (Figure13) from Café Wall of 3 × 11 tiles on the top to Café Wall of 11 × 11 tiles at the bottom. (b) Mean tilts and the standard errors of tilt angles for each variation are summarized in the mean tilt tables for the four reference orientations of horizontal (H), vertical (V), and diagonals (D1, D2) orientations at seven scales of the edge maps (σc = 4, 8, 12, 16, 20, 24, and 28).The DoG outputs of these variations are the same across multiple scales, since the tiles and mortar lines have fixed sizes and the same set of parameters for theSurround andWindow ratios (s,h, resp.) have been used in the DoG model. Utilizing the Hough analytical pipeline for quantifying the tilt angles, we have measured slightly different tilts across the multiple scales of the edge maps of these variations around the four reference orientations. This is because Hough analyses more dominant lines (longest lines) first by applying the houghpeaks function prior to detecting lines with the houghlines function (MATLAB functions).When the pattern is wider in horizontal direction such as the 3 × 11, 5 × 13, or 7 × 11 it seems that we see a stronger tilt effect along the mortar lines compared to the other variations. The quantitative mean tilts near horizontal orientation occur at fine to medium scales (σc = 4, 8, and 12) of the edge maps. The near-horizontal lines can be captured until scale 16 (σc = 16), with this mortar width (considering the same aspect ratio of the tile size to the mortar size), as well as the midluminance of the mortar lines relative to the luminance of the tiles [21]. This can be seen also for the edge map of Café Wall of 3 × 8 tiles in Figure 2. There is a transient stage at scale 16 (σc = 16), connecting the detected near-horizontal lines to the zigzag vertical line segments due to the arrangement of grouping of tiles in the zigzag vertical orientation at medium to coarse scales in the edge maps. The highest tilt range is shown in Figure 14 for the 5 × 13 configuration which is 3–10.6° at fine to medium scale (σc = 4, 8, and 12), as expected. Then the variations of 7 × 11 (3.8–10.3°) and 11 × 11 (4–10.5°) come next, followed by the 3 × 11, 5 × 5, and 11 × 7 tiles. Considering the two square patterns (the 5 × 5 and 11 × 11 tiles), there are similar horizontal mean tilts, starting around 4.0° at the finest scale (σc = 4) and it is one degree wider in the 11 × 11 variation at scale 12 (σc = 12), ~10.5° compared to ~9.5° in the 5 × 5, but the differences are only significant for σc = 4.The near-vertical mean tilts at medium to coarse scales (σc = 20, 24, and 28) show good results. The weakest vertical mean tilts correspond to the Café Wall of 3 × 11 tiles which ranges from 7.1° to 7.5°. For the patterns of medium size height such as the 5 × 13 and 7 × 11 tiles, it is ~9-10°. It is in the highest range around 10.5° when the pattern is spread along the vertical orientation such as the 11 × 7 and 11 × 11 variations. This is nearly the same for the 5 × 5 tiles having the ratio of height/width = 1 and with a maximum value for the 11 × 11 tiles (>10.6°). So the Café Wall of 5 × 13 tiles from the samples explored has thestrongest horizontal tilt range while the 11 × 7 tiles show thestrongest vertical tilt range. It seems that there is a trade-off in the mean tilts of the vertical and the horizontal orientation, and, for a stronger effect of vertical tilts, we encounter weaker horizontal tilts along the mortar lines. For the diagonal mean tilts the results show roughly similar deviations (in both positive and negative diagonals) at the coarse scales (σc = 24, 28) which is ~11-12° across the samples tested.We note that the results reported here are based on our investigations on the number of lines detected at their angular positions and we have not considered any weights for the length of the lines in the mean tilts calculations. For the horizontal mean tilts this does not affect the results, since at fine to medium scales the local tilted line segments (Twisted Cord elements) are extracted for all of these variations nearly the same with roughly similar size. The detected houghlines at scale 12 (medium scale) for all variations tested have been provided in Figure15, highlighting local tilts of the nearly horizontal Twisted Cords and small tilt deviations from the vertical orientation. However, if a Café Wall pattern is more spread along the vertical orientation compared to the horizontal, then longer lines are detected with less deviation along the vertical at coarse scales (the whole tiles are present in the edge maps with no mortar cues left at these scales). Figure 16 clarifies this more: the detected houghlines at scale 28 (the coarsest scale) have been presented for these variations, indicating the global tilts of the lines detected with zigzag vertical orientation. In fact, as we expect from the tilt estimation, deviations from the vertical orientation increase as the lines found get shorter.Figure 15
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 12 (σc = 12) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.Figure 16
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 28 (σc = 28) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.


## 3.2.1. Global Tilts in the Café Wall of 9 × 14 Tiles

The Café Wall illusion is characterized by the appearance of Twisted Cord elements along the mortar lines [23–25], making the tiles seem wedge-shaped [29]. These local tilt elements are believed to be integrated and produce slanted continuous contours along the whole mortar lines by the cortical cells [16, 27] resulting in alternating converging and diverging mortar lines at a global view.Because the tilt effect in the Café Wall is highly directional, it raises the question of whether lateral inhibition and point spread function (PSF) of retinal cells can explain the tilt effect in the pattern or not. We demonstrated that a bioplausible model [17–22], with a circularly symmetric organization as a simplified model for the retinal ganglion cell responses [32, 33], is able to reveal the tilt cues in the Café Wall illusion across multiple scales of the edge map. To explain the emergence of tilt in the Café Wall, there is no need to utilize complex models of non-CRFs [40–44] implementing the retinal/cortical orientation selective cells.In this experiment, the intention is to investigate the Gestalt pattern, simulating peripheral awareness across the entire image, and overcome the shortcomings of our previous investigations. We investigate here the global tilts in the Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar (Figure8(a)) and on its DoG edge map at seven different scales to quantify the tilt angles around the four reference orientations. The DoG scales have a range from 0.5M to 3.5M with the incremental steps of 0.5M the same as the foveal samples in Section 3.1.2.In our first attempt to examine the robustness of the model for global tilt investigation [18, 19], the analysis was done with the parameters appropriate for local features. We have testedNumPeaks = 100 in [18] andNumPeaks = 520 in [19], but we have not achieved convincing results. Increasing the value ofNumPeaks from 100 to 520 did not show any significant change to the mean tilts although it substantially increased the variance. The results showed that the near-horizontal mean tilt was approximately 4° at scale 4 and around 7° at scale 8 nearly the same as the foveal sample sets (Figure 10). The near-vertical mean tilts at medium to coarse scales were around 2°, while they were around 6° in the foveal sets. The near-diagonal mean tilts were approximately 3° and they were in the range of 5-6° in the foveal sample sets. Please refer to [19, Figure  6] for more details. In this work, we perform a global analysis with larger numbers of line segments as appropriate to the large global pattern.NumPeaks is a size relevant parameter, and its value is critical for achieving reliable results. Increasing this value for Hough analysis on the foveal sets does not affect the detected houghlines there, but an appropriate value for large samples is essential to detect all the relevant houghlines available in the edge map with smooth variations reflecting our estimation of tilt that is comparable with the detected lines in the foveal sets in our simulations.The new experimental results for mean tilts and standard errors of the detected tilt angles have been presented in Figure12 for the Café Wall of 9 × 14 tiles withNumPeaks = 1000. The other parameters are kept the same as Figures 10 and 11 for the foveal sets. As indicated in Figure 12(a), the near-horizontal mean tilt is approximately 4° at scale 4 and 7.5° at scale 8 nearly the same as the foveal sample sets (Figure 10). In the horizontal graph, we see that, by increasing the DoG scale, the mean tilt also increases from 7.5° to ~10° at scale 12 with higher variations compared to the foveal sample sets. The new results for the vertical and diagonal mean tilts at coarse scales have been improved dramatically from our previous reports (explained in previous paragraph) and show a variation of tilt angles for the detected houghlines. The near-vertical mean tilts at medium to coarse scales were around 2° that are quite negligible in the previous report; now they are around 10° while they were around 6° in the foveal sets. The near-diagonal mean tilts at medium to coarse scales were approximately 3° in the previous reports; now the value is ~10° and they were in the range of 5-6° in the foveal sample sets. We have shown here that the new results with periphery appropriate parameterization are reliable and comparable with the previous results for foveal parameterization (Section 3.1.2). We will explain more on these results in Sections 3.2.2 and 3.3.Figure 12
Mean tilts and the standard errors of detected tilt angles around the four reference orientations (H, V, D1, and D2) from the DoG edge map at seven different scales of the whole Café Wall of 9 × 14 with 200 × 200 px tiles and 8 px mortar. Green error bars correspond to HoughNumPeaks = 1000, with mean values shown in Red.
(a)
(b)
(c)
(d)


## 3.2.2. Variant Sized Café Wall Patterns with the Same Aspect Ratios of Tile Size to Mortar Size

We can assume that the tilt perception of the Café Wall illusion starts by a wholistic view to the pattern, which then extends to a local focusing view along the mortar lines in search for further cues of tilt in the pattern. Both of these local and global views to the Café Wall have their own effect on the strength of our perceptual understanding of tilt in this pattern. We started our investigations of the global tilt analysis in the Café Wall stimulus by first addressing the shortcomings of our previous reports [18, 19] as reflected in the previous section and presented reliable tilt results for a specific sample (Café Wall of 9 × 14 tiles) based on periphery appropriate parameterization. We show in this experiment our deep investigations of the global tilts on variations of Café Wall with the same characteristics of mortar lines and tiles but with different arrangements of a whole pattern. We have explored here the correlation between the tilt effect and the layout of the pattern in general (how the tiles are arranged to build the stimulus).In this experiment, variations of Café Wall pattern have been investigated with the same aspect ratios of tile size (T) to mortar size (M) (T/M = const.) in order to check whether # rows and # columns in the overall arrangement of tiles in the Café Wall pattern have an effect on the detected tilts in our simulation results or not. In other words, we check the Gestalt perception of the Café Wall pattern and its relation to visual angle of the whole pattern (not just the visual angle of an individual tile and mortar line investigated so far [18, 19, 21]). We show here that our model can predict slightly different tilt results for these variations, similar to our global perception of illusory tilt in the pattern in the same way as human is affected by the configurations of the pattern. This is being reported for the first time with the quantitative results.The patterns explored here have the same size of tiles (200 × 200 px) and mortar lines (8 px) with these variations: Café Walls of 3 × 11, 5 × 5, 5 × 13, 7 × 11, 11 × 7, and 11 × 11 tiles, as shown in Figure13. Looking at these variations, we see, for instance, a stronger tilt effect in the 5 × 13 tiles compared to the 5 × 5 tiles. Similarly, a stronger tilt effect is perceived in the variation of 7 × 11 tiles compared to weaker tilts in the 11 × 7 tiles.Figure 13
Different configurations of Café Wall pattern, from Café Wall of 3 × 11 tiles on (a) to Café Wall of 5 × 13 tiles at (f). All the patterns have the same tile size of 200 × 200 px and the mortar size of 8 px.To eliminate the effect ofNumPeaks on detected houghlines, in this experiment, we have selectedNumPeaks = 1000 to attain more accurate tilt measurements when the overall sizes of the Café Wall samples are not the same (similar to Section 3.2.1). We have also tested values above 1000 up to 5000 for this parameter, but we found empirically that there is no significant difference in the mean tilt results aboveNumPeaks = 1000 for the samples tested and around four reference orientations. Increasing this value is computationally expensive and we need to keep a trade-off between the efficiency and the accuracy. The rest of the parameters are kept the same as Figures 10–12 for the local and global investigations of tilt in variations of the Café Wall pattern. The Hough parameters are as follows:NumPeaks = 1000,FillGap = 40, andMinLength = 450 for all scales of the DoG edge maps (σc = 4, 8, 12, 16, 20, 24, and 28). Summary tables in Figure 14 present the quantitative mean tilts for the global tilt investigations on these configurations of the pattern. These include the mean tilts and the standard errors of the detected tilt angles around the four reference orientations (H, V, D1, and D2).Figure 14
(a) Different configurations of the Café Wall pattern tested (Figure13) from Café Wall of 3 × 11 tiles on the top to Café Wall of 11 × 11 tiles at the bottom. (b) Mean tilts and the standard errors of tilt angles for each variation are summarized in the mean tilt tables for the four reference orientations of horizontal (H), vertical (V), and diagonals (D1, D2) orientations at seven scales of the edge maps (σc = 4, 8, 12, 16, 20, 24, and 28).The DoG outputs of these variations are the same across multiple scales, since the tiles and mortar lines have fixed sizes and the same set of parameters for theSurround andWindow ratios (s,h, resp.) have been used in the DoG model. Utilizing the Hough analytical pipeline for quantifying the tilt angles, we have measured slightly different tilts across the multiple scales of the edge maps of these variations around the four reference orientations. This is because Hough analyses more dominant lines (longest lines) first by applying the houghpeaks function prior to detecting lines with the houghlines function (MATLAB functions).When the pattern is wider in horizontal direction such as the 3 × 11, 5 × 13, or 7 × 11 it seems that we see a stronger tilt effect along the mortar lines compared to the other variations. The quantitative mean tilts near horizontal orientation occur at fine to medium scales (σc = 4, 8, and 12) of the edge maps. The near-horizontal lines can be captured until scale 16 (σc = 16), with this mortar width (considering the same aspect ratio of the tile size to the mortar size), as well as the midluminance of the mortar lines relative to the luminance of the tiles [21]. This can be seen also for the edge map of Café Wall of 3 × 8 tiles in Figure 2. There is a transient stage at scale 16 (σc = 16), connecting the detected near-horizontal lines to the zigzag vertical line segments due to the arrangement of grouping of tiles in the zigzag vertical orientation at medium to coarse scales in the edge maps. The highest tilt range is shown in Figure 14 for the 5 × 13 configuration which is 3–10.6° at fine to medium scale (σc = 4, 8, and 12), as expected. Then the variations of 7 × 11 (3.8–10.3°) and 11 × 11 (4–10.5°) come next, followed by the 3 × 11, 5 × 5, and 11 × 7 tiles. Considering the two square patterns (the 5 × 5 and 11 × 11 tiles), there are similar horizontal mean tilts, starting around 4.0° at the finest scale (σc = 4) and it is one degree wider in the 11 × 11 variation at scale 12 (σc = 12), ~10.5° compared to ~9.5° in the 5 × 5, but the differences are only significant for σc = 4.The near-vertical mean tilts at medium to coarse scales (σc = 20, 24, and 28) show good results. The weakest vertical mean tilts correspond to the Café Wall of 3 × 11 tiles which ranges from 7.1° to 7.5°. For the patterns of medium size height such as the 5 × 13 and 7 × 11 tiles, it is ~9-10°. It is in the highest range around 10.5° when the pattern is spread along the vertical orientation such as the 11 × 7 and 11 × 11 variations. This is nearly the same for the 5 × 5 tiles having the ratio of height/width = 1 and with a maximum value for the 11 × 11 tiles (>10.6°). So the Café Wall of 5 × 13 tiles from the samples explored has thestrongest horizontal tilt range while the 11 × 7 tiles show thestrongest vertical tilt range. It seems that there is a trade-off in the mean tilts of the vertical and the horizontal orientation, and, for a stronger effect of vertical tilts, we encounter weaker horizontal tilts along the mortar lines. For the diagonal mean tilts the results show roughly similar deviations (in both positive and negative diagonals) at the coarse scales (σc = 24, 28) which is ~11-12° across the samples tested.We note that the results reported here are based on our investigations on the number of lines detected at their angular positions and we have not considered any weights for the length of the lines in the mean tilts calculations. For the horizontal mean tilts this does not affect the results, since at fine to medium scales the local tilted line segments (Twisted Cord elements) are extracted for all of these variations nearly the same with roughly similar size. The detected houghlines at scale 12 (medium scale) for all variations tested have been provided in Figure15, highlighting local tilts of the nearly horizontal Twisted Cords and small tilt deviations from the vertical orientation. However, if a Café Wall pattern is more spread along the vertical orientation compared to the horizontal, then longer lines are detected with less deviation along the vertical at coarse scales (the whole tiles are present in the edge maps with no mortar cues left at these scales). Figure 16 clarifies this more: the detected houghlines at scale 28 (the coarsest scale) have been presented for these variations, indicating the global tilts of the lines detected with zigzag vertical orientation. In fact, as we expect from the tilt estimation, deviations from the vertical orientation increase as the lines found get shorter.Figure 15
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 12 (σc = 12) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.Figure 16
Detected houghlines displayed in green, overlaid on the binary edge maps at scale 28 (σc = 28) of different configurations of the Café Wall pattern in Figure 13. Hough parameters are as follows:NumPeaks = 1000,Threshold = 3,FillGap = 40, andMinLength = 450.


## 3.3. Comparison of Local and Global Tilts in Café Wall Illusion

We have shown in the last two sections that the mean tilt results with periphery appropriate parameterization are reliable and comparable with the previous results for foveal parameterization. The results for near-horizontal global tilts in these variations are nearly the same as the local tilts detected in the foveal sample sets (Section3.1.2) 4° at scale 4 and ~7° at scale 8. At scale 12, we have a higher tilt angle ~9.5–10.5° here compared to the local tilts around 8°. The results of the vertical and diagonal mean tilts are slightly larger than the predicted values for the foveal samples (7–10° for the vertical and 11-12° for the diagonal tilts here compared to ~6° for the vertical and 5-6° for the diagonal tilts in the foveal samples). The results here seem more realistic in our perception of zigzag vertical lines at coarse scales considering the phase shift of rows of tiles in the Café Wall pattern (the deviations from the diagonal axes are more than 5°, considering the geometry of the pattern).The quantitative modelling presented for the perceived tilt in the Café Wall illusion considering the foveal/local aspects as well as the peripheral/global view to the pattern leads us to achieve reliable results in our investigations. However, we illustrate some improvements to the current evaluation for future studies on the topic. First, for near-horizontal mean tilts, although the tilt analysis pipeline in our model detects the local Twisted Cord elements as local tilt cues as shown in Figure15 (for scale 12 for these variations), it seems that, in our perception of tilt, we intend to integrate these local tilt cues to construct a slanted continuous contour along the entire mortar as either diverging or converging [16, 27] tilt. Therefore, an edge integration technique is required for predicting a more precise value for the near-horizontal tilts as we perceive tilts in the Café Wall. Second, in the investigated tilts around the vertical orientation, we expect to see less deviations for the vertically spread configurations compared to the horizontally spread ones. However, the results showed the maximum vertical deviations for the Café Walls of 11 × 7 and 11 × 11 around 10.5° compared to 9° in others, except 7.5° for the Café Wall of 3 × 11. In the 3 × 11 tiles, we see more deviations around the diagonals compared to the rest of the configurations (as it is expected), where the range is ~12.5–14° compared to 11–12.5°, and also less deviations from the vertical orientation due to the groupings of detected lines for the reference orientations. Our explanation of the results is getting clear by looking at the houghlines presented in Figure 16. In the Hough analysis, we have applied the same weight for all the detected lines. Therefore for the patterns that are spread along the vertical orientation, although houghlines detect many longer lines with less deviations in the edge map, houghpeaks let more smaller line segments be detected (up to the maximum value ofNumPeaks), with more deviations from the vertical orientation. For final validations of these results, psychophysical experiments are required as the priority of our future work. The results from psychophysical experiments lead us to assign weights to each scale and approximate tilt angles in our model based on the perceived tilt in real subjects.


## 4. Conclusion

A low-level filtering approach [17, 19, 22] has been explored here modelling the retinal/cortical simple cells in our early vision for revealing the tilt cues involved in the local and global perception of the Café Wall stimulus. The model has an embedded processing pipeline utilizing Hough transform to quantify the degrees of the induced tilts that appeared in the low-level representation for the stimulus in our model, referred to as theedge map at multiple scales.The experiments reported have contributed new understanding of the relationship between the strength of tilt effect perceived in the Café Wall illusion as a function of eccentricity, that is, whether a cell or edge is foveated or perceived in the periphery.Different size/shape cropped samples of the Café Wall pattern were used to model the role of the shape and size of the fovea and larger samples tended to induce a larger number of longer shallower lines, particularly in the vertical dimension. When we foveate a particular cell we tend to see that as having more horizontal mortar boundaries, while those outside the fovea are perceived as having larger tilts. This is consistent with the larger tilts perceived at lower resolutions, modelling the periphery, and the almost horizontal tilts seen in the foveal region, corresponding to the center of a larger pattern. This makes this a multiple scale model.It is hypothesized that the multiple scale information from the retina is integrated later in the cortex into a true multiscale model and that the Gestalt illusions result from the angle misperceptions that are already encoded in the retina. The quantitative predictions are based on the analysis of Hough transform of the edge maps here with promising results reported. This tilt investigation can be replaced by any more bioderived techniques, modelling mid-to-high-level tilt integrations, capable of quantifying different degrees of tilt in variations of the Gestalt view of the pattern, as we perceive the tilt differently in those variations.We regard the publication of the predictions before running experiments to validate them as essential to the integrity of science. A priority in our research is psychophysical experiments to validate the predictions of the model.



---

*Source: 8179579-2017-12-13.xml*