Abstract

In this paper we propose a visible watermarking algorithm, in which a visible watermark is embedded into the Bayer Colour Filter Array (CFA) domain. The Bayer CFA is the most common raw image representation for images captured by single sensor digital cameras equipped in almost all mobile devices. In proposed scheme, the captured image is watermarked before it is compressed and stored in the storage system. Then this method enforces the rightful ownership of the watermarked image, since there is no other version of the image rather than the watermarked one. We also take into consideration the Human Visual System (HVS) so that the proposed technique provides desired characteristics of a visible watermarking scheme, such that the embedded watermark is sufficiently perceptible and at same time not obtrusive in colour and grey-scale images. Unlike other Bayer CFA domain visible watermarking algorithms, in which only binary watermark pattern is supported, proposed watermarking algorithm allows grey-scale and colour images as watermark patterns. It is suitable for advertisement purpose, such as digital library and e-commerce, besides copyright protection.

1. Introduction

Nowadays, a large amount of digital images in Internet has been captured by mobile devices, such as smartphones and tablets, owing to a great facility provided by these mobile devices to share and transmit digital images. However, since an adequate mechanism to protect rightful copyright of these images has not been established, copyright infringements become a serious problem. The digital watermarking technique has emerged as an alternative solution for this problem, embedding copyright information into the image in a visible or invisible manner.

Unlike invisible watermarking, visible watermarking consists in the overlaying of a logotype related to ownership into the original image in a perceptible manner, so visible watermarking can perform copyright protection in more direct and immediate manner than invisible watermarking. Generally, the embedded visible watermark may reduce the commercial value of the digital image, although it is translucent; therefore recently several removable visible watermarking techniques were proposed [1, 2]. However, there are many applications in which the permanent visible watermarking is more suitable. The digital library, e-commerce and digital press are the main applications of the permanent visible watermarking [35]. The digital library can offer users some digitalized documents, photograph, and arts with visible watermark pattern, and the users can read or look at them freely; however they cannot use these digital materials for other purpose, such as illegal sale, due to the visible watermark. In the case of e-commerce, an owner of some products, such as arts or professional photographs, can take pictures of his/her merchandise and put them on Internet for advertisement purpose. The images of merchandise can attract attention of possible customers; if these images contain translucent visible watermark, then an illegal use of these pictures can be avoided. In the case of the digital press, the protection of exclusive material is very important. A visible translucent watermark indicates the originality of their materials and avoids its illegal use.

Concerning watermark robustness, the visible watermarking inherently provides robustness against a wide range of attacks, because the embedded visible watermark can be observed easily by the Human Visual System (HVS), although the watermarked image has received several attacks, such as geometrical attacks including scaling, rotation, transformation, and signal processing attacks consisting of compression, filtering, noise addition, and modification of brightness and contrast, among others [6, 7].

A visible watermarking algorithm should satisfy some requirements [8, 9], which are as follows:(i)Embedded watermark should be perceptible in grey and colour host images.(ii)Embedded watermark should be perceptible in any image regions with different characteristics: texture, plain, and edge.(iii)Embedded watermark should not be too obtrusive, so details of host image may be perfectly recognizable.(iv)Watermark embedding should not obscure or brighten considerably the host image, the watermarked area should be sufficiently perceptible by the HVS, and the degradation of nonwatermarked area is almost nullified.(v)Embedded watermark should be robust against several common attacks.(vi)Watermark embedding process should be automatic for all kinds of images.

In almost all watermarking algorithms, the watermark embedding is performed in a host image which is stored in a storage system, such as device memory, and after watermarked image is generated, the original unwatermarked host image remains in the storage system. Optionally the original image can be deleted by user. However, using some information forensic techniques, the deleted image can be recovered [10], so original unwatermarked image can coexist with its watermarked version. In [11], Craver et al. proved that the presence of an original unwatermarked image impedes performing rightful ownership protection in invisible watermarking case, and in the case of visible watermarking, the existing unwatermarked original image can be possessed by adversary, invalidating immediately the effect of visible watermark. Taking in account the situations related to an establishment of a rightful ownership, we consider that the watermark embedding process must operate before the storage of captured image, avoiding existence of unwatermarked host image.

