WO2020208809A1 - 画像処理装置、画像処理方法及びコンピュータプログラム - Google Patents

画像処理装置、画像処理方法及びコンピュータプログラム Download PDF

Info

Publication number
WO2020208809A1
WO2020208809A1 PCT/JP2019/015974 JP2019015974W WO2020208809A1 WO 2020208809 A1 WO2020208809 A1 WO 2020208809A1 JP 2019015974 W JP2019015974 W JP 2019015974W WO 2020208809 A1 WO2020208809 A1 WO 2020208809A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel data
image processing
continuous
unit
processing unit
Prior art date
Application number
PCT/JP2019/015974
Other languages
English (en)
French (fr)
Inventor
裕樹 松崎
翼 伊藤
友哉 中村
憲市 香川
Original Assignee
Eizo株式会社
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 Eizo株式会社 filed Critical Eizo株式会社
Priority to US17/599,137 priority Critical patent/US11763418B2/en
Priority to PCT/JP2019/015974 priority patent/WO2020208809A1/ja
Publication of WO2020208809A1 publication Critical patent/WO2020208809A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • G09G2340/0428Gradation resolution change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/393Arrangements for updating the contents of the bit-mapped memory

Definitions

  • the present invention relates to an image processing device, an image processing method, and a computer program.
  • Image processing equipment that executes image processing is used in various fields.
  • an image display device for example, an LCD display or the like
  • the data handled by the image processing device is pixel data (pixel data) related to the pixels (pixels) constituting the image.
  • the pixel data corresponding to one pixel has, for example, a single or a plurality of bits of information representing a luminance value.
  • each pixel data is, for example, 8-bit (0 to 255) data
  • each pixel data is, for example, 24-bit (for each RGB). It is the data of 0 to 255).
  • an image processing device is provided with various image processing circuits (including FPGA, ASIC, etc.), a communication system, and the like, and has a more complicated configuration.
  • image processing circuits including FPGA, ASIC, etc.
  • high power consumption may be consumed in the processing system. Since the amount of heat generated increases as the power consumption increases, the temperature rise of the image processing apparatus has become a major problem.
  • measures are taken such as enhancing the heat dissipation effect from the image processing device by mounting a heat dissipation fin or the like on the image processing device.
  • measures lead to an increase in cost, for example.
  • Patent Document 1 an information processing device that reduces the toggle rate to suppress power consumption has been proposed (see, for example, Patent Document 1).
  • the information processing apparatus of Patent Document 1 is configured to invert the lower bits of each data and lower the toggle rate based on the Hamming distance between the data.
  • the present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing apparatus, an image processing method, and a computer program capable of lowering the toggle rate while avoiding deterioration of image data. ..
  • the image processing apparatus for processing image data includes a first processing unit, and the first processing unit is configured to input input pixel data and output output pixel data.
  • the input pixel data is composed of continuous pixel data which is N consecutive (N ⁇ 3) pixel data, and the output pixel data is based on the similarity of the pixel data included in the continuous pixel data. Therefore, an image processing apparatus is provided which is configured by rearranging the pixel data included in the continuous pixel data.
  • the image processing device outputs output pixel data in which the pixel data of the input pixel data is rearranged based on the similarity of the pixel data included in the input pixel data.
  • the output pixel data is the data sorted based on the similarity of the pixel data, the toggle rate when the output pixel data is image-processed is lowered.
  • the output pixel data is configured by rearranging the pixel data of the input pixel data and each pixel data itself is retained, deterioration of the image data can be avoided.
  • the first processing unit includes a similarity calculation unit and a rearrangement unit
  • the similarity calculation unit includes the similarity of the pixel data included in the continuous pixel data for each continuous pixel data.
  • the rearrangement unit provides an image processing apparatus that rearranges the pixel data included in the continuous pixel data based on the similarity.
  • the similarity calculation unit provides an image processing device that calculates the similarity based on the Hamming distance between adjacent pixel data included in the continuous pixel data.
  • the rearrangement unit rearranges the pixel data included in the continuous pixel data based on the first and second similarity, and the continuous pixel data includes a plurality of sets of the adjacent pixel data.
  • the first similarity corresponds to the sum of the humming distances between the plurality of sets of the adjacent pixel data
  • the second similarity corresponds to the pixel data of the continuous pixel data corresponding to the first similarity.
  • An image processing apparatus is provided that corresponds to the sum of the humming distances between the plurality of sets of the adjacent pixel data in the case of rearrangement.
  • each of the pixel data is composed of a plurality of bits
  • the similarity calculation unit provides an image processing apparatus that calculates the Hamming distance using the high-order bits of each of the pixel data.
  • the image processing apparatus provides that the first processing unit includes a determination unit, and the determination unit determines the continuous pixel data so that the sorted pixel data is not rearranged again. Will be done.
  • a second processing unit is further provided, the second processing unit has a return unit, the first processing unit has an order acquisition unit, and the order acquisition unit acquires order data to obtain a second.
  • the order data output to the two processing units is data indicating the order of each of the pixel data of the continuous pixel data in the state before the pixel data is rearranged, and the return unit is based on the order data.
  • An image processing apparatus is provided that restores the order of each of the pixel data of the continuous pixel data.
  • an image processing unit is further provided, and each pixel data of the image data flows in the order of the first processing unit, the image processing unit, and the second processing unit, and the image processing unit is connected to the pixel data.
  • An image processing apparatus is provided that performs predetermined processing.
  • it is an image processing method for processing image data, comprising an input step and an output step.
  • input pixel data is input to a first processing unit
  • output step a first Output pixel data is output from the processing unit
  • the input pixel data is composed of continuous pixel data which is continuous N (N ⁇ 3) pixel data
  • the output pixel data is included in the continuous pixel data.
  • An image processing method is provided which is configured by rearranging the pixel data included in the continuous pixel data based on the similarity of the pixel data.
  • it is a computer program that causes a computer to execute an image processing method for processing image data, comprising an input step and an output step, and in the input step, input pixel data is input to the first processing unit.
  • output pixel data is output from the first processing unit, and the input pixel data is composed of continuous pixel data which is continuous N (N ⁇ 3) pixel data, and the output pixel data is composed of continuous pixel data.
  • a computer program configured by rearranging the pixel data included in the continuous pixel data based on the similarity of the pixel data included in the continuous pixel data.
  • FIG. 4A shows an example of a grayscale image of only white and black
  • FIG. 4B schematically shows how the grayscale shown in FIG. 4A is processed by the rearrangement unit 1C.
  • 5A to 5H show how the image processing apparatus according to the embodiment sequentially performs the rearrangement processing on the pixel data included in the continuous pixel data Gp. The control flow of the image processing apparatus according to the embodiment is shown.
  • FIG. 9A to 9F show how the image processing apparatus according to the first modification sequentially performs the rearrangement processing on the pixel data included in the continuous pixel data Gp. The control flow of the image processing apparatus according to the first modification is shown. It is a functional block diagram of the image processing apparatus 100A and the image processing apparatus 100B which concerns on modification 2. FIG. It is a functional block diagram of the image processing apparatus 100A and the image processing apparatus 100B which concerns on modification 3. FIG.
  • the image processing apparatus 100 of the present embodiment includes a first processing unit 1, a second processing unit 2, and an image processing unit 3.
  • Each of the above components may be realized by software or hardware.
  • various functions can be realized by the CPU executing a computer program.
  • the program may be stored in a built-in storage unit or may be stored in a computer-readable non-temporary recording medium. Further, the program stored in the external storage unit may be read out and realized by so-called cloud computing.
  • it can be realized by various circuits such as ASIC, FPGA, or DRP.
  • various information and concepts including the information are dealt with, and these are represented by high and low signal values as a bit set of binary numbers composed of 0 or 1, and are represented by the above software or hardware. Communication and calculation can be executed depending on the mode of.
  • the image processing device 100 and the display unit 20 are mounted on an image display device connected to, for example, a personal computer.
  • the image processing device 100 may be mounted on a personal computer, for example, and the display unit 20 may be mounted on the image display device.
  • the image processing device 100 is configured to acquire image data from the image data source 10, perform image processing (for example, gradation correction) on the image data, and output the image processed image data to the display unit 20. ing.
  • the image data acquired by the image processing device 100 from the image data source 10 includes input pixel data.
  • the input pixel data is composed of a plurality of pixel data.
  • the pixel data includes data related to gradation values and is data having an arbitrary number of bits.
  • the image processing unit 3 of the image processing device 100 sequentially processes pixel data.
  • the processing executed by the first processing unit 1 and the second processing unit 2 suppresses the toggle rate in the image processing unit 3 and consumes the image processing unit 3 while avoiding damage to the image data. Power (logic power) can be suppressed.
  • the configurations of the first processing unit 1 and the second processing unit 2 will be described in detail later.
  • the image data generation source 10 generates a video signal which is a sequence of pixel data including luminance information, color information, and the like, and is not particularly limited.
  • the image data source 10 is, for example, a personal computer, a vision sensor (camera), a moving image reproducing device, or the like.
  • the image data generation source 10 and the image processing device 100 are shown as separate bodies in FIG. 1, the present invention is not limited to this form, and may be the same body.
  • the display unit 20 is a medium that displays the image data as an image based on each pixel data.
  • the display unit 20 is, for example, an LCD monitor, a CRT monitor, an organic EL monitor, or the like.
  • the first processing unit 1 is configured so that input pixel data is input and output pixel data is output.
  • the input pixel data is composed of continuous pixel data Gp which is continuous N pixel data (N ⁇ 3).
  • the output pixel data is data that has undergone reclassification processing based on the similarity of the pixel data included in the continuous pixel data Gp.
  • the degree of similarity changes based on the pixel data included in the continuous pixel data Gp.
  • the rearrangement process is a process of rearranging the order of pixel data included in the continuous pixel data Gp.
  • the first processing unit 1 has a similarity calculation unit 1A, a position determination unit 1B, a rearrangement unit 1C, and an order acquisition unit 1D.
  • the first processing unit 1 outputs the pixel data that has undergone the rearrangement processing to the image processing unit 3.
  • the pixel data that has undergone the rearrangement processing corresponds to the output pixel data.
  • the position determination unit 1B corresponds to the determination unit.
  • the similarity calculation unit 1A calculates the similarity of the pixel data included in the continuous pixel data Gp for each continuous pixel data Gp.
  • the degree of similarity is an index showing how much the bit data of the pixel data match. For example, in the case of 3-bit data, the 3-bit data (1,1,1) is more similar to the 3-bit data (1,1,0) than the 3-bit data (0,0,0). It can be said that it is doing. This is because the former has all the bit data different, while the latter has the same two bit data.
  • the similarity corresponds to the Hamming distance. Specifically, the similarity is based on the Hamming distance between adjacent pixel data. That is, the similarity calculation unit 1A calculates the Hamming distance (similarity) between adjacent pixel data included in the continuous pixel data Gp.
  • the Hamming distance corresponds to the number of replacements required when transforming arbitrary bit data into another bit data.
  • the Hamming distance between the 3-bit data (1,1,1) and the 3-bit data (0,0,0) is 3 because it is necessary to replace all (3) bit data. is there.
  • the Hamming distance between the 3-bit data (1,1,1) and the 3-bit data (1,1,0) is 1 because only the lowest bit data needs to be replaced.
  • the larger the Hamming distance the more similar the adjacent pixel data is, and the smaller the Hamming distance, the more similar the adjacent pixel data.
  • the number of pixel data included in the continuous pixel data Gp is 3.
  • the number of pixel data to be referred to increases, so there is a high possibility that the toggle rate will decrease due to sorting.
  • the amount of calculation of the Hamming distance increases, and as a result, the amount of increase in power consumption accompanying the increase in the amount of calculation of the Hamming distance becomes a toggle rate.
  • the number of pixel data included in the continuous pixel data Gp does not have to be large. Based on this, in the embodiment, the number of pixel data included in the continuous pixel data Gp is set to 3.
  • the continuous pixel data Gp has reference pixel data a, first rearranged pixel data b, and second rearranged pixel data c in order from the beginning.
  • the reference pixel data a is the first pixel data and is not a target for sorting. That is, the reference pixel data a is fixed at the beginning. This is because if the reference pixel data a is not fixed, the toggle rate may be increased in relation to the last pixel data of the continuous pixel data Gp that has been subjected to the rearrangement processing earlier. That is, even though the toggle rate of the continuous pixel data Gp that has been subjected to the rearrangement processing earlier is once lowered, the toggle rate may increase due to the subsequent rearrangement processing.
  • the first rearranged pixel data b and the second rearranged pixel data c are the second and third pixel data and are the targets of sorting.
  • the similarity calculation unit 1A calculates the total Hamming distance D0 of the continuous pixel data Gp in the state before sorting and the total Hamming distance D1 of the continuous pixel data Gp in the state after sorting. To do.
  • the total Hamming distance D0 corresponds to the first similarity
  • the total Hamming distance D1 corresponds to the second similarity.
  • the total Hamming distance D0 of the continuous pixel data Gp in the state before sorting is d (a, b) + d (b, c).
  • d (a, b) is the Hamming distance of the reference pixel data a and the first rearranged pixel data b, which are adjacent pixel data.
  • d (b, c) is the Hamming distance of the first permuted pixel data b and the second permuted pixel data c, which are adjacent pixel data.
  • the total Hamming distance D1 of the continuous pixel data Gp in the rearranged state is d (a, c) + d (c, b).
  • d (a, c) is the Hamming distance of the reference pixel data a and the second rearranged pixel data c, which are adjacent pixel data.
  • d (c, b) is the Hamming distance of the second permuted pixel data c and the first permuted pixel data b, which are adjacent pixel data. Note that d (b, c) and d (c, b) are equal.
  • the total humming distance is smaller in the arrangement of the pixel data after sorting, so it is considered that the toggle rate will decrease by sorting. Be done. In other words, in this case, there is a merit of sorting.
  • the value obtained by subtracting the total Hamming distance D1 from the total Hamming distance D0 is 0 or less, the arrangement of the pixel data after sorting does not change the total Hamming distance, or rather the total Hamming distance is It gets bigger. In this case, it is considered that the toggle rate does not change or the toggle rate increases. In other words, in this case, there is no merit of sorting because the toggle rate does not decrease even if the sorting is performed.
  • the position determination unit 1B determines the start position of the continuous pixel data. As shown in FIGS. 5A to 5H, the position of the head of the continuous pixel data Gp moves sequentially. Here, the method of moving the head position of the continuous pixel data Gp is different depending on whether the rearrangement unit 1C determines that the continuous pixel data is to be rearranged or not. That is, the position determination unit 1B determines the start position of the continuous pixel data according to the determination result of the rearrangement unit 1C.
  • the rearrangement unit 1C has a function of comparing the magnitude relations related to the degree of similarity. In the embodiment, the rearrangement unit 1C compares the total Hamming distance D0 and the total Hamming distance D1. Further, the rearrangement unit 1C has a function of rearranging continuous pixel data Gp. The rearrangement unit 1C rearranges the pixel data included in the continuous pixel data Gp based on the degree of similarity (sum of Hamming distances D0 and D1). In other words, the rearrangement unit 1C rearranges the pixel data included in the continuous pixel data Gp based on the magnitude relationship between the total Hamming distance D0 and the total Hamming distance D1.
  • the rearrangement unit 1C rearranges the pixel data when the total Hamming distance becomes small by rearranging the pixel data. That is, when the pixel data is 1-bit monochrome pixel data, the rearrangement unit 1C rearranges the pixel data when the total Hamming distance D0 is larger than the total Hamming distance D1. In this way, by rearranging the pixel data in advance before the pixel data enters the image processing unit 3, the toggle rate in the image processing unit 3 decreases. As a result, the image processing device 100 according to the embodiment can suppress the power consumption (logic power) in the image processing unit 3.
  • the rearrangement unit 1C does not necessarily have to sort the pixel data. That is, when the difference between the total Hamming distance D0 and the total Hamming distance D1 is larger than a predetermined value (corresponding to the threshold value K in step S3 of FIG. 6), the pixel data may be rearranged. .. The details of the configuration and operation related to the sorting unit 1C will be described in "3 Sorting process" in the latter part.
  • the order acquisition unit 1D acquires order data.
  • the order data is data indicating the order (position) of each pixel data in the state before and after sorting.
  • the order data is used to return the order (position) of the rearranged pixel data to the original order.
  • the order acquisition unit 1D outputs the acquired order data to the second processing unit 2.
  • the second processing unit 2 has a return unit 2A.
  • the pixel data that has been sorted by the sorting unit 1C and the order data acquired by the order acquisition unit 1D are input.
  • the first processing unit 1 performs the processing of lowering the toggle rate in the image processing unit 3, but in that case, the order of the pixel data has changed. If the pixel data is output to the display unit 20 as it is, an appropriate image will not be displayed on the display unit 20. Therefore, the return unit 2A restores the order (position) of the pixel data based on the order data. Then, the pixel data restored by the return unit 2A is output to the display unit 20. As a result, the desired image is displayed on the display unit 20.
  • the image processing unit 3 executes a predetermined image processing on the image data.
  • the predetermined image processing is, for example, gamma correction, gradation correction, luminance correction, or a combination thereof.
  • the toggle rate in the image processing unit 3 decreases, and the power consumption (logic power) of the image processing unit 3 decreases.
  • some image processing, such as filter processing depends on the arrangement of pixels for the processing result.
  • the predetermined image processing performed by the image processing unit 3 is not particularly limited as long as the processing result does not depend on the arrangement of pixels.
  • Sorting process An example of the sorting process will be described in the sorting unit 1C based on FIGS. 4A to 5H.
  • the image data is composed of 10 pixel data.
  • each pixel data (input pixel data) is assigned an order from top to bottom in column 1 and then from top to bottom in column 2.
  • the method of assigning the order is not particularly limited, and various methods can be adopted.
  • each pixel data may be assigned an order in the row direction (horizontal direction).
  • the pixel data Dt1 to which the order is assigned is rearranged by the rearrangement unit 1C and converted into the pixel data Dt2.
  • the process of converting pixel data from Dt1 to pixel data Dt2 will be described.
  • the rearrangement processing is performed on the pixel data (continuous pixel data) from the first to the third.
  • the total Hamming distance becomes small. Therefore, the rearrangement unit 1C rearranges the continuous pixel data shown in FIG. 5A in the arrangement shown in FIG. 5B.
  • the next continuous pixel data Gp is the third to fifth pixel data from the beginning. That is, the position determination unit 1B advances the start position of the continuous pixel data in binary.
  • the next continuous pixel data is not the second to fourth pixel data from the beginning. Assuming that the pixel data is from the second to the fourth from the beginning, there is a possibility that the sorted pixel data will be rearranged again. That is, the third pixel data from the beginning is initially the second pixel data from the beginning, and is the data that has already been sorted.
  • the arrangement of each pixel data is returned to the initial state. Therefore, if the third pixel data is further rearranged, the process for returning to the initial state is performed. Will increase.
  • the pixel data that has been rearranged once is not rearranged. That is, the position determination unit 1B determines the continuous pixel data so that the rearranged pixel data is not rearranged again, and when the number of continuous pixel data Gp is 3, the head of the continuous pixel data Gp Advance the position by 2. In generalization, when the number of continuous pixel data is N, the position determination unit 1B advances the head position of the continuous pixel data Gp by N-1.
  • the position determination unit 1B advances the start position of the continuous pixel data by 1 when the continuous pixel data Gp is not rearranged. In generalization, the position determination unit 1B advances the head position of the continuous pixel data Gp by 1 when the number of continuous pixel data is N.
  • the continuous pixel data shown in FIG. 5D is rearranged in the arrangement shown in FIG. 5E.
  • the next continuous pixel data is the sixth to eighth pixel data from the beginning, as shown in FIG. 5F. That is, the head position of the continuous pixel data advances by two.
  • the continuous pixel data Gp shown in FIG. 5F is rearranged, so that the data is not rearranged.
  • the next continuous pixel data Gp is the 7th to 9th pixel data from the beginning. That is, the head position of the continuous pixel data Gp advances by one.
  • the total Hamming distance becomes small. Therefore, the continuous pixel data Gp shown in FIG. 5G is rearranged in the arrangement shown in FIG. 5H.
  • the arrangement of the pixel data shown in FIG. 5A is converted into the arrangement of the pixel data shown in FIG. 5H (the arrangement of the pixel data Dt2 shown in FIG. 4B).
  • the position determination unit 1B assigns a position to all pixel data and sets the position m of the first pixel data of the continuous pixel data to 0 (step S1).
  • positions from 0 to M are assigned to each pixel data, and M is an arbitrary integer of 3 or more.
  • M is a position assigned to the last pixel data in all pixel data. For example, when all pixel data is in the form shown in FIG. 4A, M is 9.
  • the similarity calculation unit 1A calculates the total Hamming distance D0 of the continuous pixel data Gp in the state before sorting and the total Hamming distance D1 of the continuous pixel data in the state after sorting (step S2). ..
  • the rearrangement unit 1C determines whether or not the value obtained by subtracting the total Hamming distance D1 from the total Hamming distance D0 is larger than the threshold value K (step S3).
  • the threshold value K is, for example, 0 when the pixel data is 1 bit as described with reference to FIGS. 4A to 5H. Further, when the pixel data has a plurality of bits, an integer larger than 0 can be adopted.
  • step S4 If the value obtained by subtracting the total Hamming distance D1 from the total Hamming distance D0 is larger than the threshold value K, the process proceeds to step S4.
  • the rearrangement unit 1C rearranges the order (position) of the pixel data so that the Hamming distance becomes small (step S4).
  • the position determination unit 1B adds 2 to the position m of the first pixel data of the continuous pixel data Gp (step S5).
  • the number added to the position m in step S5 is N-1.
  • step S3 if the value obtained by subtracting the total Hamming distance D1 from the total Hamming distance D0 is equal to or less than the threshold value K, the process proceeds to step S7. Then, the position determination unit 1B adds 1 to the position m of the first pixel data of the continuous pixel data Gp (step S7).
  • the position determination unit 1B determines whether or not the value obtained by adding 2 to the position m is M or more (step S6). In step S6, it is determined whether or not the continuous pixel data Gp has reached the end of all pixel data. If the value obtained by adding 2 to the position m is not M or more, the process returns to step S2, and the above-mentioned step S3 and the like are repeated. If the value obtained by adding 2 to the position m is M or more, this flowchart ends.
  • step S3 The significance of setting the threshold value K in step S3 described above will be described. Assuming that the pixel data can be rearranged again, as a result of the pixel data being rearranged multiple times, the arrangement of all pixel data after the rearrangement processing can be similar regardless of whether the threshold value K is high or low. There is sex. However, in the embodiment, as described above, the sorted pixel data cannot be sorted again. Therefore, the arrangement of all pixel data after the reordering process may tend to be different depending on whether the threshold value K is high or low.
  • the threshold value K is set high, for example, only the pixel data having a large effect of lowering the toggle rate will be sorted, and the pixel data having a small effect of lowering the toggle rate will not be sorted. Setting the threshold value K higher increases the tendency as described below. That is, since there is a possibility that there is pixel data that effectively lowers the toggle rate in the continuous pixel data Gr that is reserved next, the pixel data of the continuous pixel data Gr that is currently being sorted is arranged. There is a growing tendency to keep it unchanged. In other words, there is a growing tendency to expect the effect of lowering the toggle rate of the next continuous pixel data Gr.
  • the threshold value K is set low, for example, both the pixel data having a large effect of lowering the toggle rate and the pixel data having a small effect of lowering the toggle rate can be sorted.
  • Setting the threshold value K low increases the tendency as described below. That is, there is a possibility that there is pixel data that lowers the toggle rate more effectively in the continuous pixel data Gr that is reserved next, but the pixel data of the continuous pixel data Gr that is currently being sorted is used. If you rearrange it, the toggle rate is expected to decrease not a little. Therefore, there is an increasing tendency to sort the pixel data of the continuous pixel data Gr, which is the target of sorting at present. In other words, there is an increasing tendency to determine the effect of lowering the toggle rate of continuous pixel data Gr early.
  • the embodiment may have the following form.
  • the number of continuous pixel data is 3, but in the modification 1, the number of continuous pixel data is 4.
  • the total Hamming distance may be rather large as a result of rearranging the pixel data. The reason is that the continuous pixel data is, in order from the beginning, the reference pixel data (first pixel data), the first rearranged pixel data (second pixel data), and the second rearranged pixel data (third). This is because it is composed of pixel data), and the continuous pixel data does not have the reference pixel data at the end.
  • the Hamming distance is small in relation to the first to third pixel data, but this total Hamming distance is The Hamming distance in relation to the fourth pixel data is not reflected. Therefore, as a result of rearranging the pixel data, the Hamming distance may be rather large depending on the number of bits of the pixel data, the threshold K, and the high-order bits of the pixel data to be calculated, which will be described later.
  • the number of continuous pixel data is large.
  • the amount of calculation of the Hamming distance in the reordering process increases. Therefore, when the number of continuous pixel data is 4, as in the first modification, the amount of calculation of the Hamming distance in the rearrangement processing is increased while realizing that the Hamming distance is more reliably reduced by the rearrangement processing. Can be suppressed.
  • the continuous pixel data Gp includes the first reference pixel data a, the first permuted pixel data b, the second permuted pixel data c, and the second reference pixel data d in order from the beginning. And.
  • the first reference pixel data a and the second reference pixel data d are fixed.
  • the pixel data to be rearranged are the first rearranged pixel data b and the second rearranged pixel data c.
  • the total Hamming distance D0 of the continuous pixel data Gp in the state before sorting and the total Hamming distance D1 of the continuous pixel data Gp in the state after sorting are as follows.
  • the total Hamming distance D0 of the continuous pixel data Gp in the state before sorting is d (a, b) + d (b, c) + d (c, d).
  • d (a, b) is the Hamming distance of the first reference pixel data a and the first rearranged pixel data b, which are adjacent pixel data.
  • d (b, c) is the Hamming distance of the first permuted pixel data b and the second permuted pixel data c, which are adjacent pixel data.
  • d (c, d) is the Hamming distance of the second rearranged pixel data c and the second reference pixel data d, which are adjacent pixel data.
  • the total Hamming distance D1 of the continuous pixel data Gp in the rearranged state is d (a, c) + d (c, b) + d (b, d).
  • d (a, c) is the Hamming distance of the first reference pixel data a and the second rearranged pixel data c, which are adjacent pixel data.
  • d (c, b) is the Hamming distance of the second permuted pixel data c and the first permuted pixel data b, which are adjacent pixel data.
  • d (b, d) is the Hamming distance of the first rearranged pixel data b and the second reference pixel data d, which are adjacent pixel data. Note that d (b, c) and d (c, b) are equal.
  • the rearrangement process is sequentially performed in the same manner as in the embodiment.
  • the rearrangement processing is performed on the pixel data (continuous pixel data Gp) from the first to the fourth pixel data.
  • the continuous pixel data Gp shown in FIG. 9A is rearranged in the arrangement shown in FIG. 9B.
  • the next continuous pixel data Gp is the pixel data from the 4th to the 7th from the beginning. That is, the head position of the continuous pixel data advances by 3.
  • the continuous pixel data Gp shown in FIG. 9C is rearranged in the arrangement shown in FIG. 9D.
  • the following processes of FIGS. 9E and 9F are the same as the processes of FIGS. 9A and 9B and the processes of FIGS. 9C and 9D.
  • step S5 the position determination unit 1B adds 3 to the position m of the first pixel data of the continuous pixel data Gp. Further, in step S6, the position determining unit 1B determines whether or not the value obtained by adding 3 to the position m is M or more.
  • FIG. 10 is the same as FIG.
  • Number of continuous pixel data ⁇ 5 In the embodiment, the number of continuous pixel data is 3, and in the modification 1, the number of continuous pixel data is 4, but the number of continuous pixel data may be 5 or more. Even when the number of continuous pixel data is 5 or more, the basic configuration is the same as that of the first modification. That is, the first pixel data is the first reference pixel data, and the last pixel data is the second reference pixel data. Further, all the pixel data between the first pixel data and the last pixel data are the rearranged pixel data to be rearranged.
  • the number of continuous pixel data is 5 or more, a plurality of pairs of rearranged pixel data to be rearranged are generated, so that a plurality of total Hamming distance D1s to be calculated are generated. Therefore, when the number of continuous pixel data is 5 or more, it is preferable to pay attention to whether or not the power consumption is suppressed as a result of performing the rearrangement processing.
  • the image processing apparatus 100 includes both the first processing unit 1 and the second processing unit 2.
  • the image processing device 100A includes the first processing unit 1
  • the image processing device 100B includes the second processing unit 2.
  • the image processing device 100B also includes an image processing unit 3. That is, the first embodiment of the third modification is a form in which the pixel data (output pixel data) on which the rearrangement processing is performed is exchanged between independent image processing devices.
  • the pixel data and the order data obtained by the rearrangement processing performed by the image processing device 100A are output from the image processing device 100A to the image processing device 100B. Then, after the pixel data is subjected to predetermined image processing by the image processing unit 3, the order is restored by the returning unit 2A. Even in the first embodiment of the third modification, the same effect as that of the embodiment (the effect of suppressing the logic power in the image processing unit 3) can be obtained. Further, in the form shown in FIG. 11, the toggle rate of the transmission line Ps (see the region of the broken line of the quadrangle in FIG. 11) also decreases, and the power consumption of the transmission line Ps also decreases. In addition, switching noise in the transmission line Ps is also reduced.
  • the transmission line Ps includes an I / O terminal (input / output terminal) that connects the image processing device 100A and the image processing device 100B.
  • the image processing unit 3 may be independent of the image processing device 100A having the first processing unit 1 and the image processing device 100B having the second processing unit 2.
  • the pixel data that has been subjected to the rearrangement processing by the image processing device 100A is output from the image processing device 100A to the image processing unit 3.
  • the pixel data output to the image processing unit 3 is output from the image processing unit 3 to the image processing device 100B after the image processing unit 3 performs predetermined image processing.
  • the order of the pixel data output to the image processing device 100B is restored by the return unit 2A.
  • the toggle rate of the transmission line Ps1 and the transmission line Ps2 also decreases, and the power consumption of the transmission line Ps1 and the transmission line Ps2 also decreases.
  • switching noise in the transmission lines Ps1 and Ps2 is also reduced.
  • the transmission line Ps1 includes an I / O terminal (input / output terminal) for connecting the image processing device 100A and the image processing unit 3, and the transmission line Ps2 connects the image processing unit 3 and the image processing device 100B. Includes I / O terminals (input / output terminals).
  • the image processing device 100B includes the image processing unit 3, but the image processing device 100A may include the image processing unit 3 instead of the image processing device 100B (not shown). Also in this form 3, the same effect as that described in form 1 of the above-described modification 3 can be obtained. That is, the present embodiment 3 has the same effect as that of the embodiment (the effect of suppressing the logic power in the image processing unit 3). Further, in the third embodiment, the toggle rate and power consumption in the transmission line (I / O terminal) connecting the image processing device 100A and the image processing device 100B can be reduced, and the switching noise in the transmission line can be reduced.
  • the image processing device 100A and the image processing device 100B may each include an image processing unit 3 (not shown).
  • the pixel data is output from the first processing unit 1 of the image processing device 100A to the image processing unit 3 of the image processing device 100A.
  • the pixel data output to the image processing unit 3 is output from the image processing unit 3 of the image processing device 100B to the second processing unit 2 of the image processing device 100B.
  • the same effect as that described in form 1 of the above-described modification 3 can be obtained. That is, the fourth embodiment has the same effect as that of the embodiment (the effect of suppressing the logic power in the image processing unit 3 of the image processing device 100A and the image processing device 100B).
  • the toggle rate and power consumption in the transmission line (I / O terminal) connecting the image processing device 100A and the image processing device 100B can be reduced, and the switching noise in the transmission line can be reduced.
  • the pixel data passes through the image processing unit 3, but the present invention is not limited to this. That is, the image processing device 100A and the image processing device 100B do not include the image processing unit 3, and the pixel data does not go through the image processing unit 3 from the first processing unit 1 of the image processing device 100A to the second image processing device 100B. Even when the data is output to the processing unit 2, the following effects can be obtained. That is, in the fifth embodiment, the toggle rate and power consumption in the transmission line (I / O terminal) connecting the image processing device 100A and the image processing device 100B can be reduced, and the switching noise in the transmission line can be reduced.
  • a total of 8 bits may be calculated, but the amount of calculation increases.
  • the image processing unit 3 performs predetermined processing, processing that affects the high-order bits of the pixel data, that is, processing that significantly changes the gradation of the pixels is performed. The chances are quite low. Conversely, there is a high possibility that processing that affects the lower bits of the pixel data will be performed. Therefore, even if the Hamming distance is calculated including the lower bits and the pixel data is rearranged, the lower bits change in the image processing unit 3, and as a result, the toggle rate of the lower bits is increased. It may not go down.
  • the following effect can be obtained by calculating the Hamming distance (total Hamming distance) for the high-order bits of the pixel data as in the modified example 4. (1) The amount of calculation can be reduced. (2) It is possible to suppress the influence on the total Hamming distance of the lower bits having a limited effect of lowering the toggle rate, and to increase the influence on the total Hamming distance of the upper bits having a large effect of lowering the toggle rate. As a result, the toggle rate is effectively reduced.
  • the target bit in the modification 4 can be, for example, a bit of the upper 40% or more and 60% or less, or a bit of the upper 50% or more.
  • Modification 5 Forms other than Hamming distance
  • the similarity corresponds to the Hamming distance, but the similarity is not limited to this.
  • the similarity can correspond to formats other than the Hamming distance. For example, a value (output value of the EXOR circuit) indicating a match / mismatch between bits of adjacent pixel data can be adopted.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

