Abstract

Due to the explosive growth of the Internet and maturing of 3D hardware techniques, protecting 3D objects becomes a more and more important issue. In this paper, a public hamming code based fragile watermarking technique is proposed for 3D objects verification. An adaptive watermark is generated from each cover model by using the hamming code technique. A simple least significant bit (LSB) substitution technique is employed for watermark embedding. In the extraction stage, the hamming code based watermark can be verified by using the hamming code checking without embedding any verification information. Experimental results shows that 100% vertices of the cover model can be watermarked, extracted, and verified. It also shows that the proposed method can improve security and achieve low distortion of stego object.

1. Introduction

The digital era already came to our lives thanks to the interestingly sophisticated hardware and software technologies. Especially the internet, it made our life more convenient and even changed our lifestyles. Traditional publishers, for instance, gradually translated the products to online-digitalized stores. This allowed any writer’s work to be searched and discovered once they upload them to these online stores by publishers. Besides this, various multimedia, both audio and visual, also take part in this digital era.

But everything has its pros and cons. While the internet does make our lives easier, it also presents a risk towards the copyright or other personal information. All of these lead to piracies, tampering, and stealing of data. In order to fix these leaks and improve the data’s security, many experts and scholars endeavor in fields known as information hiding research [16], and digital signature [710], dedicated to solve these problems.

According to the difference of application purpose, information hiding techniques can be divided into data hiding and watermarking. The former has another common terminology called steganography. The latter, watermarking [1113], is modeled to embed meaningful text or images with copyright information into cover model to achieve copyright protection or image authentication [14, 15].

Watermarking technique [1113] can be divided into visible watermarking and invisible watermarking by visualization, or can be separated as blind, semiblind, and nonblind by extraction strategies, or can be distinguished from special domain [1619] and frequency domain [1924] by embedding space, or can be differentiated between robust watermarking and fragile watermarking according to application purpose. The main goal of robust watermarking is to make the embedded watermarks remain detectable after being attacked. In contrast, the requirements of fragile watermarking are to verify the slightest unauthorized alteration and be able to locate the changed regions.

Among the different media types, watermarking of 3D objects is comparatively difficult inherently. Initially, Ohbuchi et al. [2528] proposed a large variety of techniques for embedding data into 3D polygonal models. In [26], Ohbuchi et al. proposed a nonblind algorithm that works in the transformation domain. It embeds a watermark into a 3D polygonal model by deforming the low-frequency components of the shape by using the mesh spectral analysis. Cayre and Macq [29] described a blind data hiding scheme in the spatial domain. The key idea is to consider a triangle as a two-state geometrical object. Each triangle that can be embedded is called an admissible triangle. In [30], Alface et al. presented a way to extend the robustness of blind and robust 3D watermarking schemes to the difficult cropping attack. C.-M. Wang and P.-C. Wang [31, 32] propose a novel scheme for digital steganography in the spatial domain. It employs a principal component analysis (PCA), resulting in a blind approach. Kanai et al. [33] were the first to apply a transform domain watermarking approach on 3D polygonal model. It is a nonblind algorithm, which first decomposes an original polygonal model by applying wavelet transform several times. This algorithm embeds the watermarks into the wavelet coefficient vectors and it is robust against affine transformation and random noise attacks.

The existing fragile watermarking algorithms that are designed for 3D models are relatively few. In fragile watermarking, the embedded watermark will be modified when the stego object is altered. Therefore, the fragile watermark can be used to verify a stego object. Yeo and Yeung [19] firstly proposed a fragile watermarking algorithm for authenticating 3D polygonal meshes. Two indices were calculated for every vertex: the location index and the value index. According to the coordinates of it and its neighboring vertices, the location index was calculated by a hash function and the value index is calculated by another hash function for each vertex. Then they slightly perturbed every vertex to make these two hash functions equal. Their scheme is both blind and fragile, but there arise two problems: the causality problem and the convergence problem. The causality problem is that the location index of a former processed vertex will be changed by the perturbing of later processed neighboring vertices. The convergence problem is that the user cannot control the distortion induced by the iteratively perturbing process.

Fornaro and Sanna [17] proposed a public key scheme to authenticating constructive solid geometry (CSG) models which has a serious drawback that it cannot locate the tampered region(s). Yeo and Yeung [19] proposed the use of content-based signature to authenticate 3D volume data.

Lin et al. [18] proposed a modified fragile watermarking scheme similar to Yeo and Yeung’s method [19]. The causality problem is conquered in this method by applying two different hash functions on the vertex coordinates, without considering the neighboring vertices of a vertex. In the watermark embedding stage, they slightly perturbed every vertex making these two hash function values equal. However, the convergence problem still occurs in this scheme. To avoid heavy distortion due to vertex perturbing, they set a threshold and simply skip the vertices that could not meet the requirement under the threshold. This causes some embedding holes which cause false alarms in the watermark extraction stage.

