CN117834788A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN117834788A
CN117834788A CN202410251679.5A CN202410251679A CN117834788A CN 117834788 A CN117834788 A CN 117834788A CN 202410251679 A CN202410251679 A CN 202410251679A CN 117834788 A CN117834788 A CN 117834788A
Authority
CN
China
Prior art keywords
target area
original image
image
watermark
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410251679.5A
Other languages
Chinese (zh)
Other versions
CN117834788B (en
Inventor
徐冬
李晔
侯代伦
李公宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Guoyin Technology Co ltd
Beijing Chest Hospital
Original Assignee
Beijing Guoyin Technology Co ltd
Beijing Chest Hospital
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Guoyin Technology Co ltd, Beijing Chest Hospital filed Critical Beijing Guoyin Technology Co ltd
Priority to CN202410251679.5A priority Critical patent/CN117834788B/en
Priority claimed from CN202410251679.5A external-priority patent/CN117834788B/en
Publication of CN117834788A publication Critical patent/CN117834788A/en
Application granted granted Critical
Publication of CN117834788B publication Critical patent/CN117834788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides an information processing method and device. The method comprises the following steps: acquiring an original image; dividing the original image to determine a first target area and a second target area in the original image; adding a preset interference watermark to the first target area; and adding preset information to the second target area to obtain a target image. The method and the device divide the original image, determine the first target area and the second target area in the original image, then add the preset interference watermark to the first target area and the preset information to the second target area, and the obtained target image can not interfere or damage the image, and have the advantages of good privacy protection and small influence on the image.

Description

Information processing method and device
Technical Field
The invention relates to the technical field of image processing, and also relates to an information processing method and device.
Background
With the rapid development of medical imaging and network technology, medical images are increasingly used in the field of clinical diagnosis. Doctors can timely and accurately analyze pathology through medical images, and even find potential problems of patients and perform early treatment. Meanwhile, the rapid development of telecommunication technology and multimedia technology provides technical support for telemedicine and remote consultation. In order to prevent the image content from being possibly damaged, tampered and the like in the transmission process, patient information is embedded into the medical image as a digital watermark, so that the purposes of protecting privacy data and checking the integrity of the medical image content and preventing tampering are achieved. However, the process of digital watermark embedding can bring a certain degree of data distortion to the original medical image, and the accurate judgment of the doctor on the illness state of the patient is affected.
Disclosure of Invention
The invention aims to provide an information processing method and device for solving the problem of data distortion caused by embedding a digital watermark into an original medical image.
In order to solve the technical problems, the technical scheme of the invention is as follows:
in a first aspect of the present invention, there is provided an information processing method comprising:
acquiring an original image;
dividing the original image to determine a first target area and a second target area in the original image;
adding a preset interference watermark to the first target area;
and adding preset information to the second target area to obtain a target image.
Optionally, the dividing the original image to determine a first target area and a second target area in the original image includes:
dividing a gray original image or a colored original image according to the saliency and the non-saliency of a target object in the original image, and determining a first target area and a second target area in the original image; wherein the first target region is a salient region and the second target region is a non-salient region.
Optionally, dividing the original image of gray according to the saliency and the non-saliency of the target object in the original image, and determining the first target area and the second target area in the original image includes:
obtaining a segmentation threshold of the original image of the gray scale according to the saliency and the non-saliency of the target object in the original image;
binarizing the original image by using the segmentation threshold to obtain a foreground region;
performing open operation and connected region detection on the foreground region to determine a minimum circumscribed rectangle of a foreground object;
and performing expansion processing on the minimum circumscribed rectangle of the foreground object, and determining a first target area and a second target area in the original image.
Optionally, dividing the color original image according to the saliency and the non-saliency of the target object in the original image, and determining the first target area and the second target area in the original image includes:
converting the colored original image to obtain an intermediate processing image;
performing superpixel processing on the intermediate processing image to obtain a plurality of superpixel areas;
obtaining distances between the plurality of super pixel areas;
determining image feature points according to the distances among the super pixel areas;
and determining a first target area and a second target area in the original image according to the image characteristic points and the super-pixel areas.
Optionally, determining a first target area and a second target area in the original image according to the image feature points and the plurality of super pixel areas includes:
determining a corner distribution diagram of the image according to the image characteristic points;
determining a saliency matrix of the image according to the angular point distribution graph of the image and the super pixel areas;
and determining a first target area and a second target area in the original image according to the saliency matrix of the image.
Optionally, adding a preset interference watermark to the first target area includes:
adding a preset interference watermark to the first target area through a pixel mapping function; the pixel mapping function is:
wherein,for the gray value of the image after adding the preset interference watermark at (x, y), I (x, y) is the gray value of the original image superimposed with the preset interference watermark at (x, y), c is the watermark embedding strength control factor, and W (x, y) is the pixel value of the preset interference watermark at (x, y).
Optionally, adding preset information to the second target area includes:
encrypting the preset information to obtain encrypted information;
the encryption information is added to the second target area.
In a second aspect of the present invention, there is provided an information processing apparatus comprising:
the acquisition module is used for acquiring an original image;
the dividing module is used for dividing the original image and determining a first target area and a second target area in the original image;
the watermark adding module is used for adding a preset interference watermark to the first target area;
and the information adding module is used for adding preset information to the second target area to obtain a target image.
In a third aspect of the present invention, there is provided a computing device comprising: a processor, a memory storing a computer program which, when executed by the processor, performs a method as described in the first aspect.
In a fourth aspect of the invention, there is provided a computer readable storage medium storing instructions that when executed on a computer cause the computer to perform the method of the first aspect.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, the original image is divided, the first target area and the second target area in the original image are determined, the preset interference watermark is added to the first target area, the preset information is added to the second target area, and the obtained target image cannot interfere with or damage the target image, so that the method has the advantages of being good in privacy protection and small in influence on the image.
Drawings
FIG. 1 is a flow diagram of an information processing method in an embodiment of the invention;
fig. 2 is a schematic structural diagram of an information processing apparatus in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention proposes an information processing method including the steps of:
step 11, obtaining an original image;
step 12, dividing the original image, and determining a first target area and a second target area in the original image;
step 13, adding a preset interference watermark to the first target area;
and step 14, adding preset information to the second target area to obtain a target image.
According to the information processing method provided by the embodiment of the invention, the original image is divided, the first target area and the second target area in the original image are determined, the preset interference watermark is added to the first target area, the preset information is added to the second target area, and the obtained target image cannot interfere or damage the target image, so that the information processing method has the advantages of good privacy protection and small influence on the image.
Specifically, the original image is a medical image.
In an alternative embodiment of the present invention, step 12 includes:
dividing a gray original image or a colored original image according to the saliency and the non-saliency of a target object in the original image, and determining a first target area and a second target area in the original image; wherein the first target region is a salient region and the second target region is a non-salient region.
Here, the original image has two types, namely a gray original image and a color original image, different dividing modes are adopted for different types of original images, so that a salient region and a non-salient region are obtained, and the accuracy of division is improved. Specifically, the salient region is generally image data of the focus region of the patient contained in the original image; the non-salient regions are generally the portions of the original image that do not contain image data of the patient's lesion area, and provide a basis for subsequent watermarking and user information by dividing the original image into salient and non-salient regions.
In an optional embodiment of the present invention, in step 12, dividing the original image with gray scale according to the saliency and the non-saliency of the target object in the original image, determining a first target area and a second target area in the original image includes:
step 1211, obtaining a segmentation threshold of the original image of the gray scale according to the saliency and the non-saliency of the target object in the original image;
step 1212, binarizing the original image by using the segmentation threshold to obtain a foreground region;
step 1213, performing open operation and connected region detection on the foreground region, and determining a minimum circumscribed rectangle of the foreground object;
step 1214, performing expansion processing on the minimum circumscribed rectangle of the foreground object, and determining a first target area and a second target area in the original image.
Specifically, if the original image is gray, an optimal segmentation threshold value of the original image is obtained, the original image is binarized by the optimal segmentation threshold value to obtain a foreground area and a background area of the original image, then the foreground area is subjected to open operation to obtain a mask of a foreground object, and then the foreground area is subjected to connected area detection to determine the minimum circumscribed rectangle and position information of the foreground object. And then properly expanding the minimum circumscribed rectangle to ensure that the minimum circumscribed rectangle can be divided by a preset value, and treating the minimum circumscribed rectangle as a salient region and the rest as non-salient regions.
In an optional embodiment of the present invention, in step 12, dividing the color original image according to the saliency and the non-saliency of the target object in the original image, determining a first target area and a second target area in the original image includes:
step 1221, converting the color original image to obtain an intermediate processed image;
step 1222, performing superpixel processing on the intermediate processing image to obtain a plurality of superpixel areas;
step 1223, obtaining distances between the plurality of super pixel areas;
step 1224, determining image feature points according to the distances among the super pixel areas;
and step 1225, determining a first target area and a second target area in the original image according to the image feature points and the super pixel areas.
Specifically, if the original image is color, the color space of the color medical image is first converted intoSpace (color contrast space, with dimension L representing brightness, and a and b representing color contrast dimension), then superpixel processing the converted intermediate processed image, then calculating the distance between all superpixel regions, identifying the image feature points near each superpixel region, finally calculating the saliency matrix of the original image, and obtaining the saliency region of the whole original image by searching all non-zero value regions, wherein the rest regions are non-saliency regions.
In an alternative embodiment of the present invention, step 1225 includes:
step 12251, determining a corner distribution diagram of the image according to the image feature points;
step 12252, determining a saliency matrix of the image according to the corner distribution map of the image and the super pixel areas;
step 12253, determining a first target area and a second target area in the original image according to the saliency matrix of the image.
Specifically, different inflection points and intersection points are formed by different texture distributions in the converted intermediate processing image, so that a corner distribution map of the image can be obtained by extracting all corners of the intermediate processing image, a minimum external polygon is obtained according to all the corner distributions, and a salient region and an insignificant region in the original image are determined according to the minimum external polygon and a plurality of super-pixel regions.
In an alternative embodiment of the present invention, step 13 includes:
adding a preset interference watermark to the first target area through a pixel mapping function; the pixel mapping function is:
wherein,for the gray value of the image after adding the preset interference watermark at (x, y), I (x, y) is the gray value of the original image superimposed with the preset interference watermark at (x, y), c is the watermark embedding strength control factor, and W (x, y) is the pixel value of the preset interference watermark at (x, y).
Here, in order to effectively prevent the medical image from being illegally copied and used, a clear watermark pattern (preset interference watermark) may be superimposed on a salient region (i.e., a critical lesion region of a patient) so that an illegitimate user cannot directly read the image data. Specifically, the pixel value is modified by using a reversible double mapping function, so that the embedding of the bright watermark pattern is completed. After receiving the processed medical image, the user utilizes a reversible double mapping function to modify pixel values, and erasure of the bright watermark pattern is completed.
In an alternative embodiment of the present invention, step 14 includes:
step 141, carrying out encryption processing on the preset information to obtain encrypted information;
and step 142, adding the encryption information to the second target area.
Specifically, the preset information may be sensitive privacy data of the patient, so that the preset information needs to be encrypted to prevent privacy leakage. And embedding the encrypted information into the non-salient region of the medical image by adopting a reversible information hiding method based on difference expansion. After receiving the processed medical image, the user can use the secret key to rapidly extract watermark information, remove the clear watermark pattern and recover the original medical image file carrier data in a lossless manner. The sensitive privacy data of the patient is encoded by utilizing the reversible watermark technology and hidden to the non-explicit region of the medical image, thereby effectively avoiding the leakage of the patient information and achieving the aim of protecting the privacy data.
In an alternative embodiment of the present invention, the method further comprises:
and step 15, the target image is sent to a user side.
After receiving the target image, the user can use the secret key to extract sensitive privacy data and recover medical images.
A specific embodiment of the information processing method provided by the embodiment of the invention is as follows:
and step 21, analyzing the medical image content to realize automatic division of the image salient region and the non-salient region.
The salient regions of the medical image generally contain image data concerning the focal region of the patient, which data cannot be used at will by an illegal user and does not allow for significant modification distortion that would otherwise lead to an accurate diagnosis of the patient's condition by the physician. In addition, the patient's private data is relatively sensitive, such as patient name, age, sex, diagnostic report, and hospital information that creates the image, which is not likely to appear directly in the image in plain text or in transmission. In this embodiment, in order to effectively protect a medical image, a significant region and a non-significant region are automatically divided first, and then are processed by different technical means respectively.
1. For gray medical image files, the maximum inter-class method is utilized to divide the salient region and the non-salient region. The method specifically comprises the following steps:
(1) And obtaining an optimal segmentation threshold of the medical image through a maximum inter-class method, and performing binarization operation on the medical image to obtain a foreground image and a background image of the medical image. Specifically, assume that the original medical image isThe gray level of the original medical image isThe original medical image segmentation threshold isThe foreground probability isThe average gray scale of the foreground isThe background probability isThe average gray level of the background isThe total average gray level of the original medical image isThe inter-class variance under the segmentation threshold isThe specific calculation method is as follows:
maximizationIs the process of automatically determining the threshold value, the optimal segmentation threshold valueThe method comprises the following steps:
and binarizing the medical image by utilizing the optimal segmentation threshold value to obtain a foreground region and a background region of the medical image.
(2) And performing open operation on the foreground region by using a morphological operator to obtain a mask of the foreground object, and then performing connected region detection on the foreground region to determine the minimum circumscribed rectangle and position information of the foreground object.
Properly expanding the minimum circumscribed rectangle to ensure that the minimum circumscribed rectangle can be satisfiedInteger divided and treated as a salient region, the remainder being non-salient regions. In the present embodiment of the present invention, in the present embodiment,in addition, the size and position information of the salient region is used as a keyIs sent to the legitimate receiving user.
2. For a color medical image file, the saliency region and the non-saliency region are divided by using a linear iterative clustering method. The method specifically comprises the following steps:
(1) Converting color space of a color medical image intoSpace (color contrast space with dimension L representing brightness, and a and b representing color contrast dimension), and superpixel processing the image by linear iterative clustering methodAll pixels in the region of similar color of the mean class are combined into one superpixel. The coordinate value average value of all pixels in the region is regarded as the coordinate value of the super pixel, and the color average value of all pixels is regarded as the color value of the super pixel.
(2) And calculating the distance between all the super pixel areas.
Dividing a medical image intoEach super pixel regionFor the region thereinCalculate its distance to all other areasI.e.
2
Wherein,is a color spaceColor values within. Calculate all distancesThen, respectively normalize to the interval. In addition, each needs to be calculatedAdjacent thereto regionDistance of (2)I.e.
(3) Image feature points near each super-pixel region are identified.
Since different texture distributions in an image form different inflection points and intersections, all corners of the image are extractedThe points can obtain the angular distribution diagram of the image, and a minimum external polygon is obtained according to all the angular distribution diagrams
(4) A saliency matrix of the image is calculated.
For fixed imagesFor any super pixel regionAndall can pass throughBridging of adjacent regions so that there is communication between the two regions, i.e. regionsAndthe path between them isArea (area)Andthere may be one or more paths between them, each path being calculated to be a distance of twoSum ofAnd willViewed as a regionAndshortest distance between them. The saliency matrix of the image is calculated as follows:
1) Calculating a scaling factorThe following are provided:
2) Calculating a score value for each superpixel regionThe following are provided:
wherein,identifying superpixel regionsWhether or not to be in polygonAnd (3) inner part. If at, thenOtherwise
3) Computing superpixel regionsSignificance value of (2)The following are provided:
calculate the saliency value of all super pixel areas and normalize toAnd finally, binarizing and thresholding, searching all non-zero value areas to obtain a salient area of the whole image, wherein the rest areas are non-salient areas.
Step 22, embedding the interference bright watermark pattern in a semitransparent manner in the medical image saliency region by using a reversible bright watermark technology;
in order to effectively prevent medical images from being illegally copied and used, in the embodiment, a reversible watermarking technology is utilized to superimpose a watermarking pattern on a salient region (namely, a critical focus region of a patient), so that an illegal user cannot directly read image data. The method utilizes a reversible double mapping function to modify pixel values, and completes the embedding and erasure of the bright watermark pattern. The specific process is as follows:
setting an original gray-scale image(of size of) And a binary patternWhereinIs equal to the size of the salient region, and is. In general, in the case of a conventional,. For convenience of description, this order. With embedded watermarkThe image isThe pixel mapping function is:
wherein the method comprises the steps ofA watermark pattern portion is superimposed on the original image,in order to clearly watermark an image,in order to superimpose the image after the bright watermark pattern,andrespectively representing the positions of the imagesGray values at that point.Is a watermark embedding strength control factor, takes the value as a non-zero integer and also serves as a secret keyIs sent to the legitimate receiving user. When (when)When the original pixel value is mapped as a function; when (when)When the pixel value of the original image is unchanged.
Step 23, coding sensitive privacy data of a patient, and embedding the sensitive privacy data into an insignificant area of the medical image by using a reversible watermarking technology;
the sensitive information of the patient is encrypted and then converted into binary bit stringsAnd embedding the non-salient region of the medical image by adopting a reversible information hiding method based on difference expansion. Uniformly dividing pixels in non-significant regions intoAnd dividing four pixels in each sub-block into two groups according to diagonal linesAnd,in which 2-bit information is embedded. To be used forThe embedding process of (2) is illustrated as follows:
(1) For watermark information bitsSum pixel pairCalculating the mean value of pixel pairsSum and difference value
(2) The 1-bit watermark information is encoded byEmbedded into the differenceIs modified in (1)
(3) Computing embedded pixel pairsThe following are provided:
similarly, an embedding can be obtainedRear pixel pair
After all pixel pairs are processed in the mode, the sensitive watermark information bit string is embedded into the non-significant area of the image in a visually invisible mode, and the image with the finally embedded watermark is obtained
Step 24, the medical image with the embedded watermark is sent to a legal receiving user terminal;
to be embedded with watermarkAnd a keyStep-wise transmission to a legitimate user, wherein salient regions in the image have been disturbed by the clear watermark pattern, and sensitive information of the patient has been embedded in invisible fashion in non-salient regions. Therefore, even if an illegal user intercepts the medical image file, the bright watermark pattern cannot be removed and the original valuable image data can be restored without knowing the key.
And step 25, the legal receiving user side performs sensitive privacy data extraction and medical image recovery operations.
After receiving the medical image file, legal receiving user end uses keyThe watermark information extraction, the clear watermark pattern removal and the lossless recovery of the original medical image file carrier data can be rapidly carried out.
1. Watermark information extraction and non-salient region recovery.
Using secret keysThe size and position information of the salient region in the database can be used for locating the non-salient region. Watermark image is processed in the same way as embedding processIs uniformly divided into non-significant regions inAnd performs the same grouping of image sub-blocks of (a)And,extracting encoded information therefrom. Also byThe extraction is taken as an example, and the detailed description process is as follows:
(1) First, pixel pairs are calculatedMean of (2)Sum and difference value
(2) Extracting 1-bit encoded informationAnd the original differenceThe following are provided:
(3) Using the means calculated as described aboveSum and difference valueRestoring pixel pairs in non-significant regions
Similarly, from a pixel pair,Extracting encoded information from the dataAnd recovering pixel pairs in the non-significant region,. After all pixel pairs are recovered, the watermark image can be obtained
2. The bright watermark pattern is removed and the salient region is restored.
By means of secret keysSize and location information of salient regions in (a) and a watermark embedding strength control factorExecuting within the salient regionThe line pixel mapping inverse transformation can remove the bright watermark pattern, thereby restoring the original salient region carrier data. The specific process is as follows:
when (when)In the time-course of which the first and second contact surfaces,
when (when)In the time-course of which the first and second contact surfaces,
as described above, whenWhen the original pixel value is inversely mapped as a function; when (when)When the pixel value of the original image is maintained unchanged.
The information processing method provided by the embodiment of the invention realizes the protection of the key focus area of the medical image by using the reversible clear watermark technology, and fundamentally avoids direct copying and illegal use of the image file by an illegal user. The legal user can completely remove the interference clear watermark pattern through the secret key, and the carrier data of the original medical image is not damaged, so that the true use value of the file is not affected. On the premise of not affecting the normal use value of the medical image, the problems of poor privacy protection performance, weak copying resistance, large data distortion, low information capacity and the like of the medical image in the prior art are solved.
As shown in fig. 2, an embodiment of the present invention provides an information processing apparatus 200 including:
an acquisition module 201, configured to acquire an original image;
a dividing module 202, configured to perform dividing processing on the original image, and determine a first target area and a second target area in the original image;
a watermark adding module 203, configured to add a preset interference watermark to the first target area;
and the information adding module 204 is configured to add preset information to the second target area to obtain a target image.
Optionally, the dividing the original image to determine a first target area and a second target area in the original image includes:
dividing a gray original image or a colored original image according to the saliency and the non-saliency of a target object in the original image, and determining a first target area and a second target area in the original image; wherein the first target region is a salient region and the second target region is a non-salient region.
Optionally, dividing the original image of gray according to the saliency and the non-saliency of the target object in the original image, and determining the first target area and the second target area in the original image includes:
obtaining a segmentation threshold of the original image of the gray scale according to the saliency and the non-saliency of the target object in the original image;
binarizing the original image by using the segmentation threshold to obtain a foreground region;
performing open operation and connected region detection on the foreground region to determine a minimum circumscribed rectangle of a foreground object;
and performing expansion processing on the minimum circumscribed rectangle of the foreground object, and determining a first target area and a second target area in the original image.
Optionally, dividing the color original image according to the saliency and the non-saliency of the target object in the original image, and determining the first target area and the second target area in the original image includes:
converting the colored original image to obtain an intermediate processing image;
performing superpixel processing on the intermediate processing image to obtain a plurality of superpixel areas;
obtaining distances between the plurality of super pixel areas;
determining image feature points according to the distances among the super pixel areas;
and determining a first target area and a second target area in the original image according to the image characteristic points and the super-pixel areas.
Optionally, determining a first target area and a second target area in the original image according to the image feature points and the plurality of super pixel areas includes:
determining a corner distribution diagram of the image according to the image characteristic points;
determining a saliency matrix of the image according to the angular point distribution graph of the image and the super pixel areas;
and determining a first target area and a second target area in the original image according to the saliency matrix of the image.
Optionally, adding a preset interference watermark to the first target area includes:
adding a preset interference watermark to the first target area through a pixel mapping function; the pixel mapping function is:
wherein,for the gray value of the image after adding the preset interference watermark at (x, y), I (x, y) is the gray value of the original image superimposed with the preset interference watermark at (x, y), c is the watermark embedding strength control factor, and W (x, y) is the pixel value of the preset interference watermark at (x, y).
Optionally, adding preset information to the second target area includes:
encrypting the preset information to obtain encrypted information;
the encryption information is added to the second target area.
In an alternative embodiment of the present invention, the apparatus further comprises:
and the sending module 205 is configured to send the target image to a user side.
The information processing device provided by the embodiment of the invention divides the original image, determines the first target area and the second target area in the original image, adds the preset interference watermark to the first target area and the preset information to the second target area, and the obtained target image can not interfere or damage the target image, and has the advantages of good privacy protection and small influence on the image.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved. In this embodiment, details are not described again.
The embodiment of the invention also provides a computing device, which comprises: a processor, a memory storing a computer program which, when executed by the processor, performs a method as in any of the above embodiments. All the implementation manners in the method embodiment are applicable to the embodiment of the device, and the same technical effect can be achieved. In this embodiment, details are not described again.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform a method according to any of the above embodiments. All the implementation manners in the method embodiment are applicable to the embodiment of the device, and the same technical effect can be achieved. In this embodiment, details are not described again.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (10)