画像データの劣化を避けながら、トグルレートを下げることができる、画像処理装置、画像処理方法及びコンピュータプログラムを提供することを目的としている。 画像データを処理する画像処理装置であって、第1処理部を備え、第1処理部は、入力画素データが入力され、且つ、出力画素データを出力する、ように構成され、前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、画像処理装置が提供される。

Description

画像処理装置、画像処理方法及びコンピュータプログラム
 本発明は、画像処理装置、画像処理方法及びコンピュータプログラムに関する。
 様々な分野において画像処理を実行する画像処理装置が用いられている。例えば、画像を表示する画像表示装置(例えばLCDディスプレイ等)は、画像処理装置を内蔵する。画像処理装置が取り扱うデータは、画像を構成する画素(ピクセル)に係る画素データ(ピクセルデータ)である。1ピクセルに対応する画素データは、例えば、輝度値を表す単数又は複数ビットの情報量を有する。画像データがモノクロである場合には、各画素データは例えば8ビット(0~255)のデータであり、画像データがRGBカラーである場合には、各画素データは例えば24ビット(RGBそれぞれに対して0~255)のデータである。
 近年、画像処理装置は、様々な画像処理回路(FPGA及びASIC等を含む)や通信系統等を備えており、より複雑な構成となってきている。特に入力される画像データによっては処理系において高い電力を消費することがある。消費電力が増大することで発熱量も増えるため、画像処理装置の温度上昇が大きな問題となっている。この問題を解決するため、例えば画像処理装置に放熱フィン等を搭載することにより、画像処理装置からの放熱効果を高める等といった対策が行われる。しかし、このような対策は、例えば、コストの増加等を招来する。
 ここで、トグルレートを下げて消費電力を抑制する情報処理装置が提案されている(例えば、特許文献1参照)。特許文献1の情報処理装置は、データ間のハミング距離に基づいて、各データの下位ビットを反転化させ、トグルレートを下げるように構成されている。