Chou and Tseng [16] proposed a fragile watermarking scheme for authenticating 3D mesh models. A watermark embedded by this method is robust to translation, rotation, and uniform scaling but is sensitive to other operations. The main idea of the method is to keep the ratio between the distance from the mesh center to each surface face and a quantization step remaining the same after the model is translated, rotated, or uniformly scaled. There are two major drawbacks in this scheme. Firstly, it is a semipublic watermarking scheme since the original watermark is needed in the decoding stage to authenticate the watermarked model. But a public watermarking scheme is preferred in fragile watermarking. Secondly, it fails in locating the changed regions since the center position of the mesh will be changed when any vertex has been changed.

Chou and Tseng [34] propose a blind fragile watermarking technique which can embed watermark into at most half the number of total points. In [35], a public fragile watermarking scheme based on the sensitivity of vertex geometry for 3D model authentication is proposed. In this paper, Chou and Tseng propose a multifunction vertex embedding method and an adjusting-vertex method to overcome the causality problem and the convergence problem. The average distortion of the marked models is under user control with proper key value setting, and this scheme can detect and locate all unauthorized modifications. But this scheme still has the embedding holes problem.

In [36], the coordinates of each vertex of the cover model are transformed to spherical coordinates. The quantization index modulation technique is employed to embed the watermark into the coordinates by using the center of gravity of the cover model. The drawback of [36] is that the reference point would be changed if any coordinate of the model is modified. In [37], Wang et al. proposed a multiple reference point embedding process to overcome the drawback of [36].

In this paper, a hamming code based fragile watermark scheme is performed on 3D polygonal meshes in spatial domain. The proposed method can provide the capability of accurately verifying, locating the tampered region to protect the integrity of 3D objects and there has no embedding holes problem.

The remaining sections of this paper are organized as follows. The proposed hamming code based fragile watermarking scheme is described in Section 3. Experimental results and discussion are presented in Section 4. Finally, conclusions are provided in Section 5.

3. Proposed Hamming Code Based Fragile Watermark Algorithm

In this paper, a hamming code based fragile watermark scheme for 3D objects is proposed in spatial domain. It is public and fragile. The logistic map [38] is utilized to produce the intermingled embedding order of vertices. There does not need embedding any verification information for tampering detection in the proposed method. An adaptive watermark is generated from each cover model by using the hamming code technique [3942]. Instead of the comparison of the hash function, the hamming code based watermark can be verified by using the hamming code checking in the extraction stage.

Hamming code is named after Richard Hamming and is a linear forward error correction code which works by adding parity check bits at the output data stream. Because of the simplicity of hamming codes, they are widely used in computer memory RAM [42].

The most widely used hamming code is (7, 4) hamming code, which encodes four data bits (, , , and ) into seven bits by adding three parity check bits (,  , and ). Each parity check bit is created by its associated data bits. Table 1 illustrates the relationship between parity check bits and data bits, where ‘‘’’ indicates the relationship exists between parity check bits and associated data bits.

As shown in Table 1, the parity check bits can be created by using the associated date bits, and the results are shown in Table 2, where ‘‘’’ donates an exclusive or (XOR) operation. The hamming code detects errors by ensuring each parity check bit and its corresponding data bits achieve the even parity. This detection procedure is called parity checking.

In mathematical point of view, hamming code is a class of binary linear block code. Regardless the form of and , and for linear block codes must satisfy , where is an all-zeros matrix due to . There is a code with parity bits and data bits for each integer, where must satisfy . The parity check matrix of a hamming code is constructed by listing all columns of length that are pairwise independent. Given a generator matrix of the code, where is that so-called systematic form. It means that the leftmost or rightmost columns of form a identity matrix . For the detailed formulas, one is referred to [43].

In this paper, the parity check matrix and the code generator matrix are:

According to the description above, (1) are rewritten as follows:

After calculate (3), the matrices and used in this paper satisfy the theory of hamming code.

Adding the parity bits allows the receiver checking and correcting if there are errors. The hamming codes can detect up to two-bit errors, and correct single-bit error, but cannot identify the error type. Therefore, hamming codes are an example of perfect codes which exactly match the theoretical upper bound on the number of distinct code words for a given number of bits and ability to correct errors.

Figure 1 illustrates the outline of this proposed scheme. In this paper, the hamming code technology is adopted as the premise of our 3D model fragile watermarking scheme. A simple LSB substitution technique is employed for watermark embedding. Moreover, the hamming code based watermark can be verified by using the hamming code checking without embedding any verification information in the extraction stage. In summary, the proposed scheme has several advantages: it is public and blind; the verification rate achieves 100% (watermarked vertices/total vertices); the vertex based localization of unauthorized modification can be achieved; the key size used in the proposed scheme is small; Finally, the proposed method is immune to the causality, convergence, and embedding holes problems.

3.1. The Embedding Process

Without loss of generality, let each 3D object of interest be described by a sequence of coordinates , . Moreover, each vertex of the sequence is represented by its 3D coordinates . The embedding algorithm takes two inputs: the cover model and the secret key to produce the stego model. As shown in Figure 2, it embeds a watermark according to the following four steps:

