Living under intense predation pressure, octopuses evolved an effective and impressive camouflaging ability that exploits features of their surroundings to enable them to “blend in.” To achieve such background matching, an animal may use general resemblance and reproduce characteristics of its entire surroundings, or it may imitate a specific object in its immediate environment. Using image analysis algorithms, we examined correlations between octopuses and their backgrounds. Field experiments show that when camouflaging, Octopus cyanea and O. vulgaris base their body patterns on selected features of nearby objects rather than attempting to match a large field of view. Such an approach enables the octopus to camouflage in partly occluded environments and to solve the problem of differences in appearance as a function of the viewing inclination of the observer.
Citation: Josef N, Amodio P, Fiorito G, Shashar N (2012) Camouflaging in a Complex Environment—Octopuses Use Specific Features of Their Surroundings for Background Matching. PLoS ONE 7(5): e37579. https://doi.org/10.1371/journal.pone.0037579
Editor: Howard Browman, Institute of Marine Research, Norway
Received: January 10, 2012; Accepted: April 22, 2012; Published: May 23, 2012
Copyright: © 2012 Josef et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Funding: The authors have no support or funding to report.
Competing interests: The authors have declared that no competing interests exist.
Predation is a strong evolutionary driving force selecting for the development of various defensive mechanisms and behaviors, including cryptic coloration and camouflage . As such, the better the animal matches its background, the less likely it is to be detected by either predator or prey –. However, several empirical studies revealed that cryptic animals do not necessarily match their backgrounds precisely , . Cephalopods, particularly octopuses, possess the remarkable ability to change their body patterns to match changes in their visual background (termed crypsis by Endler ), categorized and described in detail for Octopus cyanea by Hanlon and Messenger .Taking a different approach, crypsis has been described as a range of strategies that prevent detection . Background matching is one strategy to achieve crypsis, the principle of which has long been acknowledged (Darwin ). In cephalopods, background matching is a dynamic, visually driven process, in which the animal assesses a range of background variables such as contrast, brightness, edge, orientation, and size of objects when deciding what camouflage pattern to display , –.
To create such a wide variety of body patterns (described in detail by Borreli  for various cephalopod species), an octopus uses its sophisticated skin, which contains pigmented chromatophore organs, reflecting iridophores, and light scattering leucophores (reviewed in ). These structures confer on octopuses the ability to instantaneously change their body patterns to produce a range of patterns, often described as uniform, mottled, and disruptive, to achieve deceptive and general resemblance (, , , , ; patterns for different species described by Borreli  and references within).
Recent studies , , –, , – used artificial substrates, such as checkerboards, to investigate specific visual cues that elicit the various body patterns in cuttlefish. In those studies, the effects of contrast, aspect ratio, shape, and pattern size were investigated, and some of the cues that trigger the camouflage reaction were revealed. These studies also described a response to size-specific cues rather than to aspect ratios or shapes in the visual background, the effects of mean substrate intensity on the disruptive response, and the organism's sensitivity to spatial phase and localized visual edges.
Octopuses possess a single, mid-wavelength visual pigment, making them essentially colorblind (, , ,  and reviewed in ). An octopus's visual cues, which trigger its pattern matching, are fairly different from those perceived by its predators. Yet an octopus needs to present a body-pattern that will conform to its predator's view of the surroundings. Octopuses are preyed upon by a range of animals, including fish and mammals, and they also try to hide from a variety of potential prey , each having its own particular visual system. Obviously, in such transformations, mistakes can occur . Furthermore, every camouflaging organism encounters the ‘point of view’ predicament: since the predator often has a different point of view than that of the camouflaging organism, the latter must use the information it gathers from its own position to present a pattern that matches the surroundings as observed by the former. In our case, the perspective of open water predators, such as fish hunting for a hiding octopus, is from above. In contrast, other predators, e.g., moray eels, have fairly low viewing inclinations. Therefore, the octopus may need to present a pattern that differs from the one it obtains from its benthic point of view.
In many cases background matching is thought to refer to matching the average, rather than a single sample, of the background , . The immediate surroundings in which octopuses are found are often heterogeneous in vegetation, amount of light, terrain type (whether corals, gravel or sand are visible), color, texture, brightness, contrast, etc. Consequently, the patterns needed for effective concealment are equally diverse, and the task of matching any such object is challenging. The camouflaging animal needs to choose whether to attempt to match a large part of its background or a common, smaller, yet more specific structure in its immediate environment.
In this field study we addressed the following question: does an octopus take into account its entire nearby visual field to achieve what is termed “general resemblance” , or does it sample specific features of structures in its surroundings toward what is known as “deceptive resemblance” (, reviewed in )? Both species examined (O.cyanea and O.vulgaris) are known as shallow water diurnal predators , , each with a wide repertoire of body patterns . O. cyanea is found throughout the Indo-Pacific region, mostly in coral reef environments, while O. vulgaris is common in temperate climate regions where it is frequently found on gravel and in rocky areas.
Materials and Methods
Given the subjectivity of background matching and its dependence on the viewer, the preferable method for examining camouflage patterns is through an objective and automated image analysis algorithm –. Our experience with such algorithms applied to artificial patterns in controlled environment experiments led us to modify and apply the algorithm used in this study to images of camouflaged, free ranging octopuses and their natural surroundings.
This study was carried out on non-endangered species under the supervision of the Israeli Nature Reserve Authority (Israeli Nature Reserve Authority permit #2010/37233). All necessary permits were obtained for the described field studies under the supervision of the Ben-Gurion University ethics committee under N.J.'s certification of authorization and in accordance with the recommendations in the guide for animal welfare, according to section 1 of the animal welfare law, 1994.
Analysis by algorithm
Following Zylinski et al. , we used an image analysis algorithm  in MATLAB™ to test the means, slopes and intercepts of the Rotational-Averaged two dimensional Fast Fourier Transformation (RA-fft or 1D power spectra) of a selected image or part thereof (See ,  for reviews). Application of the algorithm to a range of images produced a similarity map between the camouflaged octopus and the examined surroundings. The outline of the code (available upon request from N.J.) is as follows: a red, green and blue image was obtained and then converted to grayscale using only the green channel. A Gaussian filter (δ = 2) was then used to reduce high-frequency noise followed by a Top-Hat filter (SE = 25) to correct uneven illumination in the scene. Next a square within the octopus's mantle was sampled, 2D-fast Fourier transformation (2D-fft) was applied, the rotational averages (RA-fft) of the octopus were measured, and the lower 2% of frequencies were ignored to avoid spiking. A log-log power spatial frequency' plot was then generated, and the means, slopes and the intercepts of its linear regression were acquired. Finally, non-normality of each sample was verified by a one sample Kolmogorov-Smirnov test. In cases where the means were not significantly different and showed 90% similarity to the mantle, the 90% similarity in the slope differences is assigned to the central pixel. For the (rare) cases where significantly different means were found, no data is presented.
First, an image of an octopus mantle, clearly seen from its top view and containing no less than 150×150 pixels, was sampled and processed. Next, an area of equal size to the mantle sample is moved across the entire image, shifting one pixel at a time, until the entire image is examined. Differences in the parameters (RA-mean, RA-slope and RA-intercept) of octopus vs. background were calculated for each position, and their values were assigned to the central pixel of the frame. This process produced a difference matrix that we then translated into a similarity map superimposed on the original image (except for an edge whose width was one half the size of the shifting area).
High resolution images (>1700×1700 pixels) of octopuses were obtained by SCUBA diving on natural reefs (Eilat, northern Gulf of Aqaba, Red Sea; Capri, southern Gulf of Naples, Tyrrhenian Sea) on sunlit days. Free ranging O. cyanea (Gray, 1849) and O. vulgaris (Cuvier, 1797) were photographed only when they presented a low/flattened body posture without any apparent movement, as observed from a distance of approximately 2 m for at least 1 min. Even though we are well aware of the ‘point of view dilemma’, in this work we considered the pelagic predator's point of view, and therefore, all images of camouflaged octopuses were taken from above and included their immediate surroundings with at least a 1 m radius around the animal for larger O. cyanea or a 0.5 m radius for the smaller O. vulgaris.
O. vulgaris were photographed at distances of over 3 km from each other. O. cynea, who are known to be semi-territorial species  that typically stay within 80 m of their den and who in Eilat have high spatial fidelity , were each photographed over a period of three years in locations that were a minimum of 150 m from each other. This protocol virtually ensures that all our photographs are of different individuals, but because we were neither able to tag nor individually recognize them, there is a very small chance that an octopus was sampled more than once. Eleven images of different octopuses were used for analysis.
Each image was processed and analyzed with the MATLAB™ code previously described while using the camouflaged octopus's mantle as a reference (Figure 1A, 1C). The mantle sample was then compared to the overall image, and a similarity index map was created as follows:where a low Difference () value means high similarity. Only sections of the image with an RA-mean similarity greater than 90% were measured for differences in RA-slopes. Analyzed images are presented as resemblance graphs superimposed over the grayscale image (Figure 1B, 1D).
(A,C) Cryptic O. cyanea and O. vulgaris in their natural habitats. The square defines the mantle sample, which is then compared to the rest of the image. (B, D) Similarity map where areas with resemblance of 90% or higher to the octopus are presented superimposed on the image.
“Multi point” method
For further analysis and to obtain statistically analyzable values, we wrote another code to measure and compare the linear regression slopes of log-log power-spatial frequency (following ). Taking into account the previous similarity maps (Figure 1B, 1D), we divided our images into three selection types: ‘octopus mantle’, ‘distinct objects’ and ‘general substrate’. We then randomly defined 30 square samples of equal size (100×100 pixels) from each section type (90 points per image) with substantial overlap between them (Figure 2 a–b). Log-log regression slopes of each square were calculated. Slopes from the ‘distinct objects’ and ‘general substrate’ were compared to the ‘octopus mantle’ slopes using a Mann Whitney U test (α = 0.05, n = 30) with statistical software (SPSS™).
(A) Grayscale image of a camouflaging O. cyanea, marked with an arrow. (B) Same image as in A showing the 30 samples in each of the three groups marked as: (○) Octopus mantle, (▵) Distinct objects, (□) General substrate. (C) Octopus similarity to background sections using the “Multi-point” method. For each image analyzed (A–K), means± SD are presented for each of the three groups. In all images, the substrate was significantly different from both octopus-mantle and distinctive objects (Kruskal-Wallis test; P<0.01). Different octopuses presented different patterns (Kruskal-Wallis test; P<0.01) and yet resembled specific objects (Mann-Whitney U test; P>0.05). Images A and B are the same images presented in Figures 1 and 2a, respectively.
Independent images of camouflaged O. cyanea in a coral reef environment and O. vulgaris on a rocky/algal substrate were analyzed. When squares containing most of the octopuses' mantles were compared to equally sized areas by examining the entire image at single pixel intervals, areas of high resemblance were detected (Figure 1B, 1D). These high resemblance areas matched distinct features and objects in the immediate surroundings but not the entire viewed area or large portions of it. Only when we were absolutely certain that the octopus was situated within a “hidden zone” (i.e, a rock-shelf, large blocking object) from its point of view did we eliminate areas in this zone simply because the octopus could not see them from its position. Even after this elimination, each image examined contained at least one such object or feature that the octopus could indeed see. In most cases (10 out of 11 octopuses, with 1 case not clear), after superimposing the resemblance graph over the original image, we noticed that the areas of high resemblance matched distinct landmarks such as corals, noticeable rocks, patches of unevenly colored sand, or an algae patch whose appearance differed from that of its surroundings.
Analysing the same 11 images of free ranging octopuses using the multi-point method (Figure 2c) showed that a) octopuses displayed body patterns significantly different from each other (Kruskal Wallis test; P<0.01), b) octopus body patterns resembled specific structures in their immediate surroundings (Mann Whitney U test n = 30, P>0.05), and c) such similarity was not found when comparing the octopuses to the ‘general substrate’ sections in the images (P<0.01).
Cephalopod camouflage techniques attract the interest of researchers and the public alike (see  for octopus in a reef environment; reviewed in ). The patterns they present, generally termed uniform, mottled, or disruptive, are used to achieve deceptive or general resemblance to the octopuses' background or to objects contained within that background , . Despite the knowledge acquired about the wide variety of patterns octopuses are capable of producing (reviewed in ), there is still the challenge of determining the level of camouflage these patterns provide the animal on a given background . Indeed, the recognition of the “similarity” between two images using a computer program is a known problem in the computer vision field that, due to its complexity, is still not fully understood. This study and previous image analysis research , , ,  demonstrate that RA-fft slopes are fairly good descriptors for recognizing such similarity. However, it is likely that as research progresses, other and better descriptors will be defined. Knowledge about the visual systems of predators and prey and about image analysis processes in the retina and brain of octopuses will assist in improving our ability to mathematically describe such a similarity.
Previous studies showed that visual information dominates cephalopods' choices of their cryptic body patterns , –, , –, , , , . In this study, we examined how much of the available information is being used, i.e., whether an octopus takes into account its entire nearby visual field or samples specific features of selected structures in its surroundings. Our results indicate that both O. cyanea and O. vulgaris base their body patterns on selected structures rather than on their entire fields of view. It is crucial to emphasize that we do not suggest that octopuses, or any of their predators and prey, do not actually use a mathematical process or function, but rather that RA-fft provides a good estimation as to similarity, and can serve as a proxy to study the features used by the octopuses.
Conventional thinking ( , ,  and reference within) is that an octopus attempting to camouflage itself in complex and colorful surroundings typical of coral reefs faces two main options: it can imitate the overall characteristics of its close surroundings or it can choose to imitate a certain object and its characteristics. Hanlon and Messenger  alluded to these two options when describing the responses of young cuttlefish to a range of environments, and Hanlon et al.  described the moving rock camouflage of an octopus crossing a sandy area. The analysis presented here shows that when camouflaging, an octopus samples specific features of selected structures in its surroundings, i.e., it performs “deceptive resemblance,” sometimes referred to as element imitation (as opposed to object imitation) . However, the octopus does not imitate the object precisely (in our case, it does not look exactly like any given branching coral), but rather uses key features of the objects common in its surroundings. A possible advantage to such a mechanism is that it can fit a wide range of locations even if the exact level of the match is not perfect. Further research is needed to examine whether using key features of a nearby object can solve the viewing point predicament.
We thank the support of Ben-Gurion University's Marine Biology and Biotechnology program and the Inter University Institute for Marine Sciences in Eilat for logistical support. We are grateful to the cephalopod group in the Stazione Zoologica Anton Dohrn for their warm hospitality. Special thanks to the Israeli Nature and Parks Authority for monitoring the capture, maintenance, and release of the octopus. We are grateful for the contributions of B. Alon, A. Lerner, K. Levi, S. Maccusker, E. Yanowski, P. Amodio, C. Talbot, Y. Schnytzer and O. Polak, who provided constructive suggestions and discussions along the way, and Z. Livnat, who donated high resolution images for our study.
Conceived and designed the experiments: NJ NS. Performed the experiments: NJ NS. Analyzed the data: NJ NS. Contributed reagents/materials/analysis tools: NJ NS. Wrote the paper: NJ NS. Were partners in the work in Italy: GF PA.
- 1. Hinton H (1976) color change. Environmental Physiology of Animals. New York: Wiley & Sons. pp. 390–412.
- 2. Kenneth SN, CH L (1964) An analysis of background color-matching in amphibians and reptiles. Ecology 45: 16.
- 3. Cott HB (1957) Adaptive coloration in animals: Methuen.
- 4. Edmunds M (1974) Defence in animals: a survey of anti-predator defences: Longman.
- 5. Edmunds M (1990) The evolution of cryptic coloration3–21.
- 6. Guilford T (1992) Predator Psychology and the Evolution of Prey Coloration. Natural Enemies: Blackwell Scientific Publications. pp. 375–394.
- 7. Endler JA (1978) A predator's view of animal color patterns. Journal of Evolutionary Biology 11: 319–364.
- 8. John AE (1991) Variation in the appearance of guppy color patterns to guppies and their predators under different visual conditions. Vision Res 31: 587–608.
- 9. Endler JA (1984) Progressive background in moths, and a quantitative measure of crypsis. Biological Journal of the Linnean Society 22: 187–231.
- 10. Merilaita S (1998) Crypsis through disruptive coloration in an isopod. Proceedings of the Royal Society of London Series B: Biological Sciences 265: 1059–1064.
- 11. Endler JA (1981) An overview of the relationships between mimicry and crypsis. Biological Journal of the Linnean Society 16: 25–31.
- 12. Hanlon RT, Messenger JB (1998) Cephalopod Behaviour: Cambridge University Press.
- 13. Stevens M, Merilaita S (2011) Animal camouflage: an introduction. In: Stevens M, Merilaita S, editors. Animal Camouflage: Mechanisms and Function. United States of America by Cambridge University Press, New York: CAmbridge University Press. pp. 1–16.
- 14. Darwin C (1859) On the Origin of species by means of natural selection or the preservation of favoured races in the struggle for life. United Kingdom, London: John Murray. 502 p.
- 15. Kelman EJ, Baddeley RJ, Shohet AJ, Osorio D (2007) Perception of visual texture and the expression of disruptive camouflage by the cuttlefish, Sepia officinalis. Proceedings of the Royal Society B: Biological Sciences 274: 1369–1375.
- 16. Mathger LM, Barbosa A, Miner S, Hanlon RT (2006) Color blindness and contrast perception in cuttlefish (Sepia officinalis) determined by a visual sensorimotor assay. Vision Res 46: 1746–1753.
- 17. Mathger LM, Chiao CC, Barbosa A, Buresch KC, Kaye S, et al. (2007) Disruptive coloration elicited on controlled natural substrates in cuttlefish, Sepia officinalis. J Exp Biol 210: 2657–2666.
- 18. Shohet AJ, Baddeley RJ, Anderson JC, Kelman EJ, Osorio D (2006) Cuttlefish responses to visual orientation of substrates, water flow and a model of motion camouflage. Journal of Experimental Biology 209: 4717–4723.
- 19. Packard A (1988a) The skin of Cephalopods (Coleoids): general and special adaptations. The Mollusca 11: 30.
- 20. Barbosa A, Mathger LM, Chubb C, Florio C, Chiao CC, et al. (2007) Disruptive coloration in cuttlefish: a visual perception mechanism that regulates ontogenetic adjustment of skin patterning. J Exp Biol 210: 1139–1147.
- 21. Chiao C-C, Chubb C, Hanlon RT (2007) Interactive effects of size, contrast, intensity and configuration of background objects in evoking disruptive camouflage in cuttlefish. Vision Res 47: 2223–2235.
- 22. Chiao C-C, Hanlon RT (2001) Cuttlefish Cue Visually on Area—Not Shape or Aspect Ratio—of Light Objects in the Substrate to Produce Disruptive Body Patterns for Camouflage. The Biological Bulletin 201: 269–270.
- 23. Chiao C-C, Hanlon RT (2001) Cuttlefish camouflage: visual perception of size, contrast and number of white squares on artificial checkerboard substrata initiates disruptive coloration. Journal of Experimental Biology 204: 2119–2125.
- 24. Chiao C-C, Kelman EJ, Hanlon RT (2005) Disruptive Body Patterning of Cuttlefish (Sepia officinalis) Requires Visual Information Regarding Edges and Contrast of Objects in Natural Substrate Backgrounds. The Biological Bulletin 208: 7–11.
- 25. Marshall NJ, Messenger JB (1996) Colour-blind camouflage. Nature 382: 408–409.
- 26. Hanlon RT, Messenger JB (1988) Adaptive Coloration in Young Cuttlefish (Sepia Officinalis L.): The Morphology and Development of Body Patterns and Their Relation to Behaviour. Philosophical Transactions of the Royal Society of London Series B, Biological Sciences 320: 69.
- 27. Barbosa A, Mäthger LM, Chubb C, Florio C, Chiao C-C, et al. (2007) Disruptive coloration in cuttlefish: a visual perception mechanism that regulates ontogenetic adjustment of skin patterning. Journal of Experimental Biology 210: 1139–1147.
- 28. Chiao CC, Chubb C, Hanlon RT (2007) Interactive effects of size, contrast, intensity and configuration of background objects in evoking disruptive camouflage in cuttlefish. Vision Res 47: 2223–2235.
- 29. Hanlon RT, Chiao CC, Mathger LM, Barbosa A, Buresch KC, et al. (2009) Cephalopod dynamic camouflage: bridging the continuum between background matching and disruptive coloration. Philos Trans R Soc Lond B Biol Sci 364: 429–437.
- 30. Borrelli L, Gherardi F, Fiorito G (2006) A catalogue of body patterning in Cephalopoda: Firenze University Press.
- 31. Hanlon RT, Forsythe JW, Joneschild DE (1999) Crypsis, conspicuousness, mimicry and polyphenism as antipredator defences of foraging octopuses on Indo-Pacific coral reefs, with a method of quantifying crypsis from video tapes. Biological Journal of the Linnean Society 66: 1–22.
- 32. Hanlon RT, Chiao C-C, Mäthger LM, Barbosa A, Buresch KC, et al. (2009) Cephalopod dynamic camouflage: bridging the continuum between background matching and disruptive coloration. Philosophical Transactions of the Royal Society B: Biological Sciences 364: 429–437.
- 33. Barbosa A, Florio CF, Chiao C-C, Hanlon RT (2004) Visual Background Features That Elicit Mottled Body Patterns in Cuttlefish, Sepia officinalis. The Biological Bulletin 207: 154.
- 34. Barbosa A, Allen JJ, Mathger LM, Hanlon RT (2011) Cuttlefish use visual cues to determine arm postures for camouflage. Proc Biol Sci.
- 35. Barbosa A, Mäthger LM, Buresch KC, Kelly J, Chubb C, et al. (2008) Cuttlefish camouflage: The effects of substrate contrast and size in evoking uniform, mottle or disruptive body patterns. Vision Res 48: 1242–1253.
- 36. Brown PK, Brown PS (1958) Visual pigments of the octopus and cuttlefish. Nature 182: 1288–1290.
- 37. Messenger JB (1977) Evidence that Octopus is Colour Blind. Journal of Experimental Biology 70: 49–55.
- 38. Thayer AH (1918) Camouflage. The scientific monthly 7: 481–494.
- 39. Stevens M, Merilaita S (2011) Crypsis through background matching. In: Stevens M, Merilaita S, editors. Animal Camouflage: Mechanisms and Function. United States of America by Cambridge University Press, New York: CAmbridge University Press. pp. 17–33.
- 40. Forsythe JW, Hanlon RT (1997) Foraging and associated behavior by Octopus cyanea Gray, 1849 on a coral atoll, French Polynesia. Journal of Experimental Marine Biology and Ecology 209: 15–31.
- 41. Mather JA, O'Dor RK (1991) Foraging Strategies and Predation Risk Shape the Natural History of Juvenile Octopus Vulgaris. Bulletin of Marine Science 49: 256–269.
- 42. Bex PJ, Makous W (2002) Spatial frequency, phase, and the contrast of natural images. J Opt Soc Am A 19: 1096–1106.
- 43. Kovesi PD (2000) MATLAB and Octave functions for computer vision and image processing. Center for Exploration Targeting, School of Earth and Environment, University ofWestern Australia Perth.
- 44. Ruderman DL, Bialek W (1994) Statistics of natural images: Scaling in the woods. Physical Review Letters 73: 814–817.
- 45. Zylinski S, How MJ, Osorio D, Hanlon RT, Marshall NJ (2011) To Be Seen or to Hide: Visual Characteristics of Body Patterns for Camouflage and Communication in the Australian Giant Cuttlefish Sepia apama. The American Naturalist 177: 10.
- 46. Tolhurst DJ, Tadmor Y, Chao T (1992) Amplitude spectra of natural images. Ophthalmic and Physiological Optics 12: 229–232.
- 47. Fishelson L (1983) Sea life. In: Alon A, editor. 199 p. Plants and animals of the land of israel Israel: Ministry of defence publishing house.
- 48. Coggins JM, Jain AK (1985) A spatial filtering approach to texture analysis. Pattern Recognition Letters 3: 195–203.
- 49. Olshausen BA, Field DJ (1996) Natural image statistics and efficient coding*. Network: Computation in Neural Systems 7: 333–339.
- 50. Holmes W (1940) The Colour Changes and Colour Patterns of Sepia officinalis L. Proceedings of the Zoological Society of London A110: 17–35.
- 51. Packard A, Hochberg FG (1977) Skin patterning in Octopus and other genera. Symposia of the Zoological Society of London 38: 191–231.
- 52. Hailman JP (1977) Optical signals: animal communication and light: Indiana University Press.