Considering the above-mentioned visible watermarking requirements and rightful ownership protection issue, in this paper we propose a visible watermarking algorithm for mobile devices, in which the watermark embedding is performed at the right moment that a device’s camera captures a picture, protecting the captured image before it is saved into the storage system. This implies that the watermark embedding is performed directly into the Colour Filter Array (CFA). Furthermore, for achieving the desired characteristics of a nonobtrusive visible watermark, the several characteristics of the HVS, related to luminance and spatial perception of the human eye, are considered in the embedding process. Sensibility of the HVS is higher in areas with medium luminance than in higher or lower luminance areas [12]; therefore proposed watermarking algorithm adjusts watermark energy using luminance information. In the plain and edge areas of the image, watermarking energy must be smaller to avoid watermark obtrusiveness, and textured areas, instead, must receive further treatment to enhance the visibility of the watermark. Proposed algorithm is compared with other Bayer CFA-based visible watermarking algorithms [13, 14] and numerical comparison results based on Mean Opinion Score (MOS) and Peak Signal to Noise Ratio (PSNR) show better performance of proposed algorithm satisfying all visible watermarking requirements mentioned above. It is worth noting that, in proposed visible watermarking scheme, the watermark pattern can be binary, grey-scale, and even a colour logotype, which is a desirable feature when the embedded watermark is used for also advertisement purpose besides copyright protection.

The rest of this paper is organized as follows. In Section 2, we briefly describe the process for a single sensor image capture in digital cameras and the required postprocessing to obtain a full colour picture. Section 3 presents current existing state of the art of visible watermarking and Section 4 describes the proposed method that performs watermarking in the Bayer CFA domain, considering the HVS for adaptive watermarking. Section 5 shows the experimental results obtained by the proposed method, comparing it with previously proposed Bayer CFA-based visible watermarking algorithms [13, 14]. Finally, conclusions are done in Section 6.

2. Single Sensor Camera Image Acquisition

A full colour image can be represented in three colour channels: red, green, and blue, which is known as the RGB colour model. A professional camera has three sensors, which allow fully capturing of the three RGB colour channels by using a different colour filter in each sensor to transform light into digital data. However, nonprofessional digital cameras, such as cameras equipped in mobile devices, use a single sensor to capture images in order to reduce the space occupied by the sensors of the cameras (Figure 1(a)). This single sensor has individual pixel colour filters which are arranged into a matrix known as the Colour Filter Array (CFA), being the Bayer CFA the most utilized CFA [15, 16], where only one of the three colour channels is stored per pixel as shown in Figure 1(b). Together with the CFA data, some metadata are generated in the capture process. All this data constitutes the so-called raw image or digital negative, referencing to a nonprocessed image representation obtained directly from the camera sensor.

Figure 1(c) shows an example of the CFA data, which seems a grey-scale image; however the value of each pixel presents one of three colour values, generating mosaic image (Figure 1(e)). To recover the original colour in each pixel of the CFA data, we need to estimate the values of other two missing colours. For example, a first pixel (top-left) of Figure 1(c) has only blue information as shown in Figure 1(b) and to obtain original colour of this pixel, two missing colour values (red and green) must be estimated. This estimation process is known as demosaicing or demosaicking, and many demosaicing algorithms are reported in the literature [15, 16]. The simplest one is based on the linear interpolation of the same colour of the neighbour pixels and more sophisticated algorithms try to reduce the interpolation artefacts, improving the quality of resulting colour image [15, 16]. Figure 1(d) shows colour image recovered from its CFA data given by Figure 1(c).

3. Visible Watermarking

Visible watermarking consists mainly in the embedding of a text or logotype as a seal that serves to validate directly the intellectual property of the image, so that the information related to copyright can be easily perceived by the bare eye. However, inevitably a visible watermark will cause a certain distortion to the host image [1719].

