Improved Color Opponent Contour Detection Model Based on Dark and Light Adaptation

  • 3 Accesses


Brightness and color are two basic visual features of the human visual system. In the retina, color-sensitive cells are sensitive to brightness and color information and exhibit salient direction selectivity. However, evidence from neurobiology indicates that apart from color features, the rod and cone cells of the retina are also sensitive to high or low luminance, respectively termed the light and dark adaptation mechanisms. Classical single-opponent and color-opponent contour detection model frameworks include the computational processes of single red (R), green (G), blue (B) and yellow (Y) channels and opponent RGBY channels, respectively. Thus, to combine luminance cues and traditional color cues to improve boundary detection in natural scenes, we propose the use of a dark and a light channel to simulate light and dark adaptation mechanisms. The results of the proposed model considering three datasets (BSDS300, BSDS500, NYUD) demonstrate an improvement compared with current bio-inspired contour detection models.

This is a preview of subscription content, log in to check access.

Access options

Buy single article

Instant unlimited access to the full article PDF.

US$ 39.95

Price includes VAT for USA

Fig. 1.
Fig. 2.
Fig. 3.
Fig. 4.
Fig. 5.
Fig. 6.
Fig. 7.
Fig. 8.
Fig. 9.
Fig. 10.
Fig. 11.


  1. 1

    Papari, G. and Petkov, N., Edge and line oriented contour detection: State of the art, Image Vision Comput., 2011, vol. 29, no. 2, pp. 79–103.

  2. 2

    Lagunovsky, D. and Ablameyko, S., Fast Line and Rectangle Detection by Clustering and Grouping, Berlin–Heidelberg: Springer, 1997, pp. 503–510.

  3. 3

    Wang, H. and Oliensis, J., Generalizing edge detection to contour detection for image segmentation, Comput. Vision Image Understanding, 2010, vol. 114, no. 7, pp. 731–744.

  4. 4

    Shpaner, M., Molholm, S. Forde, E., and Foxe, J.J., Disambiguating the roles of area V1 and the lateral occipital complex (LOC) in contour integration, Neuroimage, 2013, vol. 69, no. 4, pp. 146–156.

  5. 5

    Tong, W.S. and Tang, C.K., Robust Estimation of Adaptive Tensors of Curvature by Tensor Voting, 2005.

  6. 6

    Ben-Shahar, O. and Zucker, S.W., The perceptual organization of texture flow: A contextual inference approach, IEEE Trans. Pattern Anal. Mach. Intell., 2003, vol. 25, no. 4, pp. 401–417.

  7. 7

    Amir, A. and Lindenbaum, M., A generic grouping algorithm and its quantitative analysis, IEEE Trans. Pattern Anal. Mach. Intell., 1998, vol. 20, no. 2, pp. 168–185.

  8. 8

    Tuytelaars, T., Turina, A., and Gool, L.V., Noncombinatorial detection of regular repetitions under perspective skew, IEEE Trans. Pattern Anal. Mach. Intell., 2003, vol. 25, no. 4, pp. 418–432.

  9. 9

    Giuseppe, P. and Nicolai, P., Adaptive pseudo dilation for gestalt edge grouping and contour detection, IEEE Trans. Image Process., 2008, vol. 17, no. 10, pp. 1950–1962.

  10. 10

    Paragios, N., Mellina-Gottardo, O., and Ramesh, V., Gradient vector flow fast geodesic active contours, Eighth IEEE International Conference on Computer Vision, 2001, vol. 1, pp. 67–73.

  11. 11

    Hua, L. and Yezzi, A., Local or global minima: Flexible dual-front active contours, International Workshop on Computer Vision for Biomedical Image Applications, 2005, pp. 356–366.

  12. 12

    Bresson, X., Vandergheynst, P., and Thiran, J.-P., A variational model for object segmentation using boundary information and shape prior driven by the Mumford-Shah functional, Int. J. Comput. Vision, vol. 68, no. 2, pp. 145–162.

  13. 13

    Martin, D.R., Fowlkes, C.C., and Malik, J., Learning to detect natural image boundaries using local brightness, color, and texture cues, IEEE Trans. Pattern Anal. Mach. Intell., 2004, vol. 26, no. 5, pp. 530–549.

  14. 14

    Maire, M., Arbelaez, P., Fowlkes, C., and Malik, J., Using contours to detect and localize junctions in natural images, IEEE Conference on Computer Vision and Pattern Recognition, 2008, pp. 1–8.

  15. 15

    Arbeláez, P., Maire, M., Fowlkes, C., and Malik, J., Contour detection and hierarchical image segmentation, IEEE Trans. Pattern Anal. Mach. Intell., 2010, vol. 33, no. 5, pp. 898–916.

  16. 16

    Xie, S. and Tu, Z., Holistically-nested edge detection, Int. J. Comput. Vision, 2015, vol. 125, nos. 1–3, pp. 3–18.

  17. 17

    Liu, Y., Cheng, M.M., Hu, X., Wang, K., and Bai, X., Richer convolutional features for edge detection, arXiv:1612.02103 [cs.CV], 2017.

  18. 18

    Wang, Y., Zhao, X., and Huang, K., Deep crisp boundaries, IEEE Conference on Computer Vision & Pattern Recognition, 2017.

  19. 19

    Kokkinos, I., Pushing the boundaries of boundary detection using deep learning, arXiv:1511.07386 [cs.CV], 2015.

  20. 20

    Zhao, R., Wu, M., Liu, X., Zou, B., and Li, F., Orientation histogram-based center-surround interaction: An integration approach for contour detection, Neural Comput., 2017, vol. 29, no. 1, pp. 171–193.

  21. 21

    Grigorescu, C., Petkov, N., and Westenberg, M.A., Contour detection based on nonclassical receptive field inhibition, IEEE Trans. Image Process., 2003, vol. 12, no. 7, pp. 729–739.

  22. 22

    Mehrani, P., Mouraviev, A., Gonzalez, O.J.A., and Tsotsos, J.K., Color-opponent mechanisms for local hue encoding in a hierarchical framework, arXiv:1706.10266 [cs.CV], 2017.

  23. 23

    Zhou, C. and Mel, B.W., Cue combination and color edge detection in natural scenes, J. Vision, 2008, vol. 8, no. 4, pp. 1–25.

  24. 24

    Zhang, J., Barhomi, Y., and Serre, T., A new biologically inspired color image descriptor, European Conference on Computer Vision, 2012, pp. 312–324.

  25. 25

    Yang, K., Gao, S., Li, C., and Li, Y., Efficient color boundary detection with color-opponent mechanisms, IEEE Conference on Computer Vision and Pattern Recognition, 2013, pp. 2810–2817.

  26. 26

    Yang, K.F., Gao, S.B., Guo, C.F., Li, C.Y., and Li, Y.J., Boundary detection using double-opponency and spatial sparseness constraint, IEEE Trans. Image Process., 2015, vol. 24, no. 8, pp. 2565–2578.

  27. 27

    He, K., Sun, J., and Tang, X., Single image haze removal using dark channel prior, IEEE Trans. Pattern Anal. Mach. Intell., 2011, vol. 33, no. 12, pp. 2341–2353.

  28. 28

    Daw, N.W., Goldfish retina: Organization for simultaneous color contrast, Science, 1967, vol. 158, no. 3803, p. 942.

  29. 29

    Conway, B.R., et al., Advances in color science: From retina to behavior, J. Neurosci., 2010, vol. 30, no. 45, pp. 14 955–14 963.

  30. 30

    Webster, M.A., Visual adaptation, Annu. Rev. Vision Sci., 2015, vol. 1, no. 1, p. 547.

  31. 31

    Koenderink, J.J., van de Grind, W.A., and Bouman, M.A., Opponent color coding: A mechanistic model and a new metric for color space, Kybernetik, 1972, vol. 10, no. 2, p. 78.

  32. 32

    Paul, L.K., Brown, W.S., Adolphs, R., Tyszka, J.M., Richards, L.J., Mukherjee, P., and Sherr, E.H., Agenesis of the corpus callosum: Genetic, developmental and functional aspects of connectivity, Nat. Rev. Neurosci., 2007, vol. 8, no. 4, pp. 287–299.

  33. 33

    Derrington, A.M., Krauskopf, J., and Lennie, P., Chromatic mechanisms in lateral geniculate nucleus of macaque, J. Physiol., 1984, vol. 357, no. 12, pp. 241–265.

  34. 34

    Shapley, R. and Hawken, M.J., Color in the cortex: Single- and double-opponent cells, Vision Res., 2011, vol. 51, no. 7, pp. 701–717.

  35. 35

    Wiesel, T.N. and Hubel, D.H., Spatial and chromatic interactions in the lateral geniculate body of the rhesus monkey, J. Neurophysiol., 1966, vol. 29, no. 6, pp. 1115.

  36. 36

    Conway, B.R., Spatial structure of cone inputs to color cells in alert macaque primary visual cortex (V-1), J. Neurosci., 2001, vol. 21, no. 8, pp. 2768–2783.

  37. 37

    Kaiser, P.K. and Boynton, R.M., Human color vision, Opt. Soc. Am., 1996, vol. 8, no. 6, pp. 50–94.

  38. 38

    Shapley, R. and Hawken, M., Neural mechanisms for color perception in the primary visual cortex, Curr. Opin. Neurobiol., 2002, vol. 12, no. 4, pp. 426–432.

  39. 39

    Solomon, S.G. and Lennie, P., The machinery of colour vision, Nat. Rev. Neurosci., vol. 8, no. 4, pp. 276–286.

  40. 40

    Johnson, E.N., Hawken, M.J., and Shapley, R., The spatial transformation of color in the primary visual cortex of the macaque monkey, Nat. Neurosci., 2001, vol. 4, no. 4, pp. 409–416.

  41. 41

    Rand, W.M., Objective criteria for the evaluation of clustering methods, Publ. Am. Stat. Assoc., 1971, vol. 66, no. 336, pp. 846–850.

  42. 42

    Martin, D., Fowlkes, C., Tal, D., and Malik, J., A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics, Eighth IEEE International Conference on Computer Vision, 2001. ICCV 2001.Proceedings, 2002, vol. 2, pp. 416–423.

  43. 43

    Silberman, N., Hoiem, D., Kohli, P., and Fergus, R., Indoor segmentation and support inference from RGBD images, European Conference on Computer Vision, 2012, pp. 746–760.

Download references


The authors appreciate the anonymous reviewers for their helpful and constructive comments on an earlier draft of this paper.


This work was supported by the National Natural Science Foundation of China (Grant no. 61866002), the Guangxi Natural Science Foundation (Grant no. 2018GXNSFAA138122 and Grant no. 2015GXNSFAA139293), the Innovation Project of Guangxi Graduate Education (Grant no. YCSW2018203), and the Innovation Project of GuangXi University of Science and Technology Graduate Education (Grant No. GKYC201706 and Grant no. GKYC201803), and 2018 Guangxi Middle and Young Teachers 'Basic Capacity Improvement Project (Project no. 2018KY0875). The funders had no role in the study design; in the collection, analysis, or interpretation of data; in the writing of the report; or in the decision to submit the article for publication.

Author information

Correspondence to Chuan Lin.

Ethics declarations

The authors declare that they have no conflicts of interest.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Chuan Lin, Zhao, H. & Cao, Y. Improved Color Opponent Contour Detection Model Based on Dark and Light Adaptation. Aut. Control Comp. Sci. 53, 560–571 (2019) doi:10.3103/S0146411619060075

Download citation


  • contour detection
  • color opponent
  • visual system