Consider the $8 \times 8$ image. Use the 8 -connectivity to segment, using the split and merge algorithm, the image so that the region is to be made of pixels with gray levels less than or equal to 240 .
$$
\left[\begin{array}{llllllll}
248 & 247 & 242 & 238 & 236 & 235 & 235 & 234 \\
248 & 247 & 243 & 241 & 238 & 235 & 235 & 234 \\
249 & 248 & 244 & 242 & 239 & 235 & 235 & 235 \\
249 & 248 & 246 & 244 & 240 & 235 & 235 & 235 \\
249 & 248 & 247 & 245 & 241 & 236 & 236 & 235 \\
247 & 247 & 246 & 244 & 241 & 236 & 236 & 236 \\
244 & 245 & 244 & 243 & 241 & 236 & 236 & 236 \\
241 & 243 & 242 & 241 & 239 & 236 & 236 & 236
\end{array}\right]
$$