1. An information processing method, characterized by comprising:
acquiring an original image;
dividing the original image to determine a first target area and a second target area in the original image;
adding a preset interference watermark to the first target area;
and adding preset information to the second target area to obtain a target image.
2. The information processing method according to claim 1, wherein the dividing the original image to determine the first target area and the second target area in the original image includes:
dividing a gray original image or a colored original image according to the saliency and the non-saliency of a target object in the original image, and determining a first target area and a second target area in the original image; wherein the first target region is a salient region and the second target region is a non-salient region.
3. The information processing method according to claim 2, wherein dividing the original image of the gradation according to the saliency and the non-saliency of the target object in the original image, determining the first target area and the second target area in the original image, includes:
obtaining a segmentation threshold of the original image of the gray scale according to the saliency and the non-saliency of the target object in the original image;
binarizing the original image by using the segmentation threshold to obtain a foreground region;
performing open operation and connected region detection on the foreground region to determine a minimum circumscribed rectangle of a foreground object;
and performing expansion processing on the minimum circumscribed rectangle of the foreground object, and determining a first target area and a second target area in the original image.
4. The information processing method according to claim 2, wherein dividing the color original image according to the saliency and the non-saliency of the target object in the original image, determining the first target area and the second target area in the original image, comprises:
converting the colored original image to obtain an intermediate processing image;
performing superpixel processing on the intermediate processing image to obtain a plurality of superpixel areas;
obtaining distances between the plurality of super pixel areas;
determining image feature points according to the distances among the super pixel areas;
and determining a first target area and a second target area in the original image according to the image characteristic points and the super-pixel areas.
5. The information processing method according to claim 4, wherein determining a first target area and a second target area in the original image based on the image feature points and the plurality of super pixel areas, comprises:
determining a corner distribution diagram of the image according to the image characteristic points;
determining a saliency matrix of the image according to the angular point distribution graph of the image and the super pixel areas;
and determining a first target area and a second target area in the original image according to the saliency matrix of the image.
6. The information processing method according to claim 1, wherein adding a preset interference watermark to the first target area includes:
adding a preset interference watermark to the first target area through a pixel mapping function; the pixel mapping function is:
wherein,for the gray value of the image after adding the preset interference watermark at (x, y), I (x, y) is the gray value of the original image superimposed with the preset interference watermark at (x, y), c is the watermark embedding strength control factor, and W (x, y) is the pixel value of the preset interference watermark at (x, y).
7. The information processing method according to claim 1, characterized in that adding preset information to the second target area includes:
encrypting the preset information to obtain encrypted information;
the encryption information is added to the second target area.
8. An information processing apparatus, characterized by comprising:
the acquisition module is used for acquiring an original image;
the dividing module is used for dividing the original image and determining a first target area and a second target area in the original image;
the watermark adding module is used for adding a preset interference watermark to the first target area;
and the information adding module is used for adding preset information to the second target area to obtain a target image.
9. A computing device, comprising: a processor, a memory storing a computer program which, when executed by the processor, performs the method of any one of claims 1 to 7.
10. A computer readable storage medium storing instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202410251679.5A 2024-03-06 Information processing method and device Active CN117834788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410251679.5A CN117834788B (en) 2024-03-06 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410251679.5A CN117834788B (en) 2024-03-06 Information processing method and device