There are currently many approaches that have developed visible watermarking algorithms [6]; however only few of them contemplate the use of the Human Visual System (HVS) model to perform this process. Using the HVS model it is possible to achieve the embedding of a less obtrusive visible watermark, while keeping its sufficient visibility. The HVS model indicates the sensibility of the human eye to regions of images with different luminance and frequency, which may allow an efficient design of visible watermarking schemes [17]. Kankanhalli et al. in [9] proposed the use of scaling and embedding factors, α and β, which are computed using the HVS model. Each pixel of the watermarked image is determined as weighted linear combination between the host pixel value weighted by the scaling factor α and the watermark pixel value weighted by the embedding factor β. This visible watermarking formula is given by where and represent a pixel value located at the () position of a host image and a watermark image , respectively, is the ()th pixel value of the watermarked image, and is the size of the host and watermark images. This operation is performed in Discrete Cosine Transform (DCT) domain computing scaling factor α and embedding factor β based on the DC and the AC coefficients [9].

Mohanty et al. also presented a visible watermarking algorithm in the DCT domain by applying the equation (1) to each 8 × 8 DCT block [19]. The scaling and embedding factors α and β are determined from the average luminance and variance value of each DCT block. This algorithm provides a better performance compared with [9]. Hu and Kwong also proposed the use of scaling and embedding factors determined by the luminance masking in the Discrete Wavelet Transform (DWT) [20]. Huang and Tang used the Contrast-Sensitive Function (CSF) based on the HVS to vary the intensity of the watermark in different regions of image by generating a CSF mask in the Discrete Wavelet Transform (DWT) and the DWT blocks of both the image and the watermark are classified using their entropy [21]. Another approach that utilizes the CSF is proposed by Tsai et al., which is based on the Content and Contrast Aware (COCOA) watermarking algorithm [22] and visible watermark embedding is performed in the multilevel decomposition of the DWT. In these algorithms, the watermark pattern can be grey-scale and colour images.

Nevertheless, these algorithms operate in some time-consuming transform domains, such as DCT [9, 19] and DWT [2022]. Although the advance of mobile device technology is considerably fast, the processing power and memory capacity of mobile devices are still limited compared with conventional computers. So implementation of frequency domain algorithms [9, 1922] in any mobile devices is still not practical. Additionally, according to Craver’s demonstration [11], a rightful ownership cannot be established correctly in these schemes [9, 1922], because these algorithms embed visible watermark into an image stored in storage system, and although the original unwatermarked image has been deleted from the memory after watermarking process, it can be recovered using some forensic techniques [10].

In the CFA domain visible watermarking, the watermark is embedded directly into the Bayer CFA domain and the watermarked Bayer CFA is transferred to a watermarked image using demosaicing operation before its storage in device memory. In this process, visible watermarking must not perform any time-consuming frequency transform, keeping the consuming time for watermarking minimum to hold an adequate usability of mobile devices. Considering the above, the CFA domain watermarking can be considered as the most adequate scheme to establish rightful ownership over the images captured by mobile devices.

Until now a few CFA domain visible watermarking schemes are proposed [13, 14]. Lukac et al. proposed a scheme where an embedding factor β, given by (1), is assigned to each image pixel which coincides with a pixel of a binary watermark [13]. In this scheme, the embedding factor β is a user-setting constant value without consideration of any characteristics of the HVS [13]. Yu et al. added a lineal piecewise function that modifies the embedding factor β by taking into account the perceptibility of human eyes to certain luminosity [14]. In this scheme, since the texture feature is not considered to determine watermark embedding strength, an embedded watermark pattern in the texture area provides very low perceptibility, failing the second requirement of visible watermarking. It is worth noting that in both algorithms [13, 14] the scaling factor α in (1) is constant value 1, which means that the watermarking formula given by (1) becomes .

4. Proposed Method

Proposed visible watermarking scheme performs directly in the Bayer CFA domain to protect images captured by mobile devices, such as smartphones and tablets. In the proposed scheme, since the watermarking is carried out before the captured image is stored in the storage system; any unwatermarked original image does not exist, establishing a rightful ownership over the image as indicated by [11].