特開2014-116750号公報
 特許文献1に記載の情報処理装置は各データの下位ビットを反転させる構成であるので、各データ自体に変更が加えられることになる。このため、特許文献1に記載の情報処理装置を画像処理に適用してトグルレートを下げると、画素データ自体に変更が加えられ、画像データが劣化する可能性がある。
 本発明はこのような事情に鑑みてなされたものであり、画像データの劣化を避けながら、トグルレートを下げることができる、画像処理装置、画像処理方法及びコンピュータプログラムを提供することを目的としている。
 本発明によれば、画像データを処理する画像処理装置であって、第1処理部を備え、第1処理部は、入力画素データが入力され、且つ、出力画素データを出力する、ように構成され、前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、画像処理装置が提供される。
 本発明では、画像処理装置が、入力画素データに含まれる画素データの類似度に基づいて、入力画素データの画素データが並べ替えられた出力画素データを出力する。ここで、出力画素データは画素データの類似度に基づいて並べ替えられたデータであるので、出力画素データが画像処理なされるときにおけるトグルレートが下がる。また、出力画素データは、入力画素データの画素データが並べ替えられて構成されており、各画素データ自体は保持されているので、画像データが劣化することが避けられる。
 以下、本発明の種々の実施形態を例示する。以下に示す実施形態は互いに組み合わせ可能である。
 好ましくは、第1処理部は、類似度算出部と、並替部とを備え、前記類似度算出部は、前記連続画素データ毎に、前記連続画素データに含まれる前記画素データの前記類似度を算出し、前記並替部は、前記類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替える、画像処理装置が提供される。
 好ましくは、前記類似度算出部は、前記連続画素データに含まれる隣接する前記画素データ間のハミング距離に基づいて、前記類似度を算出する、画像処理装置が提供される。
 好ましくは、前記並替部は、第1及び第2類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替え、前記連続画素データは、前記隣接する前記画素データを複数組有し、第1類似度は、前記複数組の前記隣接する前記画素データ間のハミング距離の和に対応し、第2類似度は、第1類似度に対応する前記連続画素データの前記画素データを並べ替えた場合における、前記複数組の前記隣接する前記画素データ間のハミング距離の和に対応する、画像処理装置が提供される。
 好ましくは、各前記画素データは、複数ビットから構成され、前記類似度算出部は、各前記画素データの上位ビットを用いて、前記ハミング距離を算出する、画像処理装置が提供される。
 好ましくは、第1処理部は、決定部を備え、前記決定部は、並べ替え済みの前記画素データが再び並べ替えられないように、前記連続画素データを決定している、画像処理装置が提供される。
 好ましくは、第2処理部を更に備え、第2処理部は、戻し部を有し、第1処理部は、順番取得部を有し、前記順番取得部は、順番データを取得して、第2処理部に出力し、前記順番データは、前記画素データを並べ替える前の状態における前記連続画素データの各前記画素データの順番を示すデータであり、前記戻し部は、前記順番データに基づいて、前記連続画素データの各前記画素データの順番を元に戻す、画像処理装置が提供される。
 好ましくは、画像処理部を更に備え、前記画像データの各前記画素データは、第1処理部、前記画像処理部、及び第2処理部の順番に流れ、前記画像処理部は、前記画素データに予め定められた処理を行う、画像処理装置が提供される。
 好ましくは、画像データを処理する画像処理方法であって、入力ステップと、出力ステップと、を備え、前記入力ステップでは、入力画素データを第1処理部に入力し、前記出力ステップでは、第1処理部から出力画素データを出力し、前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、画像処理方法が提供される。
 好ましくは、コンピュータに、画像データを処理する画像処理方法を実行させるコンピュータプログラムであって、入力ステップと、出力ステップと、を備え、前記入力ステップでは、入力画素データを第1処理部に入力し、前記出力ステップでは、第1処理部から出力画素データを出力し、前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、コンピュータプログラムが提供される。