Publications (2)

Publication Number Publication Date
CN117834788A true CN117834788A (en) 2024-04-05
CN117834788B CN117834788B (en) 2024-06-07

Family

ID=

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930369A (en) * 1995-09-28 1999-07-27 Nec Research Institute, Inc. Secure spread spectrum watermarking for multimedia data
US6711276B1 (en) * 1998-12-03 2004-03-23 Hitachi, Ltd. Control method and apparatus for embedding information in data
CN1547157A (en) * 2003-12-12 2004-11-17 上海交通大学 Encrypting orthogonal transformation method for digital watermark
CN102547254A (en) * 2010-11-26 2012-07-04 中国科学院声学研究所 Method and system for digital video image copyright protection based on watermarks and encryption
CN110610448A (en) * 2019-08-29 2019-12-24 西安理工大学 Image encryption method based on harmony search algorithm
CN110796582A (en) * 2019-09-26 2020-02-14 北京大学 Reversible plain watermark method and device based on vector graphic compression
CN111461956A (en) * 2020-04-23 2020-07-28 周雷文 Image watermarking processing method
CN112037109A (en) * 2020-07-15 2020-12-04 北京神鹰城讯科技股份有限公司 Improved image watermarking method and system based on saliency target detection
CN112700363A (en) * 2021-01-08 2021-04-23 北京大学 Self-adaptive visual watermark embedding method and device based on region selection
WO2022205853A1 (en) * 2021-03-31 2022-10-06 海南大学 Medical image digital watermarking method based on perceptual hash and data enhancement
CN117455747A (en) * 2022-07-25 2024-01-26 安华高科技股份有限公司 Secure graphic watermarking

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930369A (en) * 1995-09-28 1999-07-27 Nec Research Institute, Inc. Secure spread spectrum watermarking for multimedia data
US6711276B1 (en) * 1998-12-03 2004-03-23 Hitachi, Ltd. Control method and apparatus for embedding information in data
CN1547157A (en) * 2003-12-12 2004-11-17 上海交通大学 Encrypting orthogonal transformation method for digital watermark
CN102547254A (en) * 2010-11-26 2012-07-04 中国科学院声学研究所 Method and system for digital video image copyright protection based on watermarks and encryption
CN110610448A (en) * 2019-08-29 2019-12-24 西安理工大学 Image encryption method based on harmony search algorithm
CN110796582A (en) * 2019-09-26 2020-02-14 北京大学 Reversible plain watermark method and device based on vector graphic compression
CN111461956A (en) * 2020-04-23 2020-07-28 周雷文 Image watermarking processing method
CN112037109A (en) * 2020-07-15 2020-12-04 北京神鹰城讯科技股份有限公司 Improved image watermarking method and system based on saliency target detection
CN112700363A (en) * 2021-01-08 2021-04-23 北京大学 Self-adaptive visual watermark embedding method and device based on region selection
WO2022205853A1 (en) * 2021-03-31 2022-10-06 海南大学 Medical image digital watermarking method based on perceptual hash and data enhancement
CN117455747A (en) * 2022-07-25 2024-01-26 安华高科技股份有限公司 Secure graphic watermarking