To satisfy the conflicting requirements of the visible watermarking mentioned above [8, 9], in which a watermark should not be too obtrusive and at same time it must be sufficiently visible in any area of the image, the characteristics of the HVS must be explored. In visible watermarking, the sensibility of the HVS to luminance is analysed, and relatively higher sensibility of the HVS in middle luminance range compared with other ranges is taken into consideration to moderate the watermark embedding strength [9]. Also we take advantage of the low sensibility of the HVS for detecting changes in textured areas to embed a stronger watermark pattern [9, 19]. In the proposed scheme, we compute edge densities to classify the input Bayer CFA into plain, textured, and edge areas to obtain an adequate watermarking strength for each area. Also luminance information of each area is considered to adjust the watermark embedding strength.

In proposed algorithm, we use the generic visible watermarking algorithm given by (1), in which the scaling factor and embedding factor of the ()th pixel are determined using the edge density and the luminance information of host image. The sensibility of the HVS related to luminance mentioned above can be expressed by the exponential function which provides adequate values of embedding energy respect to luminance value , where is the middle luminance value of the host image.

The block diagram of proposed scheme is shown by Figure 2. Firstly, each pixel of the Bayer CFA captured by mobile device is classified into plain, edge, and texture according to the relationship between the pixel and its neighbourhood of size pixels. The Bayer CFA is represented as a mosaic structure as shown by Figure 1(e), which presents fine texture feature in all regions; therefore, to avoid detecting erroneously the whole Bayer CFA as texture area, we selected the Canny operator proposed by [23] as an edge detector. In the Canny operator, first a Gaussian filter is applied to the Bayer CFA, smoothing the Bayer CFA and reducing the mosaic effect to allow a proper detection of edge and texture areas.

Once binary edge map of the Bayer CFA is obtained by the Canny operator, we obtain the edge density of each pixel , which is calculated by where is the edge density of in the Bayer CFA and is the binary value in edge map in neighbour pixel obtained by the Canny operator, is the width and height of the neighbourhood, and is the round toward zero operator. Then, according to the value of the edge density obtained by (2), the type of each element of the Bayer CFA is determined as plain, edge, and texture by In a plain area, no edge is found, so the edge density in the plain area must be small, while in a textured area, many edges appear, which makes the edge density large. In the case of edge area, a few determined edge lines appear, taking an intermediate value of edge density. The threshold values, 0.1 and 0.2, used to determine pixel type of Bayer CFA are empirically obtained according to [24].

An example of the pixel classification mentioned above is shown in Figure 3. Figure 3(a) shows Bayer CFA captured by mobile device, Figure 3(c) shows result of pixel classification, in which black, white, and grey pixels represent plain, edge, and texture areas, respectively, and Figures 3(b) and 3(d) are zoomed parts of Figures 3(a) and 3(c), respectively. From these figures, we can observe that the mosaic effect of the Bayer CFA has disappeared correctly by the smoothing Gaussian filter used as preprocessing of the Canny operator, and the pixels are classified correctly into plain, edge, and texture.

The HVS is less sensible to the textured area; therefore, the watermark embedding energy must be large for this area to obtain watermark visibility, while in the plain area where any change of pixel value is noticeable by the HVS, the watermark must be embedded in minimum energy. Also in the edge area, where the host image provides important visual information, the embedding energy is also minimized. The edge density of Bayer CFA obtained by (2) indicates the level of texture of each pixel and using this value, we calculate taking into account above consideration related to the sensibility of the HVS.

In the Bayer CFA, the intensities of three basic colours (R, G, and B) are interposed among them generating a mosaic pattern as shown by Figure 1(e), so the Bayer CFA keeps the luminance variation of its input image. Considering this, we can obtain the luminance value of each pixel, which is a mean intensity value of its neighbourhood of size as given by where is the luminance value of the th pixel and is the intensity of the th pixel of the Bayer CFA. The luminance value is normalized using (6), dividing it by the dynamic range , where is number of bits of each pixel and is the typical value in almost all cameras in mobile devices.The normalized mean value is calculated bywhere and are dimensions of the Bayer CFA.