実施形態に係る画像処理装置100の機能ブロック図である。 実施形態に係る類似度算出部1Aと並替部1Cの機能説明図である。 実施形態における、並べ替える前後のハミング距離の説明図である。 図4Aは白と黒のみのグレイスケール画像の一例を示し、図4Bは図4Aに示すグレイスケールが並替部1Cで処理される様子を模式的に示している。 図5A~図5Hは、実施形態に係る画像処理装置が、連続画素データGpに含まれる画素データに、逐次、並替処理を実施する様子を示している。 実施形態に係る画像処理装置の制御フローを示している。 変形例1に係る類似度算出部1Aと並替部1Cの機能説明図である。 変形例1における、並べ替える前後のハミング距離の説明図である。 図9A~図9Fは、変形例1に係る画像処理装置が、連続画素データGpに含まれる画素データに、逐次、並替処理を実施する様子を示している。 変形例1に係る画像処理装置の制御フローを示している。 変形例2に係る画像処理装置100A及び画像処理装置100Bの機能ブロック図である。 変形例3に係る画像処理装置100A及び画像処理装置100Bの機能ブロック図である。
 以下、図面を用いて本発明の実施形態について説明する。以下に示す実施形態中で示した各種特徴事項は、互いに組み合わせ可能である。また、各特徴事項について独立して発明が成立する。