Step 1 (normalization). The coordinates of each point are normalized into the range 0 to 1. Consider where , ,   denote the , , axis; is the vertex ; Max () denotes the maximum value of the cover model at axis, and so as Max () and Max (), Min () denotes the minimum value of the cover model at axis, and so as Min () and Min ().

Step 2 (extraction of data bits). Without loss of generality, suppose is the point to be embedded, where denotes the axis usedand . The 4 bits, which are the 4th least significant bit to 7th least significant bit of point , are considered as an input data bits , , , and of hamming procedure.

Step 3 (generation of parity check bits). Then, the hamming code procedure is performed to generate the parity check bits. As shown in Table 1, the three parity check bits , , and can be generated from the hamming procedure. Moreover, these three parity check bits ,  , and are regarded as watermark in this paper.

Step 4 (watermark embedding). For security reasons, a secret key is employed to generate a random sequence of integers. They represent the index orders for embedding watermark to corresponding point. The parity bits are then embedded into the 3 least significant bits (LSB) of point by user least significant bit substitution.

Note that every numeric of random sequence will never duplicate and only cooperate to one vertex of the cover model. Every vertex has its own unique watermark. If any part of the stego model is modified, then the tampered region will be verified in extraction stage.

3.2. The Extraction Process

The watermark extraction process is performed to extract the embedded watermark and verify the integrity of the stego model. The extraction process takes two inputs: the attacked stego model and the secret key to extract the embedded watermark. As shown in Figure 3, it extracts the watermark according to the following five steps:

Step 1 (normalization). The coordinates of each point are normalized within the range 0 to 1.

Step 2 (extraction of data bits). A secret key is employed to generate a random sequence of integers. The random number generator is the same as that used in embedding process. The 4 bits which are the 4th least significant bit to 7th least significant bit of point in stego model are extracted and considered as input data bits for hamming code.

Step 3 (calculation of parity check bits). After hamming code encoding, the three output parity bits are regarded as watermark .

Step 4 (extraction of watermark). The embedded watermark can be extracted from the 3 least significant bits of point in stego model.

Step 5 (verification). The verification is achieved when the watermark is equal to the embedded watermark .

Note that this process is a public blind fragile watermark scheme which does not need original model and original watermark for verify forgery.

4. Experimental Results and Discussions

The proposed public hamming code based fragile watermarking method was implemented using Microsoft Visual C++ programming language.

A series of experiments were conducted to test the performance of the proposed fragile watermarking method. We shall present a set of visualization results that can demonstrate the performance of the proposed method and validate the feasibility of our algorithms.

Table 3 shows the cover models of experiments in this paper and the visual effect of the stego models. No visual distortion can be perceived between the cover models and stego models. Moreover, the precision level 10-10 is used for these experiments. No visual distortion can be perceived between the cover models and stego models.

The drawback of spatial domain is that it has poor resistance to distortion compression. There are some approaches for measure distortion, such as signal-to-noise (SNR), the Haussdorff distance, Laplacian [44], and root mean square (RMS) ratio [31, 32]. SNR used only on the still images. The Haussdorff distance and Laplacian were used to evaluate the distortion of 3D polygonal models. But for a zoomed model, to measure RMS of distortion is a better choice.

Here, we used RMS by formula (7) and RMS ratio by formula (6) to present the comparison of distortion control. The RMS ratio consists of the RMS values over the diagonal length of the bounding volume for a 3D stego model. The small RMS ratios indicate insignificant positional changes during the watermark embedding. Consider where where denotes the coordinate of the point in stego model, so as and , ,

The RMS and the RMS ratio comparison results of [36, 37] and the proposed method are as shown in Table 4.

In this paper, a public hamming code based fragile watermarking technique is proposed for 3D objects verification. An adaptive watermark of each cover model can be generated from itself by using the hamming code technique. In the embedding stage, a simple least significant bit substitution technique is employed for watermark embedding. In the extraction stage, the hamming code based watermark can be verified by using the hamming code checking without embedding any verification information. The verification information should be embedded for achieving the verification tasks in all the previously mentioned 3D fragile watermarking schemes. A comparison of the proposed scheme with Lin’s method [18], Yeo and Yeung’s method [19], and Chou and Tseng’s methods [34, 35] is given in Table 5, where ‘‘’’ indicates that the relationship exists between methods and comparison items and ‘‘—’’ indicates there is no relationship between methods and comparison items.

5. Conclusions

The proposed public hamming code based fragile watermarking is a blind approach in spatial domain. It is simple to implement and it does not need the original model or the watermark for verification and localization of tampering detection of 3D objects. Furthermore, the causality problem, convergence problem, and embedding holes problem can be overcome by the proposed scheme.

The main purpose in this paper is to authenticate the integrity of 3D polygonal messes in the spatial domain. The distortion rate can be controlled below 10−10. The verification rate achieves 100%. Consequently, every region of the 3D model can be embedded in the embedding stage and can be verified in the extraction stage.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This research was supported by the National Science Council, Taiwan, under the Grants NSC 101-2221-E-164-022 and NSC 102-2221-E-005-082.