In the generic visible watermarking formula given by (1), the scaling factor determines the contribution of ()th host pixel, while the embedding factor determines the contribution of ()th watermark pixel. To satisfy the conflictive requirements of the visible watermarking mentioned above, for the image area where the sensibility of the HVS is high, in other words plain or edge area with middle luminance, a large scaling factor and a small embedding factor are required. In the meanwhile for the image area where the sensibility of the HVS is low, in other words textured area with lower or higher luminance, small and large are required. Considering that the exponential function mentioned before can be considered as an expression of the HVS sensibility to the luminance, we formulate both the scaling factor and the embedding factor as It is worth noting that (9) is the inverse form of (8), which indicates that the contribution of the host image given by is large in the area where the HVS has high sensibility, and the contribution of watermark given by is small. Figure 4 shows the behaviours of the scaling and the embedding factors and , varying luminance , and edge density of each pixel of the Bayer CFA. From this figure, we can observe the visible watermarking energy in different luminance and spatial characteristics.

Once and are obtained, these values are scaled within the ranges and . The typical values are [] and [], respectively, which are empirically determined [9]. Using both scaled factors, and , the visible watermarked Bayer CFA image is generated by (1). In the proposed scheme, the watermark pattern can be binary, grey-scale, and also colour image. When the watermark is a colour image, the CFA domain transform must be applied to the colour watermark image to convert it into the Bayer CFA before its embedding. Once the watermarked Bayer CFA image is generated, the demosaicing operation is applied to the watermarked Bayer CFA image to generate watermarked colour image.

5. Experimental Results

The proposed visible watermarking algorithm has been implemented and evaluated by using colour images captured by different mobile devices available nowadays and some images generated artificially. Both types of images present texture, plain, edge areas and luminance variation. Figure 5 shows some examples of colour images (Figures 5(a)5(d)) and some monochrome, grey-scale, and full colour watermark patterns (Figures 5(e)5(h)).

5.1. Watermark Visibility and Unobtrusiveness

The proposed algorithm is evaluated from watermark visibility and unobtrusiveness points of view, which are two conflictive requirements for visible watermarking. The performance of proposed scheme is compared with Bayer CFA-based visible watermarking algorithms proposed by [13, 14]. For comparison purposes, some artificially generated host images shown by Figures 5(a) and 5(b), which present texture and plain areas, and a binary watermark given by Figures 5(e) and 5(f) are used, because in the schemes of [13, 14], only binary watermark can be embedded. The neighbourhood size used in (2) and (5) depends on the size of the host image. Empirically, the best classification results were given by setting for host images with 1024 × 768 dimensions.

The comparison results are shown in Figures 6 and 7, in which (a), (b), and (c) show the watermarked images generated by schemes of [13, 14] and the proposed one, and the corresponding watermark strengths of each watermarking scheme are shown by (d), (e), and (f), respectively. From these two figures, we can observe that the proposed scheme provides the watermark visibility in the texture area, allowing clear observation of the watermark pattern, while watermark strength in plain area is smaller than that provided by other two methods [13, 14] to avoid watermark obtrusiveness.

Figures 8 and 9 show the watermarked images generated by schemes proposed by [13, 14] and the proposed scheme, in which images are natural images captured by smartphone. It is worth noting that these images present large variation of luminance and spatial characteristics. Again in Figures 8 and 9, (a), (b), and (c) show the watermarked images generated by schemes of [13, 14] and the proposed one, and the corresponding watermark strengths of each watermarking scheme are shown by (d), (e), and (f), respectively. From these figures, we can observe that the proposed scheme provides a larger watermark embedding strength in texture area and a smaller embedding strength in plain area, allowing watermark visibility and unobtrusiveness at same time.