1 実施形態
1-1 全体構成説明
 図1及び図2に基づいて、実施形態の画像処理装置100の全体構成について説明する。本実施形態の画像処理装置100は、図1に示すように、第1処理部1と、第2処理部2と、画像処理部3とを備えている。
 上記の各構成要素は、ソフトウェアによって実現してもよく、ハードウェアによって実現してもよい。ソフトウェアによって実現する場合、CPUがコンピュータプログラムを実行することによって各種機能を実現することができる。プログラムは、内蔵の記憶部に格納してもよく、コンピュータ読み取り可能な非一時的な記録媒体に格納してもよい。また、外部の記憶部に格納されたプログラムを読み出し、いわゆるクラウドコンピューティングにより実現してもよい。ハードウェアによって実現する場合、ASIC、FPGA、又はDRPなどの種々の回路によって実現することができる。本実施形態においては、様々な情報やこれを包含する概念を取り扱うが、これらは、0又は1で構成される2進数のビット集合体として信号値の高低によって表され、上記のソフトウェア又はハードウェアの態様によって通信や演算が実行され得るものである。
 画像処理装置100及び表示部20は、例えばパーソナル・コンピュータ等に接続される画像表示装置に搭載される。なお、画像処理装置100が例えばパーソナル・コンピュータに搭載され、表示部20が画像表示装置に搭載されていてもよい。画像処理装置100は、画像データ発生源10から画像データを取得し、当該画像データを画像処理(例えば、階調補正)し、画像処理された画像データを表示部20に出力するように構成されている。画像処理装置100が画像データ発生源10から取得する画像データは入力画素データを含む。入力画素データは複数の画素データから構成されている。画素データは、階調値に関するデータを含み、任意のビット数のデータである。実施形態では、画像データが1ビットのモノクロ画素データである場合を一例に説明するが、実施形態は画像データがRGBカラーである場合にも適用可能である。画像処理装置100の画像処理部3は、逐次、画素データを処理する。本実施形態では、第1処理部1及び第2処理部2で実行される処理により、画像データが損なわれることを避けながら、画像処理部3におけるトグルレートを抑制して画像処理部3における消費電力(ロジック電力)を抑制することができる。第1処理部1及び第2処理部2の構成は、後段で詳しく説明する。
 画像データ発生源10は、輝度情報や色彩情報等を含むピクセルデータのシーケンスであるビデオ信号を発生するものであり、特に限定されるものではない。画像データ発生源10は、例えばパーソナル・コンピュータ、ビジョンセンサ(カメラ)、動画再生装置等である。図1では画像データ発生源10と画像処理装置100とが別体として示されているが、この形態に限定されるものではなく、同体であってもよい。
 表示部20は、画像処理装置100によって画像処理された画像データが入力されると、各画素データに基づいてこれを映像として表示する媒体である。表示部20は、例えばLCDモニタ、CRTモニタ、有機ELモニタ等である。
2 構成説明
2-1 第1処理部1
 図1~図5Hに基づいて、実施形態の画像処理装置100の構成要素等について説明する。
 第1処理部1は、入力画素データが入力され、且つ、出力画素データを出力する、ように構成されている。入力画素データは、連続するN個(N≧3)の画素データである連続画素データGpから構成される。出力画素データは、連続画素データGpに含まれる画素データの類似度に基づいて、並替処理がなされたデータである。類似度は、連続画素データGpに含まれる画素データに基づき変化する。並替処理は、連続画素データGpに含まれる画素データの順番を並べ替える処理である。
 第1処理部1は、類似度算出部1Aと、位置決定部1Bと、並替部1Cと、順番取得部1Dとを有する。第1処理部1は、並替処理をなした画素データを、画像処理部3へ出力する。並替処理をなした画素データは、出力画素データに対応する。また、位置決定部1Bは決定部に対応する。
2-1-1 類似度算出部1A
 類似度算出部1Aは、連続画素データGp毎に、連続画素データGpに含まれる画素データの類似度を算出する。類似度は、画素データのビットデータがどの程度、一致しているかを示す指標である。例えば、3ビットのデータの場合において、(1,1,1)という3ビットデータは、(0,0,0)という3ビットデータよりも、(1,1,0)という3ビットデータに類似しているということができる。前者は、全てのビットデータが異なるが、後者は2つのビットデータが同じであるからである。実施形態においては、類似度はハミング距離に対応する。具体的には、類似度は、隣接する画素データ間のハミング距離に基づいている。つまり、類似度算出部1Aは、連続画素データGpに含まれる隣接する画素データ間のハミング距離(類似度)を算出する。
 ハミング距離とは、任意のビットデータを別のビットデータに変形する際に必要な置換回数に対応する。例えば、(1,1,1)という3ビットデータと、(0,0,0)という3ビットデータとのハミング距離は、すべて(3つ)のビットデータを置換する必要があるので、3である。また、(1,1,1)という3ビットデータと、(1,1,0)という3ビットデータとのハミング距離は、最下位のビットデータだけを置換すればよいので、1である。このように、ハミング距離が大きい程、隣接する画素データは類似しておらず、ハミング距離が小さい程、隣接する画素データは類似しているということになる。
 次に、図2及び図3に基づいて、ハミング距離に基づく類似度の算出方法について説明する。実施形態では、連続画素データGpに含まれる画素データの数は3である。連続画素データGpに含まれる画素データの数が大きいほど、参照する画素データ数が増えるので、並べ替えたことでトグルレートの下がる可能性が高くなる。その一方で、連続画素データGpに含まれる画素データの数が大きいほど、ハミング距離の演算量が増えてしまい、その結果、ハミング距離の演算量の増加に伴う消費電力の増大量が、トグルレートが下がることによる消費電力の減少量を超えてしまう可能性がある。つまり、連続画素データGpに含まれる画素データの数は大きければいいというわけではない。これを踏まえ、実施形態では、連続画素データGpに含まれる画素データの数を3としている。
 図2及び図3に示すように、連続画素データGpは、先頭から順番に、基準画素データaと、第1並替画素データbと、第2並替画素データcとを有する。基準画素データaは、先頭の画素データであり、並べ替えの対象とはならない。つまり、基準画素データaは、先頭で固定である。基準画素データaが固定となっていないと、先に並替処理がなされた連続画素データGpの最後尾の画素データとの関係で、トグルレートを上昇させる可能性があるためである。つまり、先に並替処理がなされた連続画素データGpは一旦、トグルレートが下げられたにもかかわらず、後の並替処理によってトグルレートが上昇する可能性があるためである。第1並替画素データb及び第2並替画素データcは、2番目と3番目の画素データであり、並べ替えの対象である。
 類似度算出部1Aは、図3に示すように、並べ替え前の状態における連続画素データGpのハミング距離総和D0と、並べ替え後の状態における連続画素データGpのハミング距離総和D1と、を算出する。ハミング距離総和D0は第1類似度に対応し、ハミング距離総和D1は第2類似度に対応する。
 並べ替え前の状態における連続画素データGpのハミング距離総和D0は、d(a,b)+d(b,c)である。d(a,b)は、隣接する画素データである基準画素データa及び第1並替画素データbのハミング距離である。d(b,c)は、隣接する画素データである第1並替画素データb及び第2並替画素データcのハミング距離である。
 並べ替え後の状態における連続画素データGpのハミング距離総和D1は、d(a,c)+d(c,b)である。d(a,c)は、隣接する画素データである基準画素データa及び第2並替画素データcのハミング距離である。d(c,b)は、隣接する画素データである第2並替画素データc及び第1並替画素データbのハミング距離である。
 なお、d(b,c)とd(c,b)は等しい。
 ハミング距離総和D0からハミング距離総和D1を引いた値が0より大きい場合には、並べ替え後の画素データの配置の方が、ハミング距離総和が小さいので、並べ替えることでトグルレートが下がると考えられる。つまり、この場合には、並べ替えるメリットがあるということである。
 逆に、ハミング距離総和D0からハミング距離総和D1を引いた値が0以下である場合には、並べ替え後の画素データの配置は、ハミング距離総和が変わらないか、又は、むしろハミング距離総和が大きくなってしまう。この場合には、トグルレートが変わらないか、又は、トグルレートが上がると考えられる。つまり、この場合には、並べ替えたとしてもトグルレートが下がらないため、並べ替えるメリットがないということである。
2-1-2 位置決定部1B
 位置決定部1Bは、連続画素データの先頭位置を決定する。連続画素データGpの先頭の位置は、図5A~図5Hに示すように、逐次、移動していく。ここで、並替部1Cが連続画素データを並べ替えると判断した場合と、並べ替えないと判断しなかった場合とで、連続画素データGpの先頭の位置の移動の方法は異なっている。つまり、位置決定部1Bは、並替部1Cの判断結果に応じて、連続画素データの先頭位置を決定する。
 実施形態では、連続画素データの数は3個である。このため、並替部1Cが連続画素データGpを並べ替えると判断した場合には、位置決定部1Bは先頭の位置を2(=3-1)進める。並替部1Cが連続画素データGpを並べ替えないと判断した場合には、位置決定部1Bは先頭の位置を1進める。位置決定部1Bに関わる構成・動作の詳細については、後段の「3 並替処理」にて説明する。
2-1-3 並替部1C
 並替部1Cは、類似度に係る大小関係を比較する機能を有する。実施形態では、並替部1Cは、ハミング距離総和D0とハミング距離総和D1とを比較する。また、並替部1Cは、連続画素データGpを並べ替える機能を有する。並替部1Cは、類似度(ハミング距離総和D0、D1)に基づいて、連続画素データGpに含まれる画素データを並べ替える。換言すると、並替部1Cは、ハミング距離総和D0とハミング距離総和D1との大小関係に基づいて、連続画素データGpに含まれる画素データを並べ替える。
 並替部1Cは、画素データを並べ替えることでハミング距離総和が小さくなる場合に、画素データを並べ替える。つまり、画素データが1ビットのモノクロ画素データである場合において、並替部1Cは、ハミング距離総和D1よりもハミング距離総和D0の方が大きい場合に、画素データを並べ替える。このように、画素データが画像処理部3に入る前に予め画素データを並べ替えておくことで、画像処理部3におけるトグルレートが低下する。これにより、実施形態に係る画像処理装置100は、画像処理部3における消費電力(ロジック電力)を抑制することができる。
 また、並替部1Cは、ハミング距離総和D1よりもハミング距離総和D0の方が大きかったとしても、画素データを必ずしも並べ替える必要はない。つまり、ハミング距離総和D0とハミング距離総和D1との差分が予め定められた値(図6のステップS3の閾値Kに対応)よりも大きい場合に、画素データを並べ替える構成を採用してもよい。なお、並替部1Cに関わる構成・動作の詳細については、後段の「3 並替処理」にて説明する。
