CN101022549A - Method and device for realizing image hiding - Google Patents

Method and device for realizing image hiding Download PDF

Info

Publication number
CN101022549A
CN101022549A CN 200710064512 CN200710064512A CN101022549A CN 101022549 A CN101022549 A CN 101022549A CN 200710064512 CN200710064512 CN 200710064512 CN 200710064512 A CN200710064512 A CN 200710064512A CN 101022549 A CN101022549 A CN 101022549A
Authority
CN
China
Prior art keywords
view data
shaded areas
image
mode
memory
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
CN 200710064512
Other languages
Chinese (zh)
Other versions
CN101022549B (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN 200710064512 priority Critical patent/CN101022549B/en
Publication of CN101022549A publication Critical patent/CN101022549A/en
Application granted granted Critical
Publication of CN101022549B publication Critical patent/CN101022549B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A method for covering image includes setting parameter of covering area, confirming image data of covering area to cover image data at covering area according to column/line control signal of image and set parameter of covering area in conversion process between line image data signal and block image data signal at image compression/decompression course. The device used for realizing said method is also disclosed.

Description

A kind of method and device of realizing image masking
Technical field
The present invention relates to image processing techniques, be meant a kind of method and device of realizing image masking especially.
Background technology
Image processing generally includes compression and decompression.In image compression process, compression algorithm is carried out computing to the piece image often, and input picture progressive scan mode often, therefore, need convert the view data of delegation of delegation input to one one view data, give image compression unit and compress.In like manner, in the image decompression compression process, decompression algorithm is carried out computing to the piece image often, also be to export one by one after the decompression, and display device generally receives only the view data of delegation of delegation input, and line by line, interlace mode shows, therefore, one one view data after decompressing need be converted to the view data of delegation of delegation.
Figure 1 shows that, row input image data conversion of signals is become the schematic block diagram of piece output image data signal.As shown in Figure 1, row input image data signal deposits the unit in by the row view data and stores memory earlier into, reads and the IOB viewdata signal from memory by piece view data sensing element again.
The row view data deposits that the unit comprises input picture line count device, input interface logical block in and by line scanning storage addressing logic unit.Wherein, input picture line count device receives the ranks control signal of image, determine the position of each view data in each row of image according to the ranks control signal of image, and in by each row of line scanning storage addressing logic unit output image the positional information of each view data; By the corresponding relation between the memory address of position that disposes view data in the line scanning storage addressing logic unit and memory, and, determine that according to institute's configured corresponding relation current image date deposits the address of memory in according to the mode of lining by line scan; The input interface logical block receives row input image data signal, and according to by the determined memory address in line scanning storage addressing logic unit, will go the input image data signal storage in the corresponding address of memory.
Piece view data sensing element comprises output image line count device, stores addressing logic unit and output interface logical block by block scan.Wherein, output image line count device deposits the ranks control signal that input picture line count device the unit receives image in from the row view data, determine the position of each view data in each piece of image according to the ranks control signal of image, and in each piece of pressing block scan storage addressing logic unit output image the positional information of each view data; By the corresponding relation between the memory address of view data position that disposes image in the block scan storage addressing logic unit and memory, and, determine current address of reading view data from memory according to institute's configured corresponding relation according to the mode that block-by-block scans; The output interface logical block is according to pressing block scan storage determined address, addressing logic unit, reads image data signal from the corresponding address of memory, and IOB viewdata signal.
Figure 2 shows that with the embark on journey schematic block diagram of output image data signal of piece input image data conversion of signals, its transfer process is opposite to the transfer process of piece with above-mentioned row, in this omit specific descriptions.
Through above compression, decompression process, and other necessary processing process, image can be shown in the display device.
In image showed, the needs that have a certain zone of pair image to cover for example, at reporter's interview, when being reluctant to reveal self by the interviewer, need cover this by interviewer's face area.At this image masking demand, present processing method is shown to display device and covers processing before normally after above-mentioned compression, decompressing.This processing of covering needs extra processing unit, realizes complexity, the cost height.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that realizes image masking, realizes simple.
Another object of the present invention is to provide a kind of device of realizing image masking, realize simple.
In order to achieve the above object, the invention provides a kind of method that realizes image masking, this method comprises:
The parameter of shaded areas is set; In the capable viewdata signal and the transfer process between the piece viewdata signal in the image compression decompression process, parameter according to the ranks control signal of image and set shaded areas, determine the view data of shaded areas, the view data of this shaded areas is covered.
Transfer process between described capable viewdata signal and the piece viewdata signal is: the viewdata signal that the order of will going is imported deposits memory in, and with the piece order read this viewdata signal and output process, perhaps, deposit the viewdata signal of piece order input in memory, and read the process of this viewdata signal and output with the row order.
Described view data to this shaded areas cover for: the data-signal of the view data in the determined shaded areas is deposited in before the memory, change the position of view data in shaded areas of this shaded areas, and determine to deposit in the address of memory with the position after changing; Perhaps, from memory, read before the data-signal of the view data in the determined shaded areas, change the position of view data in shaded areas of this shaded areas, and the address of determining to read memory with the position after changing.Wherein, the position of the view data of described variation shaded areas in shaded areas is: the line position at view data place is intercoursed, perhaps the column position at view data place is intercoursed, perhaps the line position and the column position at view data place are intercoursed.
Described view data to this shaded areas cover for: the data-signal of the view data of determined shaded areas is deposited in before the memory, replace the view data of this shaded areas, and the view data after will replacing deposits memory in; Perhaps, from memory, read after the data-signal of view data of determined shaded areas, replace the view data of this shaded areas, and the output of the view data after will replacing.Wherein, the view data in the described replacement shaded areas is: the view data that the view data in the shaded areas is replaced with single look; Perhaps, the view data in the shaded areas is replaced with the view data that has with this shaded areas different pattern; Perhaps, the view data in the shaded areas is replaced with the view data that has functional relation with this view data.
When the view data of this shaded areas is covered, utilize cipher mode to cover.At this moment, this method further comprises: when recovering the view data of shaded areas, recover the view data of shaded areas with the manner of decryption of described cipher mode correspondence.
In order to achieve the above object, the invention provides a kind of device of realizing image masking, this device comprises: the converting unit, the shield parameter that are used to go change between viewdata signal and the piece viewdata signal are provided with the unit and cover processing unit; Wherein, described shield parameter is provided with the parameter that the unit is used to be provided with shaded areas; Describedly cover the ranks control signal that processing unit is used to receive image, and according to the parameter of the ranks control signal of image and set shaded areas, determine the view data of shaded areas, and in the transfer process of described converting unit, the view data of this shaded areas is covered.
Described converting unit comprises: input interface logical block, input picture line count device, scan storage addressing logic unit, the second mode view data sensing element by first mode; Described input picture line count device is used to receive the ranks control signal of image, determines the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image is exported to the described processing unit that covers; Describedly cover processing unit is provided with the shaded areas that the unit is provided with according to the positional information of each view data of receiving and described shield parameter from input picture line count device parameter, determine the view data of shaded areas, and change the position of view data in shaded areas of this shaded areas, and the positional information after will changing is exported to and is describedly scanned storage addressing logic unit by first mode; Describedly scan storage addressing logic unit by first mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to positional information from the view data of covering the shaded areas that processing unit receives, determine the address of memory of the view data correspondence of shaded areas, and export to described input interface logical block; Described input interface logical block is used to receive the viewdata signal that first mode is imported, and the data-signal of each view data in the shaded areas is deposited in the described address of scanning the determined memory in storage addressing logic unit by first mode; The described second mode view data sensing element is used for from memory with the second mode reads image data and output.
Described converting unit comprises: input interface logical block, input picture line count device, scan storage addressing logic unit, the second mode view data sensing element by first mode; Described input picture line count device is used to receive the ranks control signal of image, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image exported to describedly cover processing unit and describedly scan storage addressing logic unit by first mode; The described processing unit that covers is used to receive the viewdata signal that first mode is imported, and the parameter of the shaded areas that the unit is provided with is set according to the positional information of each view data that receives and described shield parameter from input picture line count device, determine the view data of shaded areas, and replace the view data of this shaded areas, export to described input interface logical block; Describedly scan storage addressing logic unit by first mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to the positional information of each view data that from input picture line count device, receives, determine the address of the memory of each view data correspondence, and export to described input interface logical block; Described input interface logical block is used to receive the described viewdata signal that covers processing unit output, and viewdata signal is deposited in the described address of scanning the determined memory in storage addressing logic unit by first mode; The described second mode view data sensing element is used for from memory with the second mode reads image data and output.
Described converting unit comprises: the first mode view data writing unit, output interface logical block, output image line count device, scan storage addressing logic unit by second mode; The described first mode view data writing unit is used to the viewdata signal that first mode that receives imports and the ranks control signal of image, and this viewdata signal deposited in the memory, give described output interface logical block with the ranks control signal of image; Described output image line count device is used to receive the ranks control signal of the image of described first mode view data writing unit output, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image is exported to the described processing unit that covers; The described processing unit that covers is according to the positional information of each view data that receives from output image line count device and the parameter that described shield parameter is provided with the shaded areas that is provided with in the unit, determine the view data of shaded areas, change the position of view data in shaded areas of this shaded areas, and the positional information after will changing is exported to and is describedly scanned storage addressing logic unit by second mode; Describedly scan storage addressing logic unit by second mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to positional information from the view data of covering the shaded areas that processing unit receives, determine the address of memory of the view data correspondence of shaded areas, and export to described output interface logical block; Described output interface logical block is used for scanning the data-signal that the view data of shaded areas is read in the address of storing the determined memory in addressing logic unit from described by second mode, and exports in second mode.
Described converting unit comprises: the first mode view data writing unit, output interface logical block, output image line count device, scan storage addressing logic unit by second mode; The described first mode view data writing unit is used to the viewdata signal that first mode that receives imports and the ranks control signal of image, and this viewdata signal deposited in the memory, give described output interface logical block with the ranks control signal of image; Described output image line count device is used to receive the ranks control signal of the image of described first mode view data writing unit output, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in the image exported to describedly cover processing unit and describedly scan storage addressing logic unit by second mode; Describedly scan storage addressing logic unit by second mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to the positional information of each view data that from input picture line count device, receives, determine the address of the memory of each view data correspondence, and export to described output interface logical block; Described output interface logical block is used for scanning the address reads image data signal of the determined memory in storage addressing logic unit from described by first mode, and passes to the described processing unit that covers; Describedly cover processing unit is provided with the shaded areas that the unit is provided with according to the positional information of each view data of receiving and described shield parameter from described output image line count device parameter, determine the view data in the shaded areas, and replace the view data of this shaded areas, and export in second mode.
According to the method and apparatus of realization image masking provided by the invention, can in image compression and decompression process, go and realize image masking in the transfer process between viewdata signal and the piece viewdata signal, realize simple.The present invention can realize image masking by increasing simple circuit, thereby realizes that cost is low.Further, because shaded areas is covered in image processing process, therefore, screening effect is good.
Description of drawings
Figure 1 shows that will go the input image data conversion of signals in the prior art becomes the schematic block diagram of piece output image data signal;
Figure 2 shows that in the prior art schematic block diagram of output image data signal that piece input image data conversion of signals embarked on journey;
Figure 3 shows that and realize covering the structure drawing of device of processing in the embodiment of the invention 1;
Figure 4 shows that in the embodiment of the invention schematic diagram of the image data transformation procedure in row input picture and the piece output image;
Figure 5 shows that and realize covering the structure drawing of device of processing in the embodiment of the invention 2;
Figure 6 shows that and realize covering the structure drawing of device of processing in the embodiment of the invention 3;
Figure 7 shows that and realize covering the structure drawing of device of processing in the embodiment of the invention 4.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, lift specific embodiment below, the present invention is further detailed explanation.
The present invention proposes covering of image handled is to carry out in capable viewdata signal in compression, decompression process and the transfer process between the piece viewdata signal, specifically can the capable input picture in compression process be converted in the process of piece output image and carry out, also can the piece input picture in decompression process be converted in the process of line output image and carry out.
The method that realizes image masking comprises: the parameter that the image-region that need cover is a shaded areas at first is set, for example, can be the row and column of shaded areas in image; Then, in the capable viewdata signal and the transfer process between the piece viewdata signal in the image compression decompression process, parameter according to image ranks control signal and set shaded areas, determine to be in the image of this conversion the view data in the shaded areas, and the view data of this shaded areas is covered processing.At this, covering processing can realize by the conversion of view data position, also can realize by the mode of replacing the view data in the shaded areas.Wherein, the conversion of view data position can realize by the line position of intercoursing each the view data place in the shaded areas, also can realize, perhaps can also realize by line position and the column position of intercoursing each the view data place in the shaded areas by the column position of intercoursing each the view data place in the shaded areas; Replacing the interior view data of shaded areas can realize by the view data that all images data in the shaded areas is replaced with single look, perhaps can realize by the view data in the shaded areas being replaced with the view data that has with this shaded areas different pattern, perhaps can be by the view data in the shaded areas being replaced with the view data realization that has functional relation with this view data.
Transfer process between row viewdata signal and the piece viewdata signal can for, the viewdata signal of line scanning order input is deposited in memory and reads the process of this viewdata signal and output with the piece order, perhaps also can for, the viewdata signal of piece order input is deposited in memory and reads the process of this viewdata signal and output with the row order.Accordingly, can in different processes, the view data to shaded areas cover processing, also can cover processing to the view data of shaded areas in the different phase in the process.Specifically describe as described below:
Before can depositing memory at data-signal, change the position of view data in shaded areas of this shaded areas, and determine to deposit in the address of memory with the position after changing the view data in the determined shaded areas.And from memory, during the reads image data signal, read according to normal order, like this, in the image that is converted to, the position of the view data in shaded areas relation has changed, loses original information, reaches screening effect.
Can before the data-signal of the view data in from memory, reading determined shaded areas, change the position of view data in shaded areas of this shaded areas, and the address of determining to read memory with the position after changing.In this case, when depositing viewdata signal in toward memory is to deposit in according to normal order, and when reading, concern according to the position that changes and to read, like this, in the image that is converted to, the position of the view data in the shaded areas also can change, lose original information, reach screening effect.
Before can depositing memory at data-signal, replace the view data in this shaded areas, and the view data after will replacing deposits memory in the view data in the determined shaded areas.Like this, in the image that is converted to, the view data in the shaded areas has replaced with other view data, loses original information, reaches screening effect.
Can after the data-signal of the view data in from memory, reading determined shaded areas, replace the view data in this shaded areas, and the output of the view data after will replacing.Like this, in the image that is converted to, the view data in the shaded areas has replaced with other view data, loses original information, reaches screening effect.
Method according to above-described image masking processing, its implementation structure can adopt: on the basis of Fig. 1 or capable viewdata signal shown in Figure 2 and the transformational structure between the piece viewdata signal, increase shield parameter and the unit is set and covers processing unit.Wherein, shield parameter is provided with the parameter that the unit is used to be provided with shaded areas, cover processing unit and be used to receive the ranks control signal of image, and according to the parameter of the ranks control signal of image and set shaded areas, determine to be in this image the view data in the shaded areas, and in the transfer process between viewdata signal and the piece viewdata signal of being expert at, the view data in this shaded areas is covered processing.Wherein, cover processing unit and do not do any processing, directly pass through corresponding processing unit at the view data in the non-shaded areas.Different when covering processing mode when adopting, covering processing unit can be with different circuit realization.Below mainly to be converted to the situation of covering in the process of piece output image with the capable input picture in compression process be example, introduce apparatus structure and the step that processing is covered in realization in detail.
Figure 3 shows that and realize covering the structure drawing of device of processing among the embodiment 1.This device is on the basis of structure shown in Figure 1, and the view data of being expert at deposits in and comprises further in the unit that shield parameter is provided with unit and out of order circuit.Wherein, shield parameter is provided with the parameter that shaded areas is set in the unit, for example, can be the row and column of shaded areas in image.Out of order circuit receives the positional information from each view data of input picture line count device, the parameter that the shaded areas that is provided with in the unit is set according to the positional information and the shield parameter of each view data, determine that whether capable input image data signal that current needs deposit memory in is the view data in the shaded areas, if the view data in the shaded areas, the position of each view data in shaded areas in this shaded areas of conversion then, and the positional information of the view data in this shaded areas after the conversion sent to by line scanning storage addressing logic unit, view data in the shaded areas, then positional information that directly will received view data sends to by line scanning and stores the addressing logic unit.The function of other unit is with the function in the structure shown in Figure 1.
Realization in present embodiment 1 is covered in the device of processing, when the input interface logical block deposits the view data in the shaded areas in memory, will search corresponding relation between view data position and the storage address according to the positional information after changing by line scanning storage addressing logic unit, determine that the position concerns the address of the memory of each the view data correspondence in the shaded areas that has changed, the input interface logical block deposits each view data in the shaded areas by line scanning in stores in the address of the determined memory in addressing logic unit.Like this, piece view data sensing element reads from memory and exports in the acquired image data, and each view data in the shaded areas is upset the position in this shaded areas, and therefore, resulting image loses original information, reaches screening effect.
Figure 4 shows that in the capable input picture and the piece output image in the schematic diagram of image data transformation procedure.
Below, in conjunction with Fig. 4, the process that realization is covered in the present embodiment 1 is described.Fig. 4-1 is depicted as each view data in the shaded areas and position relation thereof in the capable input picture.Suppose, by line scanning storage addressing logic unit with press block scan and store in the addressing logic unit in the configured corresponding relation, corresponding relation between the position of each view data in this 4 * 4 shaded areas and the address of memory is, address A11~the A14 of 4 view data position corresponding stored devices of first row in the shaded areas, address A21~the A24 of 4 view data position corresponding stored devices of second row, address A31~the A34 of 4 view data position corresponding stored devices of the third line, the address A41~A44 of 4 view data position corresponding stored devices of fourth line.If deposit each view data in the shaded areas in memory according to normal sequence, the state behind the memory of then depositing in is shown in Fig. 4-2; If read each view data in the memory shown in Fig. 4-2 according to normal sequence, the image that then obtains is still shown in Fig. 4-1.When the input interface logical block need be in memory deposits shaded areas in each view data the time, if out of order circuit will be gone the position of 1~4 each view data of row in the shaded areas in the input picture and will be transformed to the 2nd respectively, 4,1,3 row, and the positional information after this conversion sent to by line scanning storage addressing logic unit, then store the addressing logic unit according to self institute's configured corresponding relation by line scanning, determine the address A21~A24 of the 1st each view data corresponding stored device of going of current memory to be deposited, address A41~the A44 of each view data corresponding stored device of the 2nd row, address A11~the A14 of each view data corresponding stored device of the 3rd row, address A31~the A34 of each view data corresponding stored device of the 4th row, like this, the input interface logical block is deposited each view data of the 1st row of current memory to be deposited among the address A21~A24 of memory, each view data of the 2nd row is deposited among the address A41~A44 of memory, each view data of the 3rd row is deposited among the address A11~A14 of memory, each view data of the 4th row is deposited among the address A31~A34 of memory, shown in Fig. 4-3.And the output interface logical block is will obtain each view data of the row of the 1st~4 in the shaded areas time, press block scan storage addressing logic unit according to self institute's configured corresponding relation, determine current each row view data to be read address A11~A14 of corresponding stored device respectively, A21~A24, A31~A34, A41~A44, like this, the output interface logical block is respectively from the address A11~A14 of memory, A21~A24, A31~A34, reads image data and output among A41~A44, its result, the position relation of each view data in the piece output image data signal in the shaded areas is shown in Fig. 4-4.By above process, the view data of row input picture Central Plains the 1st~4 line position becomes the view data of the 2nd, 4,1,3 line positions in the piece output image, thereby, reach screening effect.
In present embodiment 1, out of order circuit can be with the mutual conversion of the row of each view data in the shaded areas, perhaps can be with the mutual conversion of the row of each view data, perhaps can be with all conversion mutually of row and column of each view data, these evolutions can be at random, also can be to follow certain rule.Like this, the row input is transformed in the view data of piece output, reaches screening effect in shaded areas.
In embodiment 1, cover that to handle be that the view data of being expert at deposits in the unit and carries out, be specially, in the process of the view data write memory that will import by the line scanning order, normal position relation not according to view data deposits memory in, but deposit memory in, thereby reach screening effect according to out of order position relation.
Below, embodiment 2 is provided, in embodiment 2, covering processing is to carry out in piece view data sensing element, is specially, in the process of the view data write memory that will import by the line scanning order, normal position relation according to view data deposits memory in, and when from memory, reading, read, thereby reach screening effect according to out of order position relation.
Figure 5 shows that and realize covering the structure drawing of device of processing among the embodiment 2.This device comprises further that in piece view data sensing element shield parameter is provided with unit and out of order circuit on the basis of structure shown in Figure 1.Wherein, shield parameter is provided with the parameter that shaded areas is set in the unit.The positional information of each view data in the image of out of order circuit reception output image line count device output, the parameter that the shaded areas that is provided with in the unit is set according to the positional information and the shield parameter of each view data, determine that whether the current viewdata signal that need read is the view data in the shaded areas from memory, if the view data in the shaded areas, the position of each view data in this shaded areas in this shaded areas of conversion then, and the positional information of the view data in this shaded areas after the conversion sent to by block scan storage addressing logic unit, view data in the shaded areas, then positional information that directly will each received view data sends to by block scan and stores selected cell.The function of other unit is with the function in the structure shown in Figure 1.
Realization in present embodiment 2 is covered in the device of processing, when the output interface logical block reads view data in the shaded areas from memory, search corresponding relation between view data position and the storage address by block scan storage addressing logic unit according to the positional information after changing, determine that each view data in the shaded areas that position relation changed is in the address of memory, the output interface logical block is from the address of pressing the determined memory in block scan storage addressing logic unit, and reads image data is also exported.
Below, in conjunction with Fig. 4, further describe the processing procedure of covering among the embodiment 2.Be depicted as each view data in the shaded areas and position relation thereof in the capable input picture as Fig. 4-1.Same hypothesis, by line scanning storage addressing logic unit with press block scan and store in the addressing logic unit in the configured corresponding relation, corresponding relation between the position of each view data in this 4 * 4 shaded areas and the address of memory is, address A11~the A14 of 4 view data position corresponding stored devices of first row in the shaded areas, address A21~the A24 of 4 view data position corresponding stored devices of second row, address A31~the A34 of 4 view data position corresponding stored devices of the third line, the address A41~A44 of 4 view data position corresponding stored devices of fourth line.In present embodiment 2, the row view data deposits the unit in and will go input image data and be deposited into memory according to normal sequence, shown in Fig. 4-2.Suppose, in present embodiment 2, the row order that out of order circuit will read the position of the view data in this shaded areas is transformed to the order of the 3rd, the 1st, the 4th, the 2nd row, then the output interface logical block from the result of view data in reading this shaded areas the memory and output shown in Fig. 4-4.Like this, the input picture of being expert at of the view data in the shaded areas is different with position relation in the piece input picture, reaches screening effect.
In present embodiment 2, out of order circuit can be with the mutual conversion of the row of each view data in the shaded areas, perhaps can be with the mutual conversion of the row of each view data, perhaps can be with all conversion mutually of row and column of each view data, these evolutions can be at random, also can be to follow certain rule.Like this, the row input is transformed in the view data of piece output, reaches screening effect in shaded areas.
Be to realize covering of image among embodiment 1 and the embodiment 2 by out of order method, below, the embodiment that the method for replacing by data realizes image masking provided.
Figure 6 shows that and realize covering the structure drawing of device of processing among the embodiment 3.This device is on the basis of structure shown in Figure 1, and the view data of being expert at deposits in and comprises further in the unit that shield parameter is provided with unit and data replacement circuit.Shield parameter is provided with the parameter that shaded areas is set in the unit.The data replacement circuit receives the positional information from each view data in the image of input picture line count device, and the parameter that the set shaded areas in unit is set according to the positional information and the shield parameter of each view data, determine that whether capable input image data signal that current needs deposit memory in is the view data in the shaded areas, if the view data in the shaded areas, pass to the input interface logical block after then replacing the view data in the shaded areas, view data in the shaded areas is not then done any processing and is directly passed to the input interface logical block.Wherein, replace in the shaded areas view data can for, the view data in the shaded areas is replaced with the view data of single look, for example replace with complete black or complete white view data; Perhaps, the view data in the shaded areas is replaced with the view data that has with this shaded areas different pattern; Perhaps, the view data in the shaded areas can be replaced with the view data that has functional relation with this view data.The processing of other unit is with the processing in Fig. 1 structure.
In present embodiment 3, the view data of being expert at deposits in the unit, to deposit in the process of memory by the view data of line scanning order input, deposit memory in after view data in the shaded areas replaced, like this, in the view data that piece view data sensing element reads from memory and exports, data in the shaded areas are replaced, lose original information, therefore, reach screening effect.
Figure 7 shows that and realize covering the structure drawing of device of processing among the embodiment 4.This device comprises further that in piece view data sensing element shield parameter is provided with unit and data replacement circuit on the basis of structure shown in Figure 1.Shield parameter is provided with the parameter that shaded areas is set in the unit.The data replacement circuit receives the positional information from each view data in the image of output image line count device, and the parameter that the set shaded areas in unit is set according to the positional information and the shield parameter of each view data, determine that whether the current viewdata signal that reads is the view data in the shaded areas from memory, if the view data in the shaded areas, export after then replacing the view data in the shaded areas, view data in the shaded areas is not then done any processing and is directly exported.The processing of other unit is with the processing in Fig. 1 structure.The method of the view data in the replacement shaded areas in the present embodiment 4 can adopt the method among the embodiment 3.
In present embodiment 4, the row view data deposits the unit in and will deposit in the process of memory by the view data of line scanning order input, do not do any processing of covering, and piece view data sensing element is from memory after the reads image data, if these data are the data in the shaded areas, then replace back output, like this, view data in the shaded areas loses original information, reaches screening effect.
Among above-described 4 embodiment, cover that to handle be that capable input picture in compression process is converted in the process of piece output image and carries out.Same, covering processing can also the piece input picture in decompression process be converted in the process of line output image and carries out, more specifically, can in the process that will deposit memory in, cover processing by the image of block scan order input, can also in the process of from memory, reading view data, cover processing, wherein, covering processing can be undertaken by out of order method, also can be undertaken by the method that data are replaced.
When the method for replacing by out of order method or data is covered processing, can adopt encryption.For example, out of order certain cipher mode of following, perhaps, data are replaced can follow certain cipher mode, like this, when needing the image in the recovery shaded areas, can pass through decryption restoration.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, a kind of method that realizes image masking is characterized in that, this method comprises:
The parameter of shaded areas is set;
In the capable viewdata signal and the transfer process between the piece viewdata signal in the image compression decompression process, parameter according to the ranks control signal of image and set shaded areas, determine the view data of shaded areas, the view data of this shaded areas is covered.
2, method according to claim 1 is characterized in that,
Transfer process between described capable viewdata signal and the piece viewdata signal is: the viewdata signal that the order of will going is imported deposits memory in, and with the piece order read this viewdata signal and output process, perhaps, deposit the viewdata signal of piece order input in memory, and read the process of this viewdata signal and output with the row order.
3, method according to claim 2 is characterized in that, described view data to shaded areas cover for:
Viewdata signal in the determined shaded areas is deposited in before the memory, change the position of view data in shaded areas of this shaded areas, and determine to deposit in the address of memory with the position after changing;
Or: from memory, read before the viewdata signal in the determined shaded areas, change the position of view data in shaded areas of this shaded areas, and the address of determining to read memory with the position after changing.
4, method according to claim 3 is characterized in that,
The position of the view data of described variation shaded areas in shaded areas is: the line position at view data place is intercoursed, perhaps the column position at view data place is intercoursed, perhaps the line position and the column position of view data are intercoursed.
5, method according to claim 2 is characterized in that, described view data to this shaded areas cover for:
The data-signal of the view data of determined shaded areas is deposited in before the memory, replace the view data of this shaded areas, and the view data after will replacing deposits memory in;
Or:
From memory, read after the data-signal of view data of determined shaded areas, replace the view data of this shaded areas, and the output of the view data after will replacing.
6, method according to claim 5 is characterized in that,
View data in the described replacement shaded areas is: the view data that the view data in the shaded areas is replaced with single look; Perhaps, the view data in the shaded areas is replaced with the view data that has with this shaded areas different pattern; Perhaps, the view data in the shaded areas is replaced with the view data that has functional relation with this view data.
7, method according to claim 1 is characterized in that,
When the view data of this shaded areas is covered, utilize cipher mode to cover;
Further:
When recovering the view data of shaded areas, recover the view data of shaded areas with the manner of decryption of described cipher mode correspondence.
8, a kind of device of realizing image masking, this device comprises: be used to go the converting unit of changing between viewdata signal and the piece viewdata signal; It is characterized in that this device also comprises: shield parameter is provided with the unit and covers processing unit;
Described shield parameter is provided with the parameter that the unit is used to be provided with shaded areas;
Describedly cover the ranks control signal that processing unit is used to receive image, and according to the parameter of the ranks control signal of image and set shaded areas, determine the view data of shaded areas, and in the transfer process of described converting unit, the view data of this shaded areas is covered.
9, device according to claim 8 is characterized in that,
Described converting unit comprises: input interface logical block, input picture line count device, scan storage addressing logic unit, the second mode view data sensing element by first mode;
Described input picture line count device is used to receive the ranks control signal of image, determines the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image is exported to the described processing unit that covers;
Describedly cover processing unit is provided with the shaded areas that the unit is provided with according to the positional information of each view data of receiving and described shield parameter from input picture line count device parameter, determine the view data of shaded areas, and change the position of view data in shaded areas of this shaded areas, and the positional information after will changing is exported to and is describedly scanned storage addressing logic unit by first mode;
Describedly scan storage addressing logic unit by first mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to positional information from the view data of covering the shaded areas that processing unit receives, determine the address of memory of the view data correspondence of shaded areas, and export to described input interface logical block;
Described input interface logical block is used to receive the viewdata signal that first mode is imported, and the data-signal of each view data in the shaded areas is deposited in the described address of scanning the determined memory in storage addressing logic unit by first mode;
The described second mode view data sensing element is used for from memory with the second mode reads image data and output.
10, device according to claim 8 is characterized in that,
Described converting unit comprises: input interface logical block, input picture line count device, scan storage addressing logic unit, the second mode view data sensing element by first mode;
Described input picture line count device is used to receive the ranks control signal of image, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image exported to describedly cover processing unit and describedly scan storage addressing logic unit by first mode;
The described processing unit that covers is used to receive the viewdata signal that first mode is imported, and the parameter of the shaded areas that the unit is provided with is set according to the positional information of each view data that receives and described shield parameter from input picture line count device, determine the view data of shaded areas, and replace the view data of this shaded areas, export to described input interface logical block;
Describedly scan storage addressing logic unit by first mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to the positional information of each view data that from input picture line count device, receives, determine the address of the memory of each view data correspondence, and export to described input interface logical block;
Described input interface logical block is used to receive the described viewdata signal that covers processing unit output, and viewdata signal is deposited in the described address of scanning the determined memory in storage addressing logic unit by first mode;
The described second mode view data sensing element is used for from memory with the second mode reads image data and output.
11, device according to claim 8 is characterized in that,
Described converting unit comprises: the first mode view data writing unit, output interface logical block, output image line count device, scan storage addressing logic unit by second mode;
The described first mode view data writing unit is used to the viewdata signal that first mode that receives imports and the ranks control signal of image, and this viewdata signal deposited in the memory, give described output interface logical block with the ranks control signal of image;
Described output image line count device is used to receive the ranks control signal of the image of described first mode view data writing unit output, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in this image is exported to the described processing unit that covers;
The described processing unit that covers is according to the positional information of each view data that receives from output image line count device and the parameter that described shield parameter is provided with the shaded areas that is provided with in the unit, determine the view data of shaded areas, change the position of view data in shaded areas of this shaded areas, and the positional information after will changing is exported to and is describedly scanned storage addressing logic unit by second mode;
Describedly scan storage addressing logic unit by second mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to positional information from the view data of covering the shaded areas that processing unit receives, determine the address of memory of the view data correspondence of shaded areas, and export to described output interface logical block;
Described output interface logical block is used for scanning the data-signal that the view data of shaded areas is read in the address of storing the determined memory in addressing logic unit from described by second mode, and exports in second mode.
12, device according to claim 8 is characterized in that,
Described converting unit comprises: the first mode view data writing unit, output interface logical block, output image line count device, scan storage addressing logic unit by second mode;
The described first mode view data writing unit is used to the viewdata signal that first mode that receives imports and the ranks control signal of image, and this viewdata signal deposited in the memory, give described output interface logical block with the ranks control signal of image;
Described output image line count device is used to receive the ranks control signal of the image of described first mode view data writing unit output, determine the position of each view data according to the ranks control signal of image, and the positional information of each view data in the image exported to describedly cover processing unit and describedly scan storage addressing logic unit by second mode;
Describedly scan storage addressing logic unit by second mode and be used for corresponding relation between configuration image Data Position and the storage address, and search this corresponding relation according to the positional information of each view data that from input picture line count device, receives, determine the address of the memory of each view data correspondence, and export to described output interface logical block;
Described output interface logical block is used for scanning the address reads image data signal of the determined memory in storage addressing logic unit from described by first mode, and passes to the described processing unit that covers;
Describedly cover processing unit is provided with the shaded areas that the unit is provided with according to the positional information of each view data of receiving and described shield parameter from described output image line count device parameter, determine the view data in the shaded areas, and replace the view data of this shaded areas, and export in second mode.
CN 200710064512 2007-03-16 2007-03-16 Method and device for realizing image hiding Expired - Fee Related CN101022549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710064512 CN101022549B (en) 2007-03-16 2007-03-16 Method and device for realizing image hiding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710064512 CN101022549B (en) 2007-03-16 2007-03-16 Method and device for realizing image hiding

Publications (2)

Publication Number Publication Date
CN101022549A true CN101022549A (en) 2007-08-22
CN101022549B CN101022549B (en) 2010-11-24

Family

ID=38710178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710064512 Expired - Fee Related CN101022549B (en) 2007-03-16 2007-03-16 Method and device for realizing image hiding

Country Status (1)

Country Link
CN (1) CN101022549B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102415087B (en) * 2009-05-11 2014-09-03 富士通株式会社 Image encryption/decoding device, method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4573158B2 (en) * 2004-02-26 2010-11-04 日本ビクター株式会社 Monitoring image generation method and monitoring image generation apparatus
KR100599141B1 (en) * 2005-05-20 2006-07-12 삼성전자주식회사 Compressing system and method for document

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102415087B (en) * 2009-05-11 2014-09-03 富士通株式会社 Image encryption/decoding device, method, and program
US8935536B2 (en) 2009-05-11 2015-01-13 Fujitsu Limited Image encryption/decryption device, method, and storage medium storing a program

Also Published As

Publication number Publication date
CN101022549B (en) 2010-11-24

Similar Documents

Publication Publication Date Title
US9124829B2 (en) Optical black pixel readout for image sensor data correction
CN101106623B (en) Image capturing apparatus, image capturing method, image processing apparatus, image processing method
CN101526998A (en) Image processing device, method, reading device and data output processing device
CN101472048A (en) Image pickup apparatus, color noise reduction method, and color noise reduction program
CN101389022A (en) Image processing apparatus, image processing method and image pickup apparatus
TWI406210B (en) A display device
CN102054284B (en) Image processing apparatus, image data output processing apparatus and image processing method
US7545416B2 (en) Image processing device and camera including CPU which determines whether processing performed using external memory
US20070046683A1 (en) Image processor, imaging device, and image processing system
CN101022549B (en) Method and device for realizing image hiding
CN109146793A (en) A kind of system of pipeline system image chroma format conversion scaling rotation superposition
CN103501419A (en) Method for realizing image transposition based on FPGA (Field Programmable Gata Array)
CN101547295B (en) Line buffer circuit, image processing apparatus, and image forming apparatus
CN101567959A (en) Pixel input-output method and device, image compressing method and device
US6542429B2 (en) Method of controlling line memory
US20220189196A1 (en) Fingerprint image generation method and device for saving memory
CN102982507A (en) Method and device of video image processing
AU749662B2 (en) Storage apparatus and storage method
CN110009564B (en) Picture processing method, system, terminal equipment and storage medium
CN101657851B (en) Method for controlling output of display unit and system enabling of the method
CN100409657C (en) Image processing method and device
CN109792494A (en) Photographic device, still image image capture method and still image imaging program
US20070165124A1 (en) Method of operating an image sensor
CN106713756A (en) Method for realizing image photography, and terminal
CN101887326B (en) Image scanning system and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101124

Termination date: 20120316