In the visible watermarking, any objective assessment for watermark visibility and unobtrusiveness is not established, because both issues are directly related to the HVS which is totally subjective, and then the assessment of these performances is carried out using the subjective measure based on Mean Score Opinion (MOS). The MOS evaluation is applied to 80 persons with different ages, genders, and occupations. Tables 1 and 2 show the evaluation criteria applied to evaluate watermark visibility and watermark unobtrusiveness, respectively. Table 3 shows the MOS-based comparison results related to the watermark visibility and unobtrusiveness among the proposed scheme and two previous schemes [13, 14]. The MOS data of the table are average values of 80 observers’ scores using two artificial images shown by Figures 5(a) and 5(b) with two watermark patterns and two natural images shown by Figures 5(c) and 5(d) with two watermark patterns. From this table, we can observe that the proposed algorithm provides a better performance than two algorithms [13, 14] from both watermark visibility and unobtrusiveness points of view. In proposed algorithm, we can get visibility MOS values 4.59 and 4.13 for artificial and natural images, respectively, which are more than “good” score, while the watermark unobtrusiveness scores are 4.39 and 4.10 for both images, which are also more than “good” score.

Although any objective assessment for the visibility and unobtrusiveness of the embedded visible watermark is not established, we try to assess the watermark visibility computing the PSNR between the translucent visible watermarked images and the opaque watermark superimposed image. Table 4 shows the watermark visibility comparison among two previously proposed algorithms [13, 14] and proposed one. In this experiment, we used two natural images given by Figures 5(c) and 5(d).

Considering that the watermark unobtrusiveness indicates that the details of the host image are clearly observable through a sufficiently translucent watermark pattern, we consider that this assessment is highly related to the HVS; therefore any objective assessment cannot be pertinent.

5.2. Watermark Robustness

In the visible watermarking, the watermark visibility and unobtrusiveness must be maintained after several common attacks to the watermarked image, such as JPEG compression, contrast change, luminance change, blurring, and Gaussian noise contamination. Tables 5 and 6 show the MOS values for proposed algorithm and two previous algorithms [13, 14] under several attacks, using artificial images given by Figures 5(a) and 5(b) and natural images given by Figures 5(c) and 5(d), respectively. The attacks were carried out using Adobe Photoshop CC 2015; the parameters used for each attack are noted in the tables. All MOS values in the tables are average of scores for two images marked by 80 observers. Figure 10 shows watermarked artificial images generated by [13, 14] and proposed algorithm, which suffered several attacks mentioned above, while Figure 11 shows watermarked and attacked natural images generated by [13, 14] and proposed algorithm. In both figures, the images in first, second, and third column correspond to watermarked images generated by [13, 14] and proposed one, respectively. From the tables and figures, we can conclude that proposed algorithm performs better under all attacks applied to the watermarked image. All images used for the evaluation are available in http://hectorsantoyo.com.mx/research/mos/images_pack.zip.

It is worth noting that the MOS evaluation of robustness to geometrical attacks was not carried out, because geometrical attacks do not cause any change of pixel values and the embedded visible watermark can be recognized perfectly by the HVS.

5.3. Watermarking with Grey-Scale and Colour Watermark Pattern

As mentioned before, in the proposed visible watermarking scheme, we can embed also grey-scale and colour watermark patterns into the input colour image. If the watermark image is a colour one, it is firstly transformed in Bayer CFA format before its embedding, as shown in Figure 2. Figures 1214 show watermarked images generated by the proposed scheme using grey-scale and colour watermark patterns given by Figures 5(g) and 5(h). In Figure 12, the watermark patterns are embedded into the colour image generated artificially, while in Figures 13 and 14, we used colour images captured by a smartphone. From these figures, we can see that the proposed visible watermarking scheme embeds adequately both types of watermark patterns, providing watermark unobtrusiveness and sufficient visibility. The use of grey-scale and colour watermark patterns provides also advertisement effects for the watermarked images, which is another advantage of our proposed scheme.

5.4. Computational Complexity

In this subsection we analyze the computational complexity of the proposed algorithm compared with other visible watermarking schemes operated in the frequency domains, such as the DCT domain [19] and the DWT domain [21], and the CFA domain algorithms [13, 14]. The proposed algorithm operates directly in CFA domain, in which any transform is not required; however we use the Canny operator to detect edges, which requires relatively high computational cost. The number of multiplications required for the Canny operator for an image with pixels is [23]. The number of multiplications to calculate scaling and embedding factors is , being total number of multiplications .