2-1-4 順番取得部1D
 順番取得部1Dは、順番データを取得する。順番データは、並べ替える前後の状態における各画素データの順番(位置)を示すデータである。順番データは、並べ替えた画素データの順番(位置)を元の順番に戻すために用いられる。順番取得部1Dは、取得した順番データを、第2処理部2へ出力する。
2-2 第2処理部2
 第2処理部2は、戻し部2Aを有する。第2処理部2は、並替部1Cで並替処理がなされた画素データと、順番取得部1Dで取得された順番データと、が入力される。
2-2-1 戻し部2A
 上述のように、第1処理部1は画像処理部3におけるトグルレートを下げる処理を実施するが、それにあたり、画素データの順番が変わってしまっている。このまま、画素データが表示部20へ出力されると、適切な画像が表示部20に表示されないことになる。そこで、戻し部2Aは、順番データに基づいて画素データの順番(位置)を元に戻す。そして、戻し部2Aが元に戻した画素データは表示部20に出力される。これにより、所望の画像が表示部20に表示される。
2-3 画像処理部3
 画像処理部3は、画像データに対して、予め定められた画像処理を実行する。予め定められた画像処理は、例えば、ガンマ補正、階調補正、輝度補正等やこれらの組合せである。後述する並替処理が実施されることで、画像処理部3におけるトグルレートが下がり、画像処理部3の消費電力(ロジック電力)が低下する。なお、画像処理の中には、例えばフィルタ処理のように、画素の配置に処理結果が依存するものがある。画像処理部3が、後述する並替処理が実施されたデータに対し当該フィルタ処理を実施すると、所望の画像が表示部20に表示されない可能性がある。このため、画像処理部3が実施する予め定められた画像処理は、画素の配置に処理結果が依存する処理でなければ、特に限定されるものではない。
3 並替処理
 図4A~図5Hに基づいて、並替部1Cに並替処理の一例を説明する。説明の便宜上、図4Aに示す1ビットのモノクロの画像データが画像処理装置100に入力される場合を一例として説明する。図4Aに示すように、画像データは10個の画素データから構成されている。各画素データ(入力画素データ)には、図4Aに示すように、列1の上から下へ、次に、列2の上から下へ、順番が割り当てられる。なお、順番の割り当て方は特に限定されるものではなく、各種の方法を採用することができる。例えば、各画素データは、行方向(横方向)に順番が割り当てられてもよい。図4Bに示すように、順番が割り当てられた画素データDt1は、並替部1Cで並べ替えられ、画素データDt2へ変換される。
 画素データはDt1から画素データDt2へ変換される過程を説明する。図5Aに示すように、まず、先頭から3つ目までの画素データ(連続画素データ)に、並替処理を実施する。図5Aに示す連続画素データが、図5Bに示すような配置に並べ替えることで、ハミング距離総和が小さくなる。このため、並替部1Cは、図5Aに示す連続画素データを図5Bに示すような配置に並べ替えられる。
 次の連続画素データGpは、先頭から3番目から5番目までの画素データとなる。つまり、位置決定部1Bは、連続画素データの先頭位置を、2進ませる。次の連続画素データは、先頭から2番目から4番目までの画素データではない。仮に、先頭から2番目から4番目までの画素データとすると、並べ替え済みの画素データが再び並べ替えられてしまう可能性がある。つまり、先頭から3番目の画素データは、当初、先頭から2番目の画素データであり、既に並べ替えられたデータである。ここで、後述するように、第2処理部2では、各画素データの配置を当初の状態に戻すので、この3番目の画素データが更に並べ替えられるとすると、当初の状態に戻すための処理が増えてしまう。このため、実施形態では、1度並べ替えられた画素データは、並べ替えない。すなわち、位置決定部1Bは、並べ替え済みの画素データが再び並べ替えられないように連続画素データを決定しており、連続画素データGpの数が3である場合には連続画素データGpの先頭位置を2進める。一般化すると、位置決定部1Bは、連続画素データの数がNである場合には、連続画素データGpの先頭位置をN-1進める。
 図5Cに示す連続画素データGpは並べ替えられても、ハミング距離総和が小さくならないので、並べ替えはされない。次の連続画素データGpは、図5Dに示すように、先頭から4番目から6番目までの画素データとなる。つまり、位置決定部1Bは、連続画素データGpの並べ替えがなされなかった場合には、連続画素データの先頭位置を、1進める。一般化すると、位置決定部1Bは、連続画素データの数がNである場合には、連続画素データGpの先頭位置を1進める。
 図5Dに示す連続画素データGpが、図5Eに示すような配置に並べ替えることで、ハミング距離総和が小さくなる。このため、図5Dに示す連続画素データは図5Eに示すような配置に並べ替えられる。次の連続画素データは、図5Fに示すように、先頭から6番目から8番目までの画素データとなる。つまり、連続画素データの先頭位置が、2進む。
 図5Fに示す連続画素データGpは並べ替えても、ハミング距離総和が小さくならないので、並べ替えはされない。次の連続画素データGpは、図5Gに示すように、先頭から7番目から9番目までの画素データとなる。つまり、連続画素データGpの先頭位置が、1進む。図5Gに示す連続画素データGpが、図5Hに示すような配置に並べ替えることで、ハミング距離総和が小さくなる。このため、図5Gに示す連続画素データGpは図5Hに示すような配置に並べ替えられる。
 以上の過程を経ることで、図5Aに示す画素データの配置が、図5Hに示す画素データの配置(図4Bに示す画素データDt2の配置)に変換される。
4 フローチャート
 図6に基づいて、実施形態の画像処理装置100の並替処理のフローチャートについて説明する。
 位置決定部1Bは、全画素データに対して位置を割り当て、連続画素データの先頭の画素データの位置mを0に設定する(ステップS1)。ここで、各画素データには、0~Mまでの位置が割り当てられ、Mは3以上の任意の整数である。Mは全画素データの中の最後尾の画素データに割り当てられる位置である。例えば、全画素データが図4Aに示す形態の場合には、Mは9である。
 次に、類似度算出部1Aは、並べ替え前の状態における連続画素データGpのハミング距離総和D0と、並べ替え後の状態における連続画素データのハミング距離総和D1と、を算出する(ステップS2)。
 並替部1Cは、ハミング距離総和D0からハミング距離総和D1を引いた値が閾値Kより大きいか否かを判定する(ステップS3)。閾値Kは、例えば、図4A~図5Hで説明したように画素データが1ビットである場合には、0である。また、画素データが複数ビットである場合には、0より大きい整数を採用することもできる。
 ハミング距離総和D0からハミング距離総和D1を引いた値が閾値Kより大きい場合には、ステップS4に移行する。並替部1Cは、ハミング距離が小さくなるように、画素データの順番(位置)を並べ替える(ステップS4)。そして、位置決定部1Bは、連続画素データGpの先頭の画素データの位置mに2を加える(ステップS5)。実施形態では、連続画素データの数が3であるため、ステップS5で位置mに加える数は2(=3-1)である。連続画素データの数がN(Nは3より大きい整数)である場合には、ステップS5で位置mに加える数はN-1である。このように、位置mに加える数が設定されることで、位置決定部1Bは、並べ替え済みの画素データが再び並べ替えられないように連続画素データGpの先頭位置を決定している。
 なお、ステップS3において、ハミング距離総和D0からハミング距離総和D1を引いた値が閾値K以下である場合には、ステップS7に移行する。そして、位置決定部1Bは、連続画素データGpの先頭の画素データの位置mに1を加える(ステップS7)。
 位置決定部1Bは、位置mに2を加えた値がM以上であるか否かを判定する(ステップS6)。ステップS6では連続画素データGpが全画素データの最後に到達したか否かを判定する。位置mに2を加えた値がM以上でなければ、ステップS2に戻り、上述したステップS3等を繰り返す。位置mに2を加えた値がM以上である場合には本フローチャートを終了する。
 上述したステップS3の閾値Kを設ける意義を説明する。仮に、画素データが再び並べ替え可能であるとすると、画素データが複数回並べ替えられた結果、閾値Kが高い場合でも低い場合でも、並替処理後の全画素データの配置が似てくる可能性がある。しかし、実施形態では、上述の通り、並べ替え済みの画素データは再び並べ替えられない。このため、閾値Kが高い場合と低い場合とで、並替処理後の全画素データの配置が異なる傾向を示し得る。
 閾値Kが例えば高めに設定されれば、トグルレートを下げる効果が大きい画素データのみが並べ替えられ、トグルレートを下げる効果が小さい画素データは並べ替えられないことになる。閾値Kを高めに設定することは、次に述べるような傾向が強まる。
 つまり、次に控えている連続画素データGrの中には、トグルレートを効果的に下げる画素データが存在する可能性があるので、現時点で並替対象としている連続画素データGrの画素データは並べ替えないでおく、という傾向が強まる。換言すると、次に控えている連続画素データGrのトグルレートを下げる効果に期待する傾向が強まる。
 逆に、閾値Kが例えば低めに設定されれば、トグルレートを下げる効果が大きい画素データ及びトグルレートを下げる効果が小さい画素データのいずれも並べ替えられることになる。閾値Kを低めに設定することは、次に述べるような傾向が強まる。
 つまり、次に控えている連続画素データGrの中には、トグルレートをより効果的に下げる画素データが存在する可能性があるが、現時点で並替対象としている連続画素データGrの画素データを並べ替えれば少なからずトグルレートが下がる見込みがある。このため、現時点で並替対象としている連続画素データGrの画素データを並べ替えておく、という傾向が強まる。換言すると、連続画素データGrのトグルレートを下げる効果を早めに確定させておく傾向が強まる。
5 変形例
 実施形態は下記のような形態であってもよい。