Similar Documents

Publication Publication Date Title
US7231522B2 (en) Information processing apparatus, method for controlling the same, and storage medium
Cedillo-Hernandez et al. Improving the management of medical imaging by using robust and secure dual watermarking
Yin et al. Reversible data hiding in encrypted images based on pixel prediction and multi-MSB planes rearrangement
CN108022197B (en) Reversible information hiding method for medical image based on multi-texture degree division
Kim et al. Region-based tampering detection and recovery using homogeneity analysis in quality-sensitive imaging
Gul et al. A novel pixel-wise authentication-based self-embedding fragile watermarking method
US20100142756A1 (en) Document security method
Swaraja et al. Hierarchical multilevel framework using RDWT-QR optimized watermarking in telemedicine
EP1908007A1 (en) Image watermarking
Dai et al. A novel hybrid reversible-zero watermarking scheme to protect medical image
Lee Adaptive reversible watermarking for authentication and privacy protection of medical records
CN116385250B (en) Track data double watermarking method based on robust watermarking and fragile watermarking
Zhang et al. Reversible image watermarking algorithm based on quadratic difference expansion
Ernawan et al. Three layer authentications with a spiral block mapping to prove authenticity in medical images
Hussan et al. Hash-based image watermarking technique for tamper detection and localization
Liu et al. Lossless image hierarchical recovery based on POB number system
KR101509877B1 (en) Watermarking Method and Apparatus for Inserting Watermark Created from an image into another image
Liu et al. ROI-based reversible data hiding scheme for medical images with tamper detection
Azizoglu et al. A novel reversible fragile watermarking method in DWT domain for tamper localization and digital image authentication
CN117834788B (en) Information processing method and device
Hisham et al. Numbering with spiral pattern to prove authenticity and integrity in medical images
Renklier et al. A novel Frei‐Chen based fragile watermarking method for authentication of an image
CN113112392A (en) Watermark embedding and extracting method, embedding and extracting device, and processing system
CN117834788A (en) Information processing method and device
Rijati Nested block based double self-embedding fragile image watermarking with super-resolution recovery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant