Image processing apparatus and image processing method
09747669 · 2017-08-29
Assignee
Inventors
Cpc classification
International classification
Abstract
A WT unit performs wavelet transformation on original image data to generate first image data. An ROI developing unit, based on ROI information, specifies an ROI corresponding portion corresponding to an ROI and a non-ROI corresponding portion corresponding to a non-ROI to the first image data. A high-frequency cutting unit performs, on the first image data, a high-frequency cutting process that cuts a high-frequency component of the non-ROI corresponding portion. A low-frequency blurring unit performs, on the first image data, a low-frequency blurring process that blurs a low-frequency component of the non-ROI corresponding portion. The IWT unit performs inverse wavelet transformation on second image data (first image data obtained after the high-frequency cutting process and the low-frequency blurring process are performed) to generate third image data.
Claims
1. An image processing apparatus that generates a blurred image by partially blurring an original image, said image processing apparatus comprising: circuitry configured to perform wavelet transformation on original image data to generate first image data in which said original image data is decomposed into a low-frequency component and a high-frequency component up to a predetermined decomposition level, acquire ROI information in which a region of interest (ROI) serving as an unblurred region and a region of non-interest (non-ROI) serving as a blurred region are regulated in said original image, develop said ROT information for said original image to generate developed ROI information for said first image data, by specifying, based on said ROI information, an ROI corresponding portion in said first image data corresponding to said ROI in said original image and a non-ROI corresponding portion in said first image data corresponding to said non-ROI in said original image, perform, on said high-frequency component but not on said low-frequency component in said first image data, a high-frequency cutting process that cuts said high-frequency component of said non-ROI corresponding portion, perform, on said low-frequency component but not on said high-frequency component in said first image data, a low-frequency blurring process that blurs said low-frequency component of said non-ROI corresponding portion, and perform inverse wavelet transformation on second image data to generate third image data, said second image data corresponding to said first image data obtained after said high-frequency cutting process and said low-frequency blurring process are performed.
2. The image processing apparatus according to claim 1, wherein the circuitry is configured to acquire said third image data having a decomposition level that is not 0 at least once and perform said low-frequency blurring process on said third image data.
3. The image processing apparatus according to claim 1, wherein the circuitry is configured to acquire said third image data having a decomposition level 0, perform said low-frequency blurring process on said third image data, and output said third image data obtained after said low-frequency blurring process is performed as data of said blurred image.
4. The image processing apparatus according to claim 1, wherein the circuitry is configured to output said low-frequency component of said third image data having a decomposition level that is not 0 as data of said blurred image.
5. The image processing apparatus according to claim 1, wherein said high-frequency cutting process is a process of setting a data value of said high-frequency component to 0.
6. The image processing apparatus according to claim 1, wherein the circuitry is configured to perform said low-frequency blurring process by a filter.
7. The image processing apparatus according to claim 6 wherein said filter is a smoothing filter or a Gaussian filter.
8. The image processing apparatus according to claim 1, wherein the circuitry is configured to generate said developed ROI information for said first image data under a condition in which said high-frequency cutting process and said low-frequency blurring process with respect to said non-ROI corresponding portion do not influence an ROT portion of said third image data corresponding to said ROT in said original image.
9. The image processing apparatus according to claim 8, wherein the circuitry is configured to perform said wavelet transformation by a 5×3 filter in which a 5-tap low-pass filter and a 3-tap high-pass filter are used on a decomposition side, and generate said developed ROI information by performing at least when a 2nth (n is an integer) pixel of said original image is included in said ROI, setting nth data on said low-frequency component and {n−1}th and nth data on said high-frequency component to said ROI corresponding portion, and when a {2n+1}th pixel of said original image is included in said ROI, setting the nth and {n+1}th data on said low-frequency component and the {n−1}th, nth, and {n+1}th data on said high-frequency component to said ROI corresponding portion.
10. The image processing apparatus according to claim 8, wherein the circuitry is configured to perform said wavelet transformation by a Daubechies 9×7 filter in which a 9-tap low-pass filter and a 7-tap high-pass filter are used on a decomposition side, and generate said developed ROI information by performing at least when a 2nth (n is an integer) pixel of said original image is included in said ROI, setting the {n−1}th, nth, and {n+1}th data on said low-frequency component and the {n−2}th, {n−1}th, nth, and {n+1}th data on said high-frequency component to said ROI corresponding portion, and when a {2n+1}th pixel of said original image is included in said ROI, setting the {n−1}th, nth, {n+1}th, and {n+2}th data on said low-frequency component and the {n−2}th, {n−1}th, nth, {n+1}th, and {n+2}th data on said high-frequency component to said ROI corresponding portion.
11. The image processing apparatus according to claim 1, wherein the circuitry is configured to perform said wavelet transformation by a 9×7 filter or a 5×3 filter.
12. The image processing apparatus according to claim 1, wherein the circuitry is configured to perform said inverse wavelet transformation by a 9×7 filter or a 5×3 filter.
13. An image processing method that generates a blurred image by partially blurring an original image, said image processing method comprising: performing wavelet transformation on original image data to generate first image data in which said original image data is decomposed into a low-frequency component and a high-frequency component up to a predetermined decomposition level; acquiring ROI information in which a region of interest (ROI) serving as an unblurred region and a region of non-interest (non-ROI) serving as a blurred region are regulated in said original image; developing said ROI information for said original image to generate developed ROI information for said first image data, by specifying, based on said ROI information, an ROI corresponding portion in said first image data corresponding to said ROI in said original image and a non-ROI corresponding portion in said first image data corresponding to said non-ROT in said original image; performing, on said high-frequency component but not on said low-frequency component in said first image data, a high-frequency cutting process that cuts said high-frequency component of said non-ROI corresponding portion; performing, on said low-frequency component but not on said high-frequency component in said first image data, a low-frequency blurring process that blurs said low-frequency component of said non-ROT corresponding portion; and performing inverse wavelet transformation on second image data to generate third image data, said second image data corresponding to said first image data obtained after said high-frequency cutting process and said low-frequency blurring process are performed.
14. The image processing method according to claim 13, further comprising: acquiring said third image data, generated in said inverse wavelet transformation and having a decomposition level that is not 0, at least once; and performing said low-frequency blurring process on said third image data.
15. The image processing method according to claim 13, further comprising: acquiring said third image data, generated in said inverse wavelet transformation and having a decomposition level 0; performing said low-frequency blurring process on said third image data; and providing said third image data obtained after said low-frequency blurring process is performed as data of said blurred image.
16. The image processing method according to claim 13, further comprising: providing said low-frequency component of said third image data having a decomposition level that is not 0 as data of said blurred image.
17. The image processing method according to claim 13, wherein said high-frequency cutting process is a process of setting a data value of said high-frequency component to 0.
18. The image processing method according to claim 13, wherein said developed ROI information is generated under the condition in which said high-frequency cutting process and said low-frequency blurring process with respect to said non-ROI corresponding portion do not influence an ROI portion of said third image data corresponding to said ROI in said original image.
19. The image processing method according to claim 18, wherein said wavelet transformation is performed by a 5×3 filter in which a 5-tap low-pass filter and a 3-tap high-pass filter are used on a decomposition side, and generating said developed ROI information includes: when a 2nth (n is an integer) pixel of said original image is included in said ROI, setting nth data on said low-frequency component and {n−1}th and nth data on said high-frequency component to said ROI corresponding portion, and when a {2n+1}th pixel of said original image is included in said ROI, setting the nth and {n+1}th data on said low-frequency component and the {n−1}th, nth, and {n+1}th data on said high-frequency component to said ROI corresponding portion.
20. The image processing method according to claim 18, wherein said wavelet transformation is performed by a Daubechies 9×7 filter in which a 9-tap low-pass filter and a 7-tap high-pass filter are used on a decomposition side, and generating said developed ROI information includes: when a 2nth (n is an integer) pixel of said original image is included in said ROI, setting the {n−1}th, nth, and {n+1}th data on said low-frequency component and the {n−2}th, {n−1}th, nth, and {n+1}th data on said high-frequency component to said ROI corresponding portion, and when a {2n+1}th pixel of said original image is included in said ROI, setting the {n−1}th, nth, {n+1}th, and {n+2}th data on said low-frequency component and the {n−2}th, {n−1}th, nth, {n+1}th, and {n+2}th data on said high-frequency component to said ROI corresponding portion.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(30) The present invention provides a technique that partially blurs an original image to generate a blurred image.
(31)
(32) <WT Unit 11>
(33) Original image data 20 corresponding to data (digital data) of an original image is input to the WT unit 11. The WT unit 11 performs wavelet transformation (in this case, discrete wavelet transformation (DWT)) on the original image data 20 to generate first image data 21 (may be abbreviated as image data 21). Specifically, the original image data 20 is decomposed into a low-frequency component and a high-frequency component up to a predetermined decomposition level, and result data of the frequency decomposition is the image data 21. The WT unit 11 can be configured by a conventional technique, for example, the techniques described in Japanese Patent Application Laid-Open Nos. 2006-203409, 2002-94991, and 2003-248673.
(34) According to the wavelet transformation, an image to be processed is decomposed into a low-frequency component and a high-frequency component. The decomposition is also called frequency decomposition, band division, or the like. In addition, each of band components (specifically, each of a low-frequency component and a high-frequency component) obtained by the division is also called a sub-band.
(35) As one of typical schemes of wavelet transformation, a mallat type is given.
(36) The mallat type is a scheme that performs frequency division by repeating (in other words, recursively) only low-frequency components on the assumption that a low-frequency component includes an amount of information larger than that of a high-frequency component. The dividing scheme is also called an octave dividing scheme.
(37) Hierarchy expansion, in other words, the number of times of decomposition in wavelet transformation is called a decomposition level. Note that, the number of decomposition levels is not limited to the example in
(38) According to the example in
(39) Band division can be achieved by, for example, a 2-divided filter bank.
(40)
(41) The band component LL1 obtained at the decomposition level 1 is further divided into four band components HH2, HL2, LH2, and LL2 at a decomposition level 2 (see
(42) In this case, with respect to a notation related to 2-dimensional wavelet transformation, for example, HL1 is a band component configured by a horizontal high-frequency component H and a vertical low-frequency component L at the decomposition level 1. The notation is generalized as “XYm” (Each of X and Y is one of H and L. m is an integer of 1 or more). Specifically, a band component configured by a horizontal band component X and a vertical band component Y at a decomposition level m is written as “XYm”.
(43) Moreover, for example, at the decomposition level 2 (see
(44) Moreover, for example, at a decomposition level 1, the band component LL1 corresponds to essential information of the image. Moreover, the band component HL1 corresponds to information of an edge extending in the vertical direction, and the band component LH1 corresponds to information of an edge extending in the horizontal direction. Moreover, the band component HH corresponds to information of an edge extending in an oblique direction. Moreover, according to the band component LL1, an image having a size that is ¼ the image obtained before the decomposition can be provided.
(45) The same is applied to other decomposition levels. For example, the band components LL2, HL2, LH2, and HH2 at the decomposition level 2 have the same relationship as that of the band components LL1, HL1, LH1, and HH1 obtained when the band component LL1 obtained before the division is regarded as an original image.
(46)
(47) The wavelet plane is a conceptual plane in which calculation result data of wavelet transformation is associated with an arrangement of pixels in an original image. For example, in a region shown as the band component LL1 in the wavelet plane, calculation result data (LL component data) obtained by using pixels in the original image as pixels of interest are arranged while corresponding to the positions of the pixels of interest in the original image.
(48) The preferred embodiment is conveniently described by using a wavelet plane. However, the first image data 21 (see
(49) <IWT Unit 14>
(50) An IWT unit 14 will be described below. The IWT unit 14 performs inverse wavelet transformation (in this case, inverse discrete wavelet transformation (IDWT)) on input image data. According to the inverse wavelet transformation, a low-frequency component and a high-frequency component divided by the wavelet transformation are synthesized with each other. This synthesis is also called frequency synthesis, band synthesis, or the like. Herein, the inverse wavelet transformation may be simply called inverse transformation. In contrast to this, the wavelet transformation may be called forward transformation.
(51) In the image processing apparatus 10, second image data 22 corresponding to the first image data 21 processed by the high-frequency cutting unit 12 and the low-frequency blurring unit 13 is input to the IWT unit 14. It is assumed that image data obtained by performing inverse wavelet transformation on the second image data 22 is called third image data 23. Herein, the second image data 22 may be abbreviated as image data 22, and the third image data 23 may be abbreviated as image data 23.
(52) The IWT unit 14 can be configured by a conventional technique, for example, the technique described in Japanese Patent Application Laid-Open No. 2003-248673.
(53) The number of times of synthesis in the inverse wavelet transformation is called a synthesis level. Note that, the synthesis level is not limited to the example in
(54) According to the example in
(55) At the next synthesis level 2, the band component LL obtained at the synthesis level 1 is input to the low-pass filter G.sub.0(z) through the up sampler, the band component LH is input to the high-pass filter G.sub.1(z) through the up sampler, and outputs from the two filters G.sub.0(z) and G.sub.1(z) are added to each other by an adder. In this manner, the band components LL and LH are synthesized with each other to generate the band component L.
(56) At a synthesis level 3, the band component L obtained at the synthesis level 2 is input to the low pass filter G.sub.0(z) through the up sampler, the band component H is input to the high-pass filter G.sub.1(z) through the up sampler, and outputs from the two filters G.sub.0(z) and G.sub.1(z) are added to each other by an adder. In this manner, the band components L and H are synthesized with each other to generate an image having the decomposition level 0.
(57) In this case, according to the examples (i.e., set values of decomposition levels are 3) in
(58) In integer-type DWT, as the digital filters H.sub.0(z), H.sub.1(z), G.sub.0(z), and G.sub.1(z) (see
(59) <ROI Developing Unit 15>
(60) An ROI developing unit 15 will be described below. The ROI developing unit 15 acquires ROI information 30 and develops in other words, applies the ROI information 30 to the first image data 21.
(61) The ROI information 30 is information in which a region of interest (ROI) serving as an unblurred region and a region of non-interest (non-ROI) serving as a blurred region are regulated in an original image. Considering that one of the ROI and the non-ROI can be specified to make it possible to specify the other, the ROI information 30 can be configured by at least one of information to specify the ROI and information to specify the non-ROI.
(62) When the blurred image in
(63) In the example in
(64) In this manner, the ROI 31 and the non-ROI 32 can be set by various methods. Then, the ROI information 30 prepared as described above is input to the ROI developing unit 15.
(65) The ROI developing unit 15, based on the acquired ROI information 30, specifies an ROI corresponding portion corresponding to the ROI 31 and a non-ROI corresponding portion corresponding to the non-ROI 32 to the first image data 21. In this manner, the ROI information 30 is developed in the first image data 21. It is assumed that the ROI information 30 developed in the first image data 21 is called developed ROI information.
(66)
(67) The developed ROI information 35 need not be configured in accordance with the wavelet plane. Specifically, as long as the developed ROI information 35 can specify to which of the ROI 31 and the non-ROI 32 each data configuring the first image data 21 corresponds, the developed ROI information 35 can be configured by an arbitrary data array structure, a signal format, or the like.
(68) Generation of the developed ROI information 35 can be configured by a conventional technique, for example, the technique described in Japanese Patent Application Laid-Open No. 2002-94991.
(69) For example, when a 5×3 filter is used in a calculation process of wavelet transformation, as shown in
(70) As shown in
(71) On the other hand, when an odd-number-th (expressed as {2n+1}th) pixel of the original image is included in the ROI 31, the nth and {n+1}th data on the low-frequency component and the {n−1}th, nth, and {n+1}th data on the high-frequency component are set in the ROI corresponding portion 36.
(72) Note that,
(73) Moreover, for example, when a Daubechies 9×7 filter is used in a calculation process of wavelet transformation, as shown in
(74) As shown in
(75) As is apparent from the examples in
(76) The generated developed ROI information 35 is supplied to the high-frequency cutting unit 12 and the low-frequency blurring unit 13 and used as a mask in the processes in the high-frequency cutting unit 12 and the low-frequency blurring unit 13.
(77) <High-Frequency Cutting Unit 12>
(78) The high-frequency cutting unit 12 acquires the first image data 21 and the developed ROI information 35. The high-frequency cutting unit 12 performs, on the first image data 21, a high-frequency cutting process that cuts the high-frequency component of the non-ROI corresponding portion 37. In this case, the non-ROI corresponding portion 37 can be understood from the developed ROI information 35.
(79) Specifically, the high-frequency cutting unit 12, in the first image data 21, cuts data included both in the high-frequency components HL, LH, and HH (in other words, components except for the low-frequency component LL) and in the non-ROI corresponding portion 37.
(80) The high-frequency cutting process is, for example, a process of setting the value of corresponding data to 0. Alternatively, for example, a process of setting the value of the corresponding data to a value except for 0 may be employed. In this regard, when the value of the corresponding data is set to 0, distortion or the like can be suppressed from occurring in a blurred image, and a high-quality blurred image can be obtained. By various processes except for the process of setting the corresponding data to a specific value, the high-frequency cutting process may be performed.
(81) <Low-Frequency Blurring Unit 13>
(82) The low-frequency blurring unit 13, in the example in
(83) Specifically, the low-frequency blurring unit 13, in the first image data 21, performs a blurring process on data included both in the low-frequency component LL and in the non-ROI corresponding portion 37.
(84) As the low-frequency blurring process, for example, a filter having a blurring operator may be used. As such a filter, a low-pass filter is illustrated. More specifically, a smoothing filter (also called an averaging filter) and a Gaussian filter are illustrated.
(85) According to the smoothing filter, data of a position of interest (may be expressed as a pixel of interest) on a wavelet plane and data around the position of interest are averaged, and the obtained average value is employed as the data of the position of interest. According to the blurring operator of the 3×3 smoothing filter shown in
(86) In a general image, a brightness difference between pixels that are close to each other is small, and a brightness difference between pixels frequently increases when the distance between the pixels increases. Considering this point, a pixel may be weighted depending on a distance from a pixel of interest. As the weighting, a Gaussian distribution can be used. The Gaussian distribution can be expressed by the following equation.
(87)
(88) In the Gaussian filter, weighting by a Gaussian distribution is used as the predetermined rate. For this reason, a smoothing effect decreases when a value σ in the equation is small. In contrast to this, the smoothing effect increases when the value σ increases.
(89) The low-frequency blurring process can also be performed by using a configuration different from a so-called filter such as a smoothing filter. When the low-frequency component LL is illustrated, a process of further recursively performing wavelet transformation on the low-frequency component LL, performing a high-frequency cutting process on a high-frequency component of the obtained image data, and, thereafter, performing inverse wavelet transformation may be applied as a low-frequency blurring process. The low-frequency blurring process may be performed by using the WT unit 11, the high-frequency cutting unit 12, and the IWT unit 14. According to the process in the example, even though a filter is used in detail, as a whole, the configuration is different from a configuration using a so-called filter such as a smoothing filter.
(90) A decomposition level (in other words, the number of times of execution of wavelet transformation and inverse wavelet transformation) of wavelet transformation in the low-frequency blurring process can be set independently of a decomposition level obtained when the original image data 20 is wavelet-transformed. Moreover, the high-frequency cutting process in the low-frequency blurring process may be the same as a high-frequency cutting process to the image data 21 supplied from the WT unit 11, or different from the high-frequency cutting process to the image data 21.
(91) The first image data 21 obtained after the low-frequency blurring process is performed (more specifically, after the high-frequency cutting process and the low-frequency blurring process are performed) is supplied to the IWT unit 14 as second image data 22.
(92) In this case, in the example in
(93) <Process Flow>
(94)
(95) According to process flow S50, in step S51, an initial setting is performed. For example, the original image data 20 is input to the WT unit 11, and a set value of a decomposition level of wavelet transformation is input to the WT unit 11 and the ROI developing unit 15, and the ROI information 30 is input to the ROI developing unit 15. However, the data and the like need only be supplied before the process is actually executed. Step S52 is executed after the step S51.
(96) In step S52, the WT unit 11 performs wavelet transformation on the original image data 20. The WT unit 11 repeats step S52 the number of times given by a set value of a decomposition level (see loop 1 in
(97) In step S53, the ROI developing unit 15 develops (in other words, applies) the ROI information 30 to the first image data 21 to generate the developed ROI information 35. In this case, although step S53 is executed after step S52, step S53 may be executed before step S52. Furthermore, step S53 may be executed in parallel with step S52. Step S54 is executed after step S53.
(98) In step S54, the high-frequency cutting unit 12 acquires the first image data 21 from the WT unit 11, acquires the developed ROI information 35 from the ROI developing unit 15, and performs a high-frequency cutting process on the first image data 21 based on the developed ROI information 35. Step S55 is executed after step S54.
(99) In step S55, the low-frequency blurring unit 13 acquires the first image data 21 obtained after the high-frequency cutting process from the high-frequency cutting unit 12, acquires the developed ROI information 35 from the ROI developing unit 15, and performs a low-frequency blurring process on the first image data 21 based on the developed ROI information 35. Step S56 is executed after step S55.
(100) In step S56, the IWT unit 14 acquires the second image data 22 corresponding to the first image data 21 obtained after the low-frequency blurring process is performed (more specifically, after the high-frequency cutting process and the low-frequency blurring process are performed) from the low-frequency blurring unit 13, and performs inverse wavelet transformation on the second image data 22.
(101) In this case, in step S56, the IWT unit 14 performs inverse wavelet transformation once (in other words, the decomposition level is returned by 1 stage), and supplies the obtained image data to the low-frequency blurring unit 13 as the third image data 23. Then, the low-frequency blurring unit 13 performs the low-frequency blurring process, based on the developed ROI information 35, on the third image data 23 acquired from the IWT unit 14 (step S55). Specifically, steps S55 and S56 are repeated (see loop 2 in
(102) More specifically, when the decomposition level is 3 (see
(103) Subsequently, the low-frequency blurring process is performed on the low-frequency component LL2, and the low-frequency component LL2 obtained after the low-frequency blurring process and the high-frequency components HL2, LH2, and HH2 obtained after the high-frequency cutting process are synthesized with each other. The synthesis generates the low-frequency component LL1 (see
(104) Furthermore, the low-frequency blurring process is performed on the low-frequency component LL1, and the low-frequency component LL1 obtained after the low-frequency blurring process and the high-frequency components HL1, LH1, and HH1 obtained after the high-frequency cutting process are synthesized with each other. By the synthesis, the image data 23 having the decomposition level 0 is obtained.
(105) When the image data 23 having the decomposition level 0 is obtained, repeating of steps S55 and S56 is ended. Specifically, steps S55 and S56 are repeated the number of times equal to the value of a decomposition level set in step S51. Specifically, the number of times of synthesis is equal to the number of times of decomposition.
(106) When a low-frequency blurring process is performed on the low-frequency component LL2 having the decomposition level 2, the developed ROI information 35 for the low-frequency component LL2 (see
(107) After step S55 and step S56 are repeated, the generated image data 23 having the decomposition level 0 is output from the IWT unit 14 as blurred image data 29 in step S57.
(108) In step S54, it is assumed that the high-frequency cutting process of the non-ROI corresponding portion 37 is performed on all the high-frequency components (at the decomposition level 3, HL3, LH3, HH3, HL2, LH2, HH2, HL1, LH1, and HH1) in the first image data 21. However, the high-frequency cutting process need only be performed not later than inverse wavelet transformation in step S56. For example, the high-frequency cutting process to the high-frequency components HL1, LH1, and HH1 need only be finished not later than inverse wavelet transformation from the decomposition level 1 to the decomposition level 0. Considering this point, the execution order of step S54 is not limited to the example. For example, step S54 may be executed after step S55, or may be executed in parallel with another step.
(109) <Effect or the Like>
(110) According to the image processing apparatus 10 and an image processing method S50, a high-quality blurred image as shown in
(111) In this case, for comparison,
(112) The example in which the low-frequency blurring process and the inverse wavelet transformation are alternatively repeated is described above. In contrast to this, when the low-frequency blurring process is performed at least once, a blur condition that is natural more than that of the comparative image in
(113) Information related to the repeating of the low-frequency blurring process and the inverse wavelet transformation (specifically, information related to a specific decomposition level to which, for execution of the low-frequency blurring process, the decomposition level is returned) may be given to the IWT unit 14, for example, in step S51, as indicated by a dotted-line arrow in
(114) The image data 23 of the decomposition level 0 generated in the IWT unit 14 may be input to the low-frequency blurring unit 13 again. In this case, the third image data 23 of the decomposition level 0 is further applied with the low-frequency blurring process and becomes the blurred image data 29 corresponding to output image data (see a chained-line arrow in
(115) When the ROI information 30 is developed to the image data 21, it is preferred that a condition is satisfied in which the high-frequency cutting process and the low-frequency blurring process to the non-ROI corresponding portion 37 do not influence the ROI corresponding portion 36 of the image data 23 obtained after the inverse wavelet transformation (also including the blurred image data 29). The condition is satisfied to make it possible to prevent a portion in the ROI set in the original image from being blurred.
(116) With respect to this point, in the ROI information 30 illustrated in
(117) According to the developing methods illustrated by using
(118) In the example of the above description, the number of times of execution of inverse wavelet transformation (specifically, the number of times of synthesis) is equal to the number of times of execution of wavelet transformation (specifically, the number of times of decomposition). In this case, a blurred image is generated in the same size as that of the original image.
(119) In contrast to this, the number of time of synthesis may be smaller than the number of times of decomposition. In this case, the blurred image has a size depending on the number of time of synthesis. For example, when the number of times of decomposition is 3 and the number of time of synthesis is 2, the low-frequency component LL1 of the decomposition level 1 (see
(120) In this manner, by using the low-frequency component LL of the third image data 23 having a decomposition level except for the decomposition level 0, the size of the blurred image can be easily adjusted. An output size of a blurred image can be set by, for example, a synthesis level (in other words, the number of times of synthesis), and the set value, for example, in step S51, may be given to the IWT unit 14 as indicated by a dotted-line arrow in
(121) In the image processing apparatus 10 and the image processing method S50, a blurred image is generated by using wavelet-transformed image data. In contrast to this, a non-ROI may be blurred without changing original image data. For example, an enlarged part of a blurred image generated by applying a filter having a blurring operator to the non-ROI of the original image is shown in
(122) When the blurring operator is applied without changing the original image, a difference between the ROI and the non-ROI becomes outstanding near the boundary between the ROI and the non-ROI. For this reason, the enlarged image becomes unnatural (see
(123) In this manner, according to the image processing apparatus 10 and the image processing method S50, in comparison with the case in which a blurring process is performed without changing an original image, a high-quality blurred image can be obtained.
(124) The image processing apparatus 10 can be configured as, for example, a digital signal processor (DSP). In this case, circuits to achieve processes of various elements such as the WT unit 11 (in other words, functions corresponding to the processes) may be fixedly configured. Alternatively, a configuration in which basic elements and circuits are fixedly mounted and have programmable usage patterns may be used.
(125) In the above description, the image processing method S50 is designed to be executed in the image processing apparatus 10. However, the image processing method S50 may be executed by an apparatus having a configuration different from that of the image processing apparatus 10. The image processing method S50 can also be embodied as a program executed by a CPU (Central Processing Unit).
(126) While the invention has been shown and described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is therefore understood that numerous modifications and variations can be devised without departing from the scope of the invention.