5-1 変形例1:連続画素データの数=4
 図7~図10に基づいて変形例1について説明する。実施形態では、連続画素データの数は3であったが、変形例1では連続画素データの数は4である。連続画素データの数が3である場合には、画素データが並べ替えられた結果、ハミング距離総和がむしろ大きくなってしまうことがある。理由は、連続画素データが、先頭から順番に、基準画素データ(1番目の画素データ)と、第1並替画素データ(2番目の画素データ)と、第2並替画素データ(3番目の画素データ)とから構成されており、連続画素データが、最後尾に基準画素データを設けていないからである。つまり、第1並替画素データと第2並替画素データとが並べ替えられた場合において、これらの1~3番目の画素データとの関係ではハミング距離総和が小さくなるが、このハミング距離総和は、4番目の画素データとの関係におけるハミング距離までは反映されていない。このため、画素データが並べ替えられた結果、画素データのビット数、閾値K、及び、後述する演算対象とする画素データの上位ビットによっては、ハミング距離がむしろ大きくなってしまうことがある。
 このように、実施形態の構成は、ハミング距離総和が大きくなってしまう可能性が少なからずあるものの、4番目の画素データは踏まえずに、並べ替えるか否かを決定する。
 並替処理によってより確実にハミング距離総和を低下させるのであれば、連続画素データの数は大きい方が好ましい。その一方で、連続画素データの数が大きくなると、並替処理におけるハミング距離の演算量が増大してしまう。このため、変形例1のように、連続画素データの数は4とすると、並替処理によってより確実にハミング距離を低下させることを実現しながらも、並替処理におけるハミング距離の演算量の増大を抑制することができる。
 変形例1では実施形態と共通する箇所の説明は割愛する。図7に示すように、連続画素データGpは、先頭から順番に、第1基準画素データaと、第1並替画素データbと、第2並替画素データcと、第2基準画素データdとを備える。第1基準画素データa及び第2基準画素データdは固定である。並べ替えの対象となる画素データは、第1並替画素データb及び第2並替画素データcである。
 図8に示すように、並べ替え前の状態における連続画素データGpのハミング距離総和D0と、並べ替え後の状態における連続画素データGpのハミング距離総和D1は、次の通りである。
 並べ替え前の状態における連続画素データGpのハミング距離総和D0は、d(a,b)+d(b,c)+d(c,d)である。d(a,b)は、隣接する画素データである第1基準画素データa及び第1並替画素データbのハミング距離である。d(b,c)は、隣接する画素データである第1並替画素データb及び第2並替画素データcのハミング距離である。d(c,d)は、隣接する画素データである第2並替画素データc及び第2基準画素データdのハミング距離である。
 並べ替え後の状態における連続画素データGpのハミング距離総和D1は、d(a,c)+d(c,b)+d(b,d)である。d(a,c)は、隣接する画素データである第1基準画素データa及び第2並替画素データcのハミング距離である。d(c,b)は、隣接する画素データである第2並替画素データc及び第1並替画素データbのハミング距離である。d(b,d)は、隣接する画素データである第1並替画素データb及び第2基準画素データdのハミング距離である。
 なお、d(b,c)とd(c,b)は等しい。
 図9A~図9Fに示すように、変形例1も、実施形態と同様にして並替処理が逐次なされる。図9Aに示すように、先頭から4つ目までの画素データ(連続画素データGp)に、並替処理を実施する。図9Aに示す連続画素データが、図9Bに示すような配置に並べ替えることで、ハミング距離総和が小さくなる。このため、図9Aに示す連続画素データGpは図9Bに示すような配置に並べ替えられる。
 次の連続画素データGpは、先頭から4番目から7番目までの画素データとなる。つまり、連続画素データの先頭位置が3進む。図9Cに示す連続画素データGpが、図9Dに示すような配置に並べ替えることで、ハミング距離総和が小さくなる。このため、図9Cに示す連続画素データGpは図9Dに示すような配置に並べ替えられる。次の図9E及び図9Fの処理は、図9A及び図9Bの処理や図9C及び図9Dの処理と同様である。
 図10に示す変形例1のフローチャートは、ステップS5とステップS6において、図6に示す実施形態のフローチャートから変更がある。ステップS5では、位置決定部1Bは、連続画素データGpの先頭の画素データの位置mに3を加える。また、ステップS6では、位置決定部1Bは、位置mに3を加えた値がM以上であるか否かを判定する。これら以外については、図10は図6と同様である。
5-2 変形例2:連続画素データの数≧5
 実施形態は連続画素データの数が3であり、変形例1は連続画素データの数が4であったが、連続画素データの数は5以上であってもよい。連続画素データの数は5以上の場合であっても、基本的な構成は、変形例1と同様である。つまり、先頭の画素データが第1基準画素データであり、最後尾の画素データが第2基準画素データである。また、先頭の画素データと最後尾の画素データとの間の全ての画素データが並替対象となる並替画素データである。連続画素データの数は5以上の場合には、並替対象となる並替画素データの対が複数組発生するため、算出するべきハミング距離総和D1が複数発生する。このため、連続画素データの数は5以上の場合には、並替処理を実施した結果、消費電力が抑制されるかどうかを留意することが好ましい。
5-3 変形例3:画像処理装置100A及び画像処理装置100B
5-3-1 形態1
 実施形態では、画像処理装置100が第1処理部1及び第2処理部2の両方を備えている形態であった。図11に示すように、変形例3の形態1は、画像処理装置100Aが第1処理部1を備え、画像処理装置100Bが第2処理部2を備えている。また、画像処理装置100Bは画像処理部3も備えている。つまり、変形例3の形態1は、並替処理が実施された画素データ(出力画素データ)が、それぞれ独立した画像処理装置間でやりとりされる形態である。
 画像処理装置100Aで並替処理が実施された画素データ、及び、順番データは、画像処理装置100Aから画像処理装置100Bへ出力される。そして、当該画素データは画像処理部3で予め定められた画像処理がなされた後に、戻し部2Aにて順番が元に戻される。変形例3の形態1であっても、実施形態と同様の効果(画像処理部3におけるロジック電力の抑制効果)が得られる。また、図11に示す形態では、伝送路Ps(図11の四角形の破線の領域参照)のトグルレートも下がり、伝送路Psの消費電力も下がる。また、伝送路Psにおけるスイッチングノイズも低減される。ここで、伝送路Psは、画像処理装置100Aと画像処理装置100Bとを接続するI/O端子(入出力端子)を含む。
5-3-2 形態2
 図12に示すように、画像処理部3が、第1処理部1を有する画像処理装置100A及び第2処理部2を有する画像処理装置100Bに対して、独立していてもよい。画像処理装置100Aで並替処理が実施された画素データは、画像処理装置100Aから画像処理部3へ出力される。画像処理部3へ出力された画素データは、画像処理部3で予め定められた画像処理がなされた後に、画像処理部3から画像処理装置100Bへ出力される。画像処理装置100Bへ出力された画素データは、戻し部2Aにて順番が元に戻される。変形例3の形態2であっても、実施形態と同様の効果(画像処理部3におけるロジック電力の抑制効果)が得られる。また、図12に示す形態2では、伝送路Ps1及び伝送路Ps2のトグルレートも下がり、伝送路Ps1及び伝送路Ps2の消費電力も下がる。また、伝送路Ps1及び伝送路Ps2におけるスイッチングノイズも低減される。ここで、伝送路Ps1は、画像処理装置100Aと画像処理部3とを接続するI/O端子(入出力端子)を含み、伝送路Ps2は、画像処理部3と画像処理装置100Bとを接続するI/O端子(入出力端子)を含む。
5-3-3 形態3
 図11に示す形態は、画像処理装置100Bが画像処理部3を備える形態であるが、画像処理装置100Bの代わりに画像処理装置100Aが画像処理部3を備えていてもよい(図示省略)。
 この形態3においても、上述の変形例3の形態1で説明した効果と同様の効果を得ることができる。つまり、本形態3は、実施形態と同様の効果(画像処理部3におけるロジック電力の抑制効果)が得られる。また、本形態3は、画像処理装置100Aと画像処理装置100Bとを接続する伝送路(I/O端子)におけるトグルレート及び消費電力を下げ、当該伝送路におけるスイッチングノイズを低減することができる。
5-3-4 形態4
 また、画像処理装置100A及び画像処理装置100Bが画像処理部3をそれぞれ備えていてもよい(図示省略)。この形態4において、画素データは、画像処理装置100Aの第1処理部1から画像処理装置100Aの画像処理部3に出力される。更に、画像処理部3に出力された画素データは、画像処理装置100Bの画像処理部3から画像処理装置100Bの第2処理部2に出力される。
 この形態4においても、上述の変形例3の形態1で説明した効果と同様の効果を得ることができる。つまり、本形態4は、実施形態と同様の効果(画像処理装置100A及び画像処理装置100Bの画像処理部3におけるロジック電力の抑制効果)が得られる。また、本形態4は、画像処理装置100Aと画像処理装置100Bとを接続する伝送路(I/O端子)におけるトグルレート及び消費電力を下げ、当該伝送路におけるスイッチングノイズを低減することができる。
5-3-5 形態5
 また、上述した変形例3の形態1~形態4は、画素データが画像処理部3を経由する形態であったが、これに限定されるものではない。つまり、画像処理装置100A及び画像処理装置100Bが画像処理部3を備えず、画素データが画像処理部3を経由せずに画像処理装置100Aの第1処理部1から画像処理装置100Bの第2処理部2へ出力される場合であっても、次のような効果を得ることができる。つまり、本形態5は、画像処理装置100Aと画像処理装置100Bとを接続する伝送路(I/O端子)におけるトグルレート及び消費電力を下げ、当該伝送路におけるスイッチングノイズを低減することができる。
5-3-5 形態6
 画像処理装置100Aから出力される画像データが、画像処理装置100Aとは別体のメモリ(外付けメモリ)に格納された場合であっても、変形例3の形態1~形態5で説明した効果を得ることができる。例えば、画像処理装置100Aから出力される画像データが、外付けメモリに格納され、その後に、画像処理装置100Bに出力されたとしても、変形例3の形態1~形態5で説明した効果が得られる。