In the frequency domain visible watermarking algorithms, first the host image is transformed to the frequency domain, and then the visible watermark pattern is embedded into the frequency coefficients. Finally, the inverse transform is applied to the watermarked coefficients to obtain the watermarked image. Considering that the number of multiplications required by the 2D DCT for each block of pixels is 4096 [25], the total number of the multiplications required for an image of pixels is , because the image of pixels contains nonoverlapped blocks, while the number of multiplications required for the 2D DWT varies depending on the number of the order of the wavelets () and the decomposition levels () required by the visible watermarking algorithm. For an image of pixels, the number of multiplications required for 2D DWT is . For example, in the DWT-based visible watermarking [21], where the 9/7 biorthogonal wavelets with and decomposition levels are used, the number of multiplications is approximately . Generally, the inverse transform requires the same number of operations as that required for its transform. Table 7 shows the number of multiplications required for the DCT-based algorithm [19], the DWT-based algorithm [21], and proposed algorithm.

In the CFA domain algorithm [13], the embedding factor is a user-setting constant value; therefore the number of multiplications is for an image of pixels while in [14] the embedding factor is obtained according to luminance value of each pixel, so multiplications are required. Comparing the conventional CFA domain algorithms [13, 14], proposed algorithm requires a larger number of operations. However, considering normal computer power of any available mobile device, which is approximately 5GFLOPS–15GFLOPS [26], the proposed visible watermarking algorithm for an image with 2000 × 2000 pixels can operate within 0.2 seconds. In this case we considered the number of multiplications, additions, comparisons, and some overhead caused by memory access. Considering the above we can conclude that proposed visible watermarking algorithm can operate in real-time.

6. Conclusions

We proposed Bayer CFA domain visible watermarking scheme for images captured by mobile devices, in which watermark embedding is performed directly in the Bayer CFA before the captured image is stored in a storage system. The proposed watermarking scheme allows establishing rightful ownership according to the proof provided by [11], because original unwatermarked image does not exist anywhere, avoiding its possession of any adversaries. In order to provide a proper operation in mobile devices, which presents still limited computational resources, the computational complexity for watermarking must be reduced. Unlike almost all visible watermarking algorithms, the proposed scheme operates in Bayer CFA domain without any time-consuming frequency transforms. Therefore, we consider that the proposed scheme is suitable to protect images captured by mobile devices.

Until now, few watermarking algorithms have been developed for Bayer CFA domain, in which the HVS is not explored sufficiently. As consequence of this situation, visible watermarking requirements were not satisfied completely. The proposed approach takes advantage of the two most important characteristics of the HVS: luminance and texture sensibility of human’s eye, allowing the proposed scheme to meet desirable characteristics of visible watermarking. The experimental results show the better performance of proposed algorithm compared with two Bayer CFA-based algorithms [13, 14], from watermark visibility and unobtrusiveness points of view. Also the robustness of visible watermark provided by proposed algorithm under several attacks is evaluated and compared with two previous Bayer CFA-based algorithms [13, 14]. From the experimental results, we conclude that proposed algorithm provides a better performance compared with two algorithms [13, 14] in all attack cases. It is worth noting that the main assessments are obtained using the MOS evaluations, because we consider that the sensibility of the HVS is highly subjective issue. However, we provide an objective evaluation based on the PSNR for the watermark visibility, which provides also better performance of the proposed scheme compared with the previous methods [13, 14].

The computational complexity of the proposed algorithm is analyzed and compared with other visible watermarking algorithms performed in different domains, and we conclude that the proposed visible watermarking algorithm can operate in real-time on the mobile devices.

Unlike previous Bayer CFA domain visible watermarking, in which only binary watermark pattern is accepted, the proposed watermarking scheme allows embedding any types of watermark images, including grey-scale and colour images. The grey-scale and colour watermark pattern are desirable if the visible watermarking is additionally used for advertisement purpose.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

Authors thank the National Council of Science and Technology (CONACyT) of Mexico for the financial support during the realization of this research.