5-4 変形例4:ハミング距離総和の算出に上位ビットを採用
 実施形態では、説明の便宜上、画素データが1ビットである場合を説明したが、画素データは8ビットであることが多い。変形例4では、類似度算出部1Aは、画素データの上位ビットを対象としてハミング距離(ハミング距離総和)を算出する形態である。
 ハミング距離総和D0,D1を算出するにあたり、全8ビット分を演算してもよいが、演算量が増大してしまう。
 また、画像処理部3では予め定められた処理がなされるが、画素データの上位ビットに対して影響があるような処理、すなわち、画素の階調を大幅に替えてしまうような処理がなされる可能性はかなり低い。逆にいえば、画素データの下位ビットに対して影響があるような処理がなされる可能性が高い。このため、下位ビットを含めてハミング距離を算出し、画素データに並替処理が実施されても、画像処理部3で下位ビットが変化してしまい、結果的に、下位ビットについてはトグルレートが下がらない場合もある。
 そこで、変形例4のように、画素データの上位ビットを対象としてハミング距離(ハミング距離総和)を算出することで、次の効果が得られる。
(1)演算量を削減することができる。
(2)トグルレートを下げる効果が限定的な下位ビットのハミング距離総和への影響を抑え、トグルレートを下げる効果が大きい上位ビットのハミング距離総和への影響を大きくすることができる。その結果、効果的にトグルレートが下がる。
 ここで、変形例4で対象とするビットは、例えば、上位40%以上であって60%以下のビットや上位50%以上のビットとすることができる。
5-5 変形例5:ハミング距離以外の形態
 実施形態では、類似度はハミング距離に対応していたが、これに限定されるものではない。類似度はハミング距離以外の形式に対応させることもできる。例えば、隣接する画素データのビットの一致・不一致を示す値(EXOR回路の出力値)を採用することもできる。
1:第1処理部、1A:類似度算出部、1B:位置決定部、1C:並替部、1D:順番取得部、2:第2処理部、2A:戻し部、2B:入力部、3:画像処理部、10:画像データ発生源、20:表示部、100:画像処理装置、100A:画像処理装置、100B:画像処理装置、D0:ハミング距離総和、D1:ハミング距離総和、Dt1:画素データ、Dt2:画素データ、Gp:連続画素データ、a:基準画素データ(第1基準画素データ)、b:第1並替画素データ、c:第2並替画素データ、d:第2基準画素データ、Ps:伝送路、Ps1:伝送路、Ps2:伝送路

Claims (10)

  1.  画像データを処理する画像処理装置であって、
     第1処理部を備え、
     第1処理部は、入力画素データが入力され、且つ、出力画素データを出力する、ように構成され、
     前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、
     前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、画像処理装置。
  2.  請求項1に記載の画像処理装置であって、
     第1処理部は、類似度算出部と、並替部とを備え、
     前記類似度算出部は、前記連続画素データ毎に、前記連続画素データに含まれる前記画素データの前記類似度を算出し、
     前記並替部は、前記類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替える、画像処理装置。
  3.  請求項2に記載の画像処理装置であって、
     前記類似度算出部は、前記連続画素データに含まれる隣接する前記画素データ間のハミング距離に基づいて、前記類似度を算出する、画像処理装置。
  4.  請求項3に記載の画像処理装置であって、
     前記並替部は、第1及び第2類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替え、
      前記連続画素データは、前記隣接する前記画素データを複数組有し、
      第1類似度は、前記複数組の前記隣接する前記画素データ間のハミング距離の和に対応し、
      第2類似度は、第1類似度に対応する前記連続画素データの前記画素データを並べ替えた場合における、前記複数組の前記隣接する前記画素データ間のハミング距離の和に対応する、画像処理装置。
  5.  請求項3又は請求項4に記載の画像処理装置であって、
     各前記画素データは、複数ビットから構成され、
     前記類似度算出部は、各前記画素データの上位ビットを用いて、前記ハミング距離を算出する、画像処理装置。
  6.  請求項1~請求項5の何れか1つに記載の画像処理装置であって、
     第1処理部は、決定部を備え、
     前記決定部は、並べ替え済みの前記画素データが再び並べ替えられないように、前記連続画素データを決定している、画像処理装置。
  7.  請求項1~請求項6の何れか1つに記載の画像処理装置であって、
     第2処理部を更に備え、
     第2処理部は、戻し部を有し、
     第1処理部は、順番取得部を有し、
     前記順番取得部は、順番データを取得して、第2処理部に出力し、
     前記順番データは、前記画素データを並べ替える前の状態における前記連続画素データの各前記画素データの順番を示すデータであり、
     前記戻し部は、前記順番データに基づいて、前記連続画素データの各前記画素データの順番を元に戻す、画像処理装置。
  8.  請求項7に記載の画像処理装置であって、
     画像処理部を更に備え、
     前記画像データの各前記画素データは、第1処理部、前記画像処理部、及び第2処理部の順番に流れ、
     前記画像処理部は、前記画素データに予め定められた処理を行う、画像処理装置。
  9.  画像データを処理する画像処理方法であって、
     入力ステップと、出力ステップと、を備え、
     前記入力ステップでは、入力画素データを第1処理部に入力し、
     前記出力ステップでは、第1処理部から出力画素データを出力し、
     前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、
     前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、画像処理方法。
  10.  コンピュータに、画像データを処理する画像処理方法を実行させるコンピュータプログラムであって、
     入力ステップと、出力ステップと、を備え、
     前記入力ステップでは、入力画素データを第1処理部に入力し、
     前記出力ステップでは、第1処理部から出力画素データを出力し、
     前記入力画素データは、連続するN個(N≧3)の画素データである連続画素データから構成され、
     前記出力画素データは、前記連続画素データに含まれる前記画素データの類似度に基づいて、前記連続画素データに含まれる前記画素データを並べ替えて構成される、コンピュータプログラム。
PCT/JP2019/015974 2019-04-12 2019-04-12 画像処理装置、画像処理方法及びコンピュータプログラム WO2020208809A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/599,137 US11763418B2 (en) 2019-04-12 2019-04-12 Image processing device, image processing method, and computer program
PCT/JP2019/015974 WO2020208809A1 (ja) 2019-04-12 2019-04-12 画像処理装置、画像処理方法及びコンピュータプログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/015974 WO2020208809A1 (ja) 2019-04-12 2019-04-12 画像処理装置、画像処理方法及びコンピュータプログラム

Publications (1)

Publication Number Publication Date
WO2020208809A1 true WO2020208809A1 (ja) 2020-10-15

Family

ID=72751038

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/015974 WO2020208809A1 (ja) 2019-04-12 2019-04-12 画像処理装置、画像処理方法及びコンピュータプログラム

Country Status (2)

Country Link
US (1) US11763418B2 (ja)
WO (1) WO2020208809A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03212067A (ja) * 1990-01-17 1991-09-17 Matsushita Electric Ind Co Ltd 付加情報の多重化方法と付加情報の分離方法
JP2002290741A (ja) * 2001-03-23 2002-10-04 Ricoh Co Ltd データ変換装置
JP2003250031A (ja) * 2002-02-22 2003-09-05 Ricoh Co Ltd 画像処理装置および画像処理方法
JP2004194155A (ja) * 2002-12-13 2004-07-08 Fuji Xerox Co Ltd データ処理装置、データ処理方法およびデータ処理プログラム
JP2019016304A (ja) * 2017-07-10 2019-01-31 Eizo株式会社 画像処理装置及び画像処理方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7742063B2 (en) * 2005-07-07 2010-06-22 Lsi Corporation Efficient and high speed 2D data transpose engine for SOC application
JP5909692B2 (ja) * 2012-04-03 2016-04-27 パナソニックIpマネジメント株式会社 映像データ送信装置及び受信装置
JP2014116750A (ja) 2012-12-07 2014-06-26 Kansai Univ データ送信装置、データ受信装置、データ送受信装置、データ送信方法、データ受信方法、及びデータ送受信方法
US10929464B1 (en) * 2015-02-04 2021-02-23 Google Inc. Employing entropy information to facilitate determining similarity between content items

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03212067A (ja) * 1990-01-17 1991-09-17 Matsushita Electric Ind Co Ltd 付加情報の多重化方法と付加情報の分離方法
JP2002290741A (ja) * 2001-03-23 2002-10-04 Ricoh Co Ltd データ変換装置
JP2003250031A (ja) * 2002-02-22 2003-09-05 Ricoh Co Ltd 画像処理装置および画像処理方法
JP2004194155A (ja) * 2002-12-13 2004-07-08 Fuji Xerox Co Ltd データ処理装置、データ処理方法およびデータ処理プログラム
JP2019016304A (ja) * 2017-07-10 2019-01-31 Eizo株式会社 画像処理装置及び画像処理方法

Also Published As

Publication number Publication date
US11763418B2 (en) 2023-09-19
US20220172317A1 (en) 2022-06-02

Similar Documents

Publication Publication Date Title
JP3620521B2 (ja) 画像処理装置、画像伝送装置、画像受信装置及び画像処理方法
US8923636B2 (en) Image processing circuit, and display panel driver and display device mounting the circuit
JP5548064B2 (ja) 表示システム及び表示デバイスドライバ
US8638285B2 (en) Image data transfer to cascade-connected display panel drivers
US10580385B2 (en) Method for enhancing luminance uniformity of a display panel
US20160078849A1 (en) Display and display control circuit
US20060061826A1 (en) Image processing apparatus, image transmission apparatus, display, image processing method, and image transmission method
CN108074539B (zh) 电子装置、显示驱动器以及显示面板的显示数据产生方法
US10609401B2 (en) Device and method for block compression and block decompression
WO2020208809A1 (ja) 画像処理装置、画像処理方法及びコンピュータプログラム
JP5149427B2 (ja) 符号化装置、復号化装置、符復号化システム、符号化方法及び復号化方法
US8983215B2 (en) Image processing device and image processing method
US11134234B2 (en) Image processing apparatus, image processing method, and recording medium
JP3716855B2 (ja) 画像処理装置及び画像処理方法
CN114420027A (zh) 提升显示ppi的方法、装置、设备和介质
TW202239208A (zh) 影像壓縮方法與電路系統
JP6346356B1 (ja) 画像処理装置及び画像処理方法
JP3781039B2 (ja) 画像処理装置及び画像処理方法
US20150071559A1 (en) Image coding device and image coding method
US10271059B2 (en) Decoder, decoding system including the decoder and method of operating the decoder
JP2005025752A (ja) ディジタル画像データを処理するための装置及び方法
JP2004206138A5 (ja)
US11955067B2 (en) Simplified rate control for an additive iterative compression system
KR20240066090A (ko) 부호화 방법
JP2022172905A (ja) 画像処理装置、画像処理方法、画像表示システム、画像表示システムの制御方法、プログラム、記憶媒体

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19923777

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19923777

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP