Image processing system, server apparatus, image processing method, and image processing program
11295426 · 2022-04-05
Assignee
Inventors
Cpc classification
G01N21/8851
PHYSICS
G06T7/262
PHYSICS
H04N23/00
ELECTRICITY
International classification
G06T7/262
PHYSICS
Abstract
An image processing system which can decide an image processing target region considering a decrease in image quality is provided. The image processing system includes an image acquisition unit that acquires an image obtained by capturing a subject, an image quality determination information acquisition unit that acquires image quality determination information representing a determination result of an image quality in the image, an image processing target region decision unit that decides an image processing target region in the image using the image quality determination information, and an image processing unit that executes at least one of a detection process or a composition process for the image processing target region. A region represented as a logical product of two or more temporary image processing target regions respectively corresponding to two or more pieces of the image quality determination information is decided as the image processing target region.
Claims
1. An image processing system that executes at least one of a detection process of detecting a detection target which is damage in a structure and included in an image and a composition process of calculating a correspondence relationship between a plurality of images and compositing the plurality of images based on the correspondence relationship, the system comprising a processor configured to: acquire an image obtained by capturing a subject; acquire two or more pieces of image quality determination information, each representing a determination result of an image quality in the acquired image; derive two or more temporary image processing target regions respectively corresponding to the two or more pieces of the acquired image quality determination information; decide a logical product of the two or more temporary image processing target regions as an image processing target region in the acquired image; and execute the at least one of the detection process and the composition process for the decided image processing target region.
2. The image processing system according to claim 1, wherein the processor is configured to: perform at least one of: acquiring an imaging condition in the capturing of the acquired image, and analyzing the acquired image to obtain an analysis result of the acquired image; and derive at least one of the two or more temporary image processing target regions using at least one of the acquired imaging condition and the obtained analysis result.
3. The image processing system according to claim 2, wherein the processor is configured to: acquire an imaging angle and a focus position as the imaging condition; and decide a non-end portion of the acquired image that is determined based on the imaging angle and the focus position as the at least one of the two or more temporary image processing target regions.
4. The image processing system according to claim 2, wherein the processor is configured to: acquire an imaging angle, a focus position, a subject distance, a focal length, an F number, and a diameter of a permissible circle of confusion as the imaging condition; and decide a non-end portion of the acquired image that is determined based on the imaging angle, the focus position, the subject distance, the focal length, the F number, and the diameter of the permissible circle of confusion as the at least one of the two or more temporary image processing target regions.
5. The image processing system according to claim 4, wherein the processor is configured to: calculate a depth of field in an imaging range using the subject distance, the focal length, the F number, and the diameter of the permissible circle of confusion; calculate a focal point shift amount representing a distance of a focal point shift in the imaging range using the imaging angle and the focal length; and decide a region in which the calculated focal point shift amount falls in a range of the calculated depth of field as the at least one of the two or more temporary image processing target regions.
6. The image processing system according to claim 2, wherein the processor is configured to: acquire a type of lens and a focus position as the imaging condition; and based on the type of lens and the focus position, in a case where the focus position is in a center portion of an imaging range, decide a region that includes the center portion and is determined from characteristics of the lens as the at least one of the two or more temporary image processing target regions, and in a case where the focus position is in a peripheral portion of the imaging range, decide a region that includes the peripheral portion and is determined from the characteristics of the lens as the at least one of the two or more temporary image processing target regions.
7. The image processing system according to claim 2, wherein the processor is configured to: acquire presence or absence of light emission of a strobe as the imaging condition; and decide a strobe light reaching region in which strobe light radiated to the subject from the strobe reaches and thereby makes the strobe light reaching region brighter than a strobe light non-reaching region as the at least one of the two or more temporary image processing target regions.
8. The image processing system according to claim 7, wherein the processor is configured to: acquire a subject distance as the imaging conditions; and decide the strobe light reaching region that is determined depending on the subject distance as the at least one of the two or more temporary image processing target regions.
9. The image processing system according to claim 2, wherein the processor is configured to: divide an image of an analysis target into a plurality of regions and generate a spatial frequency spectrum distribution of each region; and decide a high image quality region that is determined based on the generated spatial frequency spectrum distribution of each region as the at least one of the two or more temporary image processing target regions.
10. The image processing system according to claim 2, wherein the processor is configured to: divide an image of an analysis target into a plurality of regions and generate a histogram of a gradation value of each region; and decide a high image quality region that is determined based on the generated histogram of the gradation value of each region as the at least one of the two or more temporary image processing target regions.
11. The image processing system according to claim 1, wherein the processor is configured to: store, in a storage, a relationship between the acquired image quality determination information and each of the temporary image processing target regions in association; and acquire each of the temporary image processing target regions corresponding to the image quality determination information from the storage using the acquired image quality determination information.
12. The image processing system according to claim 1, wherein the processor is configured to display, on an image display, an image on which the image processing is performed, and an image processing target exclusion region that is excluded from a target of the image processing.
13. The image processing system according to claim 1, wherein the processor is configured to change the decided image processing target region.
14. The image processing system according to claim 1, wherein the processor is configured to execute a process of detecting at least one of a crevice of a concrete member, a chalk line, free lime, water leakage, stripping, rebar exposure, a float, a crack of a steel member, or corrosion as the detection target.
15. The image processing system according to claim 1, further comprising: a server apparatus; and a client apparatus that is communicably connected to the server apparatus through a network, wherein the server apparatus includes the processor configured to acquire the image obtained by capturing the subject, acquire the two or more pieces of image quality determination information, decide, the image processing target region, and execute the at least one of the detection process and the composition process.
16. The image processing system according to claim 15, wherein the client apparatus includes a transmitter configured to transmit image data representing the captured image to the server apparatus.
17. A server apparatus included in an image processing system that executes at least one of a detection process of detecting a detection target which is damage in a structure and included in an image and a composition process of calculating a correspondence relationship between a plurality of images and compositing the plurality of images based on the correspondence relationship, the apparatus comprising a processor configured to: acquire an image obtained by capturing a subject; acquire two or more pieces of image quality determination information, each representing a determination result of an image quality in the acquired image; derive two or more temporary image processing target regions respectively corresponding to the two or more pieces of the acquired image quality determination information; decide a logical product of the two or more temporary image processing target regions as an image processing target region in the acquired image; and execute the at least one of the detection process and the composition process for the decided image processing target region.
18. An image processing method of executing at least one of a detection process of detecting a detection target which is damage in a structure and included in an image and a composition process of calculating a correspondence relationship between a plurality of images and compositing the plurality of images based on the correspondence relationship, the method comprising: acquiring an image obtained by capturing a subject; acquiring two or more pieces of image quality determination information, each representing a determination result of an image quality in the acquired image; deriving two or more temporary image processing target regions respectively corresponding to the two or more pieces of the acquired image quality determination information; deciding a logical product of the two or more temporary image processing target regions as an image processing target region in the acquired image; and executing the at least one of the detection process and the composition process for the decided image processing target region.
19. The image processing method according to claim 18, wherein: the acquiring the image quality determination information includes performing at least one of: acquiring an imaging condition in the capturing of the acquired image, and analyzing the acquired image to obtain an analysis result of the acquired image; and the deriving the two or more temporary image processing target regions includes deriving at least one of the two or more temporary image processing target regions using at least one of the acquired imaging condition and the obtained analysis result.
20. A non-transitory, computer-readable recording medium which records an image processing program for executing at least one of a detection process of detecting a detection target which is damage in a structure and included in an image and a composition process of calculating a correspondence relationship between a plurality of images and compositing the plurality of images based on the correspondence relationship, the program causing a computer to implement: acquiring an image obtained by capturing a subject; acquiring two or more pieces of image quality determination information, each representing a determination result of an image quality in the acquired image; deriving two or more temporary image processing target regions respectively corresponding to the two or more pieces of the acquired image quality determination information; deciding a logical product of the two or more temporary image processing target regions as an image processing target region in the acquired image; and executing the at least one of the detection process and the composition process for the decided image processing target region.
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)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
(29) Hereinafter, a preferred embodiment of the present invention will be described in accordance with the appended drawings. In the present specification, the same constituents will be designated by the same reference signs, and descriptions of such constituents will not be repeated.
(30) [Summary of Image Processing System]
(31)
(32) <Image Acquisition Unit>
(33) The image acquisition unit 12 acquires image data as a target of image processing that uses the image processing unit 18. An example of the image data is exemplified by image data that is obtained by imaging a subject using an imaging apparatus. An example of the imaging apparatus is exemplified by an electronic camera that can capture a color image. The concept of imaging in the present specification includes filming.
(34) An example of an image pick-up device comprised in the electronic camera is exemplified by a color CCD linear image sensor. CCD is the abbreviation for Charge-Coupled Device and refers to a charge-coupled element.
(35) The color CCD linear image sensor is an image sensor in which a light-receiving element comprising a color filter of each color of R, G, and B is linearly arranged. R denotes red. G denotes green. B denotes blue.
(36) Instead of the color CCD linear image sensor, a color CMOS linear image sensor can be used. CMOS is the abbreviation for Complementary Metal Oxide Semiconductor and refers to a complementary metal oxide film semiconductor.
(37) <Image Quality Determination Information Acquisition Unit>
(38) The image quality determination information acquisition unit 14 acquires image data 20 that is acquired using the image acquisition unit 12. The image quality determination information acquisition unit 14 may acquire EXIF information 22 of the image data 20 illustrated in
(39) As the imaging condition, the image quality determination information acquisition unit 14 may acquire at least one of user designation information 24 designated by a user, user selection information 26 selected by the user, and sensor information 28 acquired from a sensor.
(40) That is, the image processing system 10 may comprise an EXIF information acquisition unit that acquires the EXIF information 22. The image processing system 10 may comprise a user designation information acquisition unit that acquires the user designation information 24. The image processing system 10 may comprise a user selection information acquisition unit that acquires the user selection information 26. The image processing system 10 may comprise a sensor information acquisition unit that acquires the sensor information 28.
(41) The image processing system 10 may comprise an imaging condition acquisition unit that functions as at least one of the EXIF information acquisition unit, the user designation information acquisition unit, the user selection information acquisition unit, and the sensor information acquisition unit. Illustrations of the EXIF information acquisition unit, the user designation information acquisition unit, the user selection information acquisition unit, and the sensor information acquisition unit are not provided. The imaging condition acquisition unit is designated by reference sign 40 and illustrated in
(42) The image quality determination information acquisition unit 14 performs an image quality analysis process on the acquired image data 20 and acquires an image quality analysis result 30. Alternatively, the image quality determination information acquisition unit 14 acquires the imaging condition. The image quality determination information acquisition unit 14 may acquire both of the image quality analysis result 30 and the imaging condition.
(43) The image quality determination information acquisition unit 14 determines the image quality of an image represented by the image data 20 using at least one of the image quality analysis result 30 and the imaging condition. The image quality analysis result 30 is one example of an analysis result of analysis of an image using an analysis unit.
(44) The image quality determination information acquisition unit 14 generates two different types of image quality determination information including first image quality determination information 32A and second image quality determination information 32B as a determination result of the image quality of the image represented by the image data 20. The two different types of image quality determination information may be read as two different pieces of image quality determination information.
(45) The first image quality determination information 32A and the second image quality determination information 32B may be generated using two different types of image quality analysis results 30. The first image quality determination information 32A and the second image quality determination information 32B may be generated using two different types of imaging conditions. The two different types of imaging conditions may be read as two different imaging conditions.
(46) The first image quality determination information 32A may be generated using the image quality analysis result 30, and the second image quality determination information 32B may be generated using the imaging condition. The first image quality determination information 32A may be generated using the imaging condition, and the second image quality determination information 32B may be generated using the image quality analysis result 30.
(47) In the present embodiment, an aspect in which two types of image quality determination information are generated is illustrated. Alternatively, two or more types of image quality determination information may be generated, or three or more types of image quality determination information may be generated. Details of the image quality determination using the image quality determination information acquisition unit 14 will be described below.
(48) <Image Processing Target Region Decision Unit>
(49) The image processing target region decision unit 16 decides an image processing target region in the image data 20 based on the first image quality determination information 32A and the second image quality determination information 32B. The image processing target region decision unit 16 decides a first temporary image processing target region based on the first image quality determination information 32A. In addition, the image processing target region decision unit 16 decides a second temporary image processing target region based on the second image quality determination information 32B. That is, the image processing target region decision unit 16 derives two or more temporary image processing target regions corresponding to the two types of image quality determination information.
(50) The two or more different temporary image processing target regions are exemplified by a region excluding an out-of-focus region caused by an imaging angle, a region excluding an out-of-focus region caused by the characteristics of the lens, a region excluding a region that becomes dark due to strobe light emission, a region excluding an excessively bright region, a region excluding an excessively dark region, and a region excluding a region having broken gradation.
(51) The image processing target region decision unit 16 combines the two or more temporary image processing target regions. An example of the combining is exemplified by an example in which a region represented as the logical product of the two or more temporary image processing target regions is decided as the image processing target region. The image processing target region decision unit 16 generates image processing target region information 34 that represents the image processing target region.
(52) <Image Processing Unit>
(53) The image processing unit 18 acquires the image data 20 and the image processing target region information 34. The image processing unit 18 performs image processing on the image processing target region in the image data 20 and generates an image processing result 36.
(54) An example of the image processing using the image processing unit 18 is exemplified by a detection process of detecting a detection target included in the image represented by the image data 20. Another example of the image processing using the image processing unit 18 is exemplified by a composition process of compositing divided images obtained by dividing and imaging a subject.
(55) <Specific Example of Image Processing>
(56)
(57) The divided image 100, the divided image 102, and the divided image 104 illustrated in
(58) Regions that are designated by reference sign 108 and reference sign 110 and illustrated in the divided image 100 are out-of-focus regions. Regions that are designated by reference sign 112 and reference sign 114 and illustrated in the divided image 104 are out-of-focus regions. The out-of-focus region is a region that is out of focus. A region excluding the out-of-focus region is an in-focus region that is in focus.
(59) In the divided image 100, the out-of-focus region 108 and the out-of-focus region 110 are present in both end portions of the divided image 100 in the lateral direction. In the divided image 104, the out-of-focus region 112 and the out-of-focus region 114 are present in both end portions of the divided image 104 in the lateral direction.
(60) In other words, the in-focus region is present in the non-end portion of the divided image 100 in the lateral direction and the non-end portion of the divided image 104 in the lateral direction. The non-end portion is a region excluding both end portions. For the up-down direction, a region excluding both end portions in the up-down direction is a non-end portion in the up-down direction.
(61) Meanwhile, the out-of-focus region is not present in the divided image 102. In other words, the in-focus region is present across the whole range of the divided image 102 in the lateral direction.
(62) The lateral direction of the divided image is a direction in which the optical axis of the imaging apparatus in the subject moves in the pan operation of the imaging apparatus. The longitudinal direction of the divided image is a direction in which the optical axis of the imaging apparatus in the subject moves in a tilt operation of the imaging apparatus. The optical axis of the imaging apparatus represents the optical axis of an optical image formation system comprised in the imaging apparatus.
(63) An overlapping region is present in the divided image 100 and the divided image 102. An overlapping region is present in the divided image 102 and the divided image 104. A composite image 106 illustrated in
(64) In the composite image 106, a region designated by reference sign 116 is a superimposed region between the divided image 100 and the divided image 102. In the composite image 106, a region designated by reference sign 118 is a superimposed region between the divided image 102 and the divided image 104.
(65) In a case where the pixels of the out-of-focus region 110 of the divided image 100 are included in the superimposed region 116 of the composite image 106, the superimposed region 116 in the composite image 106 is blurred due to the pixels of the out-of-focus region 110 of the divided image 100.
(66) Similarly, in a case where the pixels of the out-of-focus region 112 of the divided image 104 are included in the superimposed region 118 of the composite image 106, the superimposed region 118 in the composite image 106 is blurred due to the pixels of the out-of-focus region 112 of the divided image 104.
(67) The image processing system according to the present embodiment uses the pixels of the divided image 102 which is not out of focus for the superimposed region 116 of the composite image 106. In addition, the image processing system uses the pixels of the divided image 102 which is not out of focus for the superimposed region 118 of the composite image 106. Accordingly, the occurrence of blurriness in the superimposed region 116 and the superimposed region 118 of the composite image 106 may be avoided.
(68) [Description of Decision of Image Processing Target Region Using Imaging Condition]
(69)
(70) The imaging condition acquisition unit 40 may acquire at least one condition of the imaging angle, a subject distance, a focal length, an F number, a permissible circle of confusion diameter, the type of lens, the type of camera, a focus position, the presence or absence of strobe light emission, and the like as the imaging condition.
(71) The imaging condition acquisition unit 40 may acquire the imaging condition included in the EXIF information 22 transmitted from the image acquisition unit 12 as the imaging condition. The imaging condition acquisition unit 40 may acquire the imaging condition designated by the user, the imaging condition selected by the user, and the imaging condition obtained using the sensor as the imaging condition. The imaging condition acquisition unit 40 may acquire the imaging condition linked to the model of the camera.
(72) The imaging condition acquisition unit 40 transmits imaging condition information 44 representing the imaging condition to the image processing target region decision unit 16. The imaging condition information 44 is one example of the first image quality determination information 32A or the second image quality determination information 32B illustrated in
(73) In the image processing target region database 42, the relationship between the imaging condition and the temporary image processing target region is stored as a database. Based on the imaging condition as an index, the image processing target region decision unit 16 can acquire the temporary image processing target region corresponding to the imaging condition using the image processing target region database 42.
(74) By using the temporary image processing target region which is acquired from the image processing target region database 42 and corresponds to the imaging condition, the image processing target region decision unit 16 decides the image processing target region as a target of the image processing using the image processing unit 18. The image processing target region database 42 is one example of a storage unit in which the relationship between the image quality determination information and the temporary image processing target region is stored in association with each other.
(75) That is, the image processing target region decision unit 16 decides one or more temporary image processing target regions using the imaging condition.
(76) The image processing target region decision unit 16 may decide the image processing target region as a region represented by the logical product of the temporary image processing target region based on the imaging condition and the temporary image processing target region based on the image quality analysis result 30 illustrated in
(77) The image processing target region decision unit 16 may decide two or more different temporary image processing target regions using two or more different types of imaging conditions. The image processing target region decision unit 16 may decide the image processing target region as a region represented by the logical product of two or more different temporary image processing target regions.
(78) The image processing target region decision unit 16 may decide an image processing target exclusion region. The image processing target exclusion region is a region that is excluded from the target of the image processing using the image processing unit 18. The same applies to the image processing unit 18 in the image processing system 10 illustrated in
(79) The image processing target region decision unit 16 transmits the image processing target region information 34 to the image processing unit 18. The image processing unit 18 executes the image processing based on the image data 20 and the image processing target region information 34 and outputs the image processing result 36.
(80) [Specific Example of Imaging Condition]
(81) A specific example of imaging information acquired using the imaging condition acquisition unit 40 illustrated in
(82) The size of an imaging element for each camera may be perceived from the model of the camera. The size of the imaging element can be used for calculating the depth of field as the permissible circle of confusion diameter. In the case of a camera in which the lens is not replaceable, the characteristics of the lens for each camera may be perceived from the model of the camera. The characteristics of the lens can be used for determining the presence or absence of the field curvature.
(83) In the image processing target region database 42 illustrated in
(84) The user may designate or select the size of the imaging element. The user may designate or select the characteristics of the lens.
(85) In the case of the camera in which the lens is not replaceable, the type of lens may be acquired as the imaging condition. The characteristics of the lens may be perceived from the type of lens. The characteristics of the lens can be used for determining the presence or absence of the field curvature.
(86) In the image processing target region database 42 illustrated in
(87) At least one of the subject distance and the imaging angle may be perceived from the imaging position condition. Details of the subject distance and the imaging angle will be described below.
(88) At least one of the focus position, the focal length, the F number, and the presence or absence of strobe light emission may be perceived from the setting of the camera or the setting of the lens.
(89) A specific example of the imaging condition that may be acquired from metadata of the image is exemplified by the model of the camera, the type of lens, and the setting of the camera. The setting of the camera may be the setting of the lens. The metadata of the image is information that is not the image data and is related to the image data. An example of the metadata is exemplified by the EXIF information 22 illustrated in
(90) The model of the camera, the type of lens, and the setting of the camera or the setting of the lens are described above. Descriptions of details of the model of the camera, the type of lens, and the setting of the camera or the setting of the lens will not be repeated.
(91) A specific example of the imaging condition that may be acquired using the sensor is exemplified by the imaging position and the imaging angle. The subject distance may be perceived from the imaging position condition. In the case of imaging using a robot, the imaging condition acquisition unit 40 illustrated in
(92) [Description of Decision of Image Processing Target Region Using Image Quality Analysis Result]
(93)
(94) The image quality analysis result acquisition unit 50 illustrated in
(95) Determination information for out-of-focus and shake may be acquired from the spectrum distribution of the spatial frequency in each analysis region. Determination information for an excessively dark region, an excessively bright region, and a region having broken gradation may be acquired from the shade histogram of each analysis region in the gray scale image. The image quality determination information acquisition unit 14 transmits the acquired image quality analysis result 30 to the image processing target region decision unit 16.
(96) The image processing target region decision unit 16 decides one or more temporary image processing target regions by setting a threshold value 54 for the image quality analysis result 30. The threshold value 54 may be a predetermined value that is set in advance, or a designated value that is designated by the user.
(97) The image processing target region decision unit 16 may decide the image processing target region as a region represented by the logical product of the temporary image processing target region decided using the image quality analysis result 30 and the temporary image processing target region decided using the imaging condition.
(98) The image processing target region decision unit 16 may decide two or more different temporary image processing target regions using two or more different types of image quality analysis results. The image processing target region decision unit 16 may decide the image processing target region as a region represented by the logical product of two or more different temporary image processing target regions decided using two different types of image quality analysis results.
(99) The image processing target region decision unit 16 transmits the image processing target region information 34 to the image processing unit 18. The image processing unit 18 executes the image processing based on the image data 20 and the image processing target region information 34 and outputs the image processing result 36.
(100) Various processing units illustrated in
(101) Various processors include a CPU that is a general-purpose processor functioning as various processing units by executing a program, a PLD that is a processor such as an FPGA of which the circuit configuration can be changed after manufacturing, a dedicated electric circuit that is a processor such as an ASIC having a circuit configuration dedicatedly designed to execute a specific process, and the like. The program is the same definition as software.
(102) FPGA is the abbreviation for Field Programmable Gate Array. PLD is the abbreviation for Programmable Logic Device. ASIC is the abbreviation for Application Specific Integrated Circuit.
(103) One processing unit may be configured with one of the various processors or may be configured with two or more processors of the same type or different types. For example, one processing unit may be configured with a plurality of FPGAs or a combination of a CPU and an FPGA. In addition, a plurality of processing units may be configured with one processor.
(104) As an example of configuring a plurality of processing units with one processor, a first form is configuring one processor with a combination of one or more CPUs and software and implementing a plurality of processing units by the processor as represented by a computer such as a client and a server.
(105) A second form is using a processor that implements the function of the whole system including the plurality of processing units using one IC chip as represented by an SoC and the like. Various processing units are configured using one or more of the various processors as a hardware structure. Furthermore, the hardware structure of the various processors is more specifically an electric circuit in which circuit elements such as a semiconductor element are combined.
(106) SoC is the abbreviation for System On Chip. IC is the abbreviation for Integrated Circuit. The electric circuit may be represented as circuitry using English representation.
(107) [Detailed Description of Image Quality Analysis]
(108) Next, the image quality analysis using the image quality analysis result acquisition unit 50 illustrated in
(109)
(110) In the present embodiment, a plurality of analysis regions are set in the divided image 100 in each of the longitudinal direction and the transverse direction. The divided image may be divided in each of any two orthogonal directions.
(111) While the analysis region 150 having a square shape is illustrated in the present embodiment, any shape such as a polygonal shape and a circle other than the square shape may be applied as the shape of the analysis region 150. Furthermore, the number of pixels of the analysis region 150 can be appropriately determined.
(112) The image quality analysis result acquisition unit 50 illustrated in
(113) <One Example of Image Quality Analysis Process>
(114) Next, acquisition of a spatial frequency spectrum distribution in each analysis region will be described as one example of the image quality analysis process result. FFT is applied in the acquisition of the spatial frequency spectrum distribution. FFT is the abbreviation for fast Fourier transform that is an English representation representing a fast Fourier transformation process.
(115)
(116) A center portion in the vicinity of the center 162 of the spatial frequency spectrum distribution image 160 represents a region in which a low frequency component spectrum 166 is present. A peripheral portion in the vicinity of the corner 164 of the spatial frequency spectrum distribution image 160 represents a region in which a high frequency component spectrum 168 is present.
(117) The center portion in the vicinity of the center 162 of the spatial frequency spectrum distribution image 160 is a region that includes the center 162 of the spatial frequency spectrum distribution image 160. The center portion is determined depending on the low frequency component.
(118) The peripheral portion in the vicinity of the corner 164 of the spatial frequency spectrum distribution image 160 is a region that includes the corner 164 of the spatial frequency spectrum distribution image 160. The peripheral portion is determined depending on the high frequency component.
(119) The high frequency component and the low frequency component are appropriately determined depending on the resolution of the image. Any high frequency component and low frequency component that represent a relative relationship between frequency components may be used. The unit of the spatial frequency is represented using the multiplicative inverse of the unit of a length. The unit of the length may be millimeter or inch.
(120)
(121)
(122) Accordingly, a determination as to whether to set the analysis region as the temporary image processing target region or the image processing target exclusion region may be performed depending on the presence or absence of the high frequency component spectrum 166 of the spatial frequency spectrum distribution image 160 derived from each analysis region.
(123) The analysis region corresponding to the spatial frequency spectrum distribution image 160 illustrated in
(124)
(125) In a case where a spectrum is present in the high frequency component determination region 170, it may be determined that the high frequency component spectrum is present in the spatial frequency spectrum distribution image 160. In a case where the high frequency component spectrum is present in the spatial frequency spectrum distribution image 160, it is determined that the analysis region is a non-out-of-focus region or a non-shaky region. The non-out-of-focus analysis region or the non-shaky analysis region is decided as the temporary image processing target region.
(126) Meanwhile, in a case where a spectrum is not present in the high frequency component determination region 170, it may be determination the high frequency component spectrum is not present in the spatial frequency spectrum distribution image 160. In a case where the high frequency component spectrum is not present in the spatial frequency spectrum distribution image 160, it is determined that the analysis region is an out-of-focus region or a shaky region. The out-of-focus analysis region or the shaky analysis region is decided as the image processing target exclusion region. The spatial frequency spectrum distribution image 160 is one example of the spatial frequency spectrum distribution.
(127) A determination threshold value is denoted by r that decides the high frequency component determination region 170. The determination threshold value may be a predetermined value that is set in advance, or a designated value that may be designated by the user. An example of the determination threshold value is exemplified by ¼ of the number of pixels of the analysis region in the longitudinal direction or ¼ of the number of pixels of the analysis region in the lateral direction. For example, in a case where the number of pixels of the analysis region in the longitudinal direction is 100, and the number of pixels of the analysis region in the lateral direction is 100, the determination threshold value r may be set to 25 pixels. Here, ¼ is for illustrative purposes. An arbitrary ratio may be applied.
(128) While an example in which the determination threshold value is represented using the number of pixels is illustrated in
(129) <Another Example of Image Quality Analysis Process>
(130) Next, the acquisition of the shade histogram in each analysis region will be described as another example of the image quality analysis process result.
(131) The shade value of each pixel of the gray scale image is calculated using R×0.30+G×0.59+B×0.1. In the expression, R denotes the shade value of red. G denotes the shade value of green. B denotes the shade value of blue. A color conversion look-up table from RGB into a gray scale can be applied in the conversion from the color image into the gray scale image. The conversion from the color image into the gray scale image is for illustrative purposes. Other conversion expressions for conversion into an image from which the shade histogram can be calculated may be used.
(132) The horizontal axis of the shade histogram 180 of the analysis region illustrated in
(133) In a case where the analysis region is excessively dark, the frequency of the shade histogram 180 is biased to a dark side. In a case where the analysis region is excessively bright, the frequency of the shade histogram 180 is biased to a bright side.
(134) A determination as to whether each analysis region is an excessively bright region or an excessively dark region can be performed using the shade histogram of each analysis region. The histogram of each shade value is denoted by G(i). The shade value is denoted by i. In the present embodiment, an integer greater than or equal to 0 and smaller than or equal to 255 is used for i.
(135) A shade value threshold value of the excessively bright region is denoted by k.sub.b, and a pixel threshold value of the excessively bright region is denoted by h.sub.b. The analysis region that satisfies Expression 1 below may be determined as the excessively bright region. The excessively bright region may be set as the image processing target exclusion region.
(136)
(137) That is, in a case where the ratio of the number of pixels having the shade value k.sub.b or higher to the total number of pixels of the analysis region is greater than or equal to h.sub.b, the analysis region is determined as the excessively bright region. The shade value threshold value k.sub.b of the excessively bright region and the pixel threshold value h.sub.b of the excessively bright region may be predetermined values that are set in advance, or may be designated values that may be designated by the user.
(138) An example of the shade value threshold value k.sub.b of the excessively bright region is exemplified by 205. An example of the pixel threshold value h.sub.b of the excessively bright region is exemplified by 0.5. In a case where 50 percent of all pixels of the analysis region have the shade value of 205 or higher, the analysis region is determined as the excessively bright region. The excessively bright region is set as the image processing target exclusion region.
(139) The shade threshold value of the excessively dark region is denoted by k.sub.d, and the pixel threshold value of the excessively dark region is denoted by h.sub.d. The analysis region that satisfies Expression 2 below may be determined as the excessively dark region. The excessively dark region may be set as the image processing target exclusion region.
(140)
(141) An example of the shade threshold value k.sub.d of the excessively dark region is exemplified by 50. An example of the pixel threshold value h.sub.d of the excessively dark region is exemplified by 0.5. In a case where 50 percent of all pixels of the analysis region has the shade value of 50 or lower, the analysis region is determined as the excessively dark region. The excessively dark region is set as the image processing target exclusion region.
(142) Meanwhile, a region that is not determined as the excessively bright region, and a region that is not determined as the excessively dark region may be set as the temporary image processing target region. That is, the analysis region that does not satisfy the condition illustrated in Expression 1 and the condition illustrated in Expression 2 may be set as the temporary image processing target region.
(143) The region that is not determined as the excessively bright region, and the region that is not determined as the excessively dark region are one example of a high image quality region that is determined based on a histogram of a gradation value. The shade histogram 180 is one example of the histogram of the gradation value.
(144) The frequency of the analysis region having broken gradation on a shade side is present at the shade value 0 of the shade histogram 180. The frequency of the analysis region having broken gradation on a highlight side is present at the shade value 255 of the shade histogram 180.
(145) That is, in a case where a determination threshold value for broken gradation on the shade side is denoted by T.sub.d, the analysis region that satisfies G(0)>T.sub.d may be determined as the region having broken gradation on the shade side. The region having broken gradation on the shade side may be set as the image processing target exclusion region.
(146) In addition, in a case where a determination threshold value for broken gradation on the highlight side is denoted by T.sub.b, the analysis region that satisfies G(255)>T.sub.b may be determined as the region having broken gradation on the highlight side. The region having broken gradation on the highlight side may be set as the image processing target exclusion region.
(147) Meanwhile, a region that is not determined as the region having broken gradation on the shade side, and a region that is not determined as the region having broken gradation on the highlight side may be set as the temporary image processing target region. That is, the analysis region that does not satisfy G(0)>T.sub.d and G(255)>T.sub.b may be set as the temporary image processing target region.
(148) The analysis region that does not satisfy G(0)>T.sub.d and G(255)>T.sub.b is one example of the high image quality region that is determined based on the histogram of the gradation value.
(149) [Description of Decision of Temporary Image Processing Target Region Using Imaging Condition]
(150) <Example in which Imaging Angle and Focus Position are Used>
(151) Next, decision of the temporary image processing target region using the imaging condition will be described. First, an example in which the imaging angle and the focus position are used as the imaging condition will be described.
(152)
(153) A divided image 206 is an image that is obtained by performing the tilt operation of the imaging apparatus 200, directing the optical axis of the imaging apparatus 200 by α degrees upward with respect to the horizontal direction, and imaging the subject 202. A divided image 208 is an image that is obtained by performing the tilt operation of the imaging apparatus 200, directing the optical axis of the imaging apparatus 200 by β degrees upward with respect to the horizontal direction, and imaging the subject 202. The angle α and the angle β have a relationship of α<β.
(154)
(155) A frame designated by reference sign 214 in the divided image 206 and the divided image 208 represents a boundary between a non-out-of-focus region that is in focus with respect to the bridge 210, and an out-of-focus region that is not in focus with respect to the bridge 210. The inside of the frame 214 is the non-out-of-focus region, and the outside of the frame 214 is the out-of-focus region. The frame 214 is included in the non-out-of-focus region.
(156) In the divided image 206 and the divided image 208 illustrated in
(157)
(158) The divided image 206A illustrated in
(159) That is, a region that is separated from the focus position in a direction in which the angle with respect to the subject changes deviates from the depth of field and is out of focus. In a case where the imaging angle with respect to the imaging apparatus as a reference extends in the up-down direction of the imaging apparatus by performing the tilt operation of the imaging apparatus, at least one of the upper end portion and the lower end portion of the divided image is out of focus.
(160) In a case where the imaging angle with respect to the imaging apparatus as a reference extends in the left-right direction of the imaging apparatus by performing the pan operation of the imaging apparatus, at least one of the right end portion and the left end portion of the divided image is out of focus. The up-down direction may be read as the longitudinal direction. The left-right direction may be read as the lateral direction.
(161) In
(162) The relationship among the focus position, the imaging angle, and the non-out-of-focus region is stored as a database in the image processing target region database 42 illustrated in
(163) A non-main subject such as a background in the divided image 204, the divided image 206, and the divided image 208 illustrated in
(164) In other words, all divided images can be handled as the same plane, and the temporary image processing target region in the divided image can be decided based on blurriness or shake of the main subject.
(165) <Example in which Depth of Field and Focal Point Shift Amount are Calculated>
(166) Next, another example of the decision of the temporary image processing target region using the imaging condition will be described. Hereinafter, an example in which the imaging angle, the focus position, the depth of field, the focal length, the F number, and the permissible circle of confusion are used as the imaging condition will be described.
(167) Specifically, the depth of field and a focal point shift amount that represents the distance of a focal point shift in the imaging range are calculated, and a region 229 of which the focal point shift amount falls in the depth of field is decided as the temporary image processing target region. A region in which the focal point shift amount does not fall in the depth of field is decided as the image processing target exclusion region. An illustration of the region in which the focal point shift amount does not fall in the depth of field is not provided.
(168)
(169)
(170) In a case where the front depth of field D.sub.N in Expression 3, the rear depth of field D.sub.f in Expression 4, and the depth of field in Expression 5 are in units of millimeters, the permissible circle of confusion diameter, the subject distance, and the focal length in Expression 3 and Expression 4 are in units of millimeters.
(171) The permissible circle of confusion diameter means the diameter of the permissible circle of confusion. The size of the imaging element comprised in the imaging apparatus 200 is applied as the permissible circle of confusion diameter.
(172) Reference sign 220 in
(173) The longitudinal direction represents a direction in which a broken line representing the in-focus plane 220 illustrated in
(174) The imaging range in the lateral direction is calculated by dividing a value obtained by multiplying the subject distance with the size of the sensor in the lateral direction by the focal length. A unit that represents a length is used for the imaging range in the lateral direction.
(175) The lateral direction represents a direction that is orthogonal to the longitudinal direction and passes through the page of
(176) Reference sign 226 illustrated in
(177) The imaging condition acquisition unit 40 illustrated in
(178)
(179)
(180) <Example in which Type of Lens and Focus Position are Used>
(181) Next, another example of the decision of the temporary image processing target region using the imaging condition will be described. Hereinafter, an example in which the type of lens and the focus position are used as the imaging condition will be described. In a case where the imaging apparatus is a fixed lens type, the type of lens may be specified using the type of camera.
(182)
(183)
(184)
(185)
(186)
(187) The relationship among the type of lens, the focus position, and the non-out-of-focus region is stored as a database in the image processing target region database 42 illustrated in
(188) The non-out-of-focus region 260 illustrated in
(189) <Example in which Presence or Absence of Strobe Light Emission is Used>
(190) Next, another example of the decision of the temporary image processing target region using the imaging condition will be described. Hereinafter, an example in which the presence or absence of strobe light emission is used as the imaging condition will be described. Specifically, the peripheral portion is dark in the strobe light emission. Thus, a bright region other than the peripheral portion is set as the temporary image processing target area. The dark area which is the peripheral portion is set as the image processing target exclusion region.
(191)
(192) A region that is likely to be dark differs depending on the position of the strobe in the imaging apparatus. For example, in a case where the strobe is arranged in the upper portion of the imaging apparatus, the lower side of the captured image is likely to be dark. In a case where the subject distance is relatively decreased, the bright region is relatively decreased. In a case where the subject distance is relatively increased, the bright region is relatively increased.
(193) Reference sign 274 illustrated in
(194) That is, the boundary 274 in a case where the subject distance is relatively decreased moves in a direction in which the area of the strobe light reaching region 270 is relatively decreased and the area of the strobe light non-reaching region 272 is relatively increased.
(195) In a case where the subject distance is relatively increased, the boundary 274 moves in a direction indicated by an arrow line designated by reference sign 278. That is, the boundary 274 in a case where the subject distance is relatively increased moves in a direction in which the area of the strobe light reaching region 270 is relatively increased and the area of the strobe light non-reaching region 272 is relatively decreased.
(196) The relationship between the subject distance and the strobe light reaching region 270 or the strobe light non-reaching region 272 is stored in advance as a database in the image processing target region database 42 illustrated in
(197) [Description of Decision of Image Processing Target Region]
(198) Next, decision of the image processing target region will be described.
(199) In the example illustrated in
(200) A region that is represented using the logical product of the first temporary image processing target region 300 and the second temporary image processing target region 302 based on the effect of each factor is set as the image processing target region 304 of the divided image 206.
(201) In other words, in the divided image 206, it is assumed that the first temporary image processing target region 300 based on the imaging angle corresponds to 0, and the image processing target exclusion region 306A corresponds to 1. In addition, in the divided image 206, it is assumed that the second temporary image processing region 302 based on the lens characteristics corresponds to 0, and an image processing target exclusion region 306B corresponds to 1.
(202) A region that is represented using the logical product of the image processing target exclusion region 306A and the image processing target exclusion region 306B based on the effect of each factor is set as an image processing target exclusion region 306 of the divided image 206.
(203) The image processing target region 304 of the divided image 206 illustrated in the lower part of
(204) The image processing target region may be decided using the temporary image processing target region which is decided using the image quality analysis result, and the temporary image processing target region which is decided using the imaging condition. The image processing target region may be decided as the logical product of two different types of temporary image processing regions which are decided using two different types of image quality analysis results.
(205) The logical product may include an aspect in which the first temporary image processing target region is decided, and then, the second temporary image processing target region is decided by limiting the processing region to the first temporary image processing target region. For example, the first temporary image processing target region may be decided for the divided image based on the imaging condition, and the image processing target region may be decided by acquiring the image quality analysis result using the decided first temporary image processing target region as a target.
(206) [Image Processing]
(207) An image processing method according to the present embodiment is applied to only damage detection, only image composition, and both of the damage detection and the image composition. Both of the damage detection and the image composition includes composition of the damage detection result. Hereinafter, the damage detection and the image composition will be described in detail.
(208) <Damage Detection Process>
(209) In a damage detection process, damage is detected for the image processing target region in the image obtained by capturing using the imaging apparatus. A damage detection apparatus that is prepared in advance is applied in the damage detection. In the damage detection process, the damage detection is executed for the image processing target region using the damage detection apparatus.
(210) An example of the subject as a target of the damage detection is exemplified by a structure such as a wall, a pillar, a ceiling, and a window of a building, a road, a tree, a rock face, a sea surface, a ship, a vehicle, and the like.
(211) An example of damage in the wall and the pillar of the building is exemplified by a crevice of a concrete member, free lime, water leakage, stripping, rebar exposure, a float, a crack of a steel member, corrosion, a chalk line drawn on the wall or the like, and the like. Another example of the damage is exemplified by breakage, loss, a hole, discoloration, peeling of a coating, corrosion, and the like in the structure.
(212) <Image Composition Process>
(213) An image composition process includes an image association step and an image combining step. The image association process step includes a feature point extraction step, a correspondence point extraction step, and a projective transformation matrix calculation step.
(214) An image association process is executed for all divided images. An image combining process may be executed for only the image processing target region. The image combining process may be executed by prioritizing the image processing target region.
(215) In the image combining process, a blending process or an overwriting process is executed for a superimposed region that extends in two divided images. The blending process or the overwriting process is executed for only pixels included in the image processing target region.
(216) The blending process is a process of blending the pixels of the two divided images included in the superimposed region in accordance with a predetermined blending process rule. The overwriting process is a process of overwriting the superimposed region using the pixels of any one of the two divided images constituting the superimposed region. In other words, the overwriting process is a process of replacing the superimposed region with any one of the two divided images constituting the superimposed region.
(217) In a case where the superimposed region does not include the image processing target region, the pixels of the image processing target exclusion region may be used in the processing of the superimposed region. In a case where the superimposed region does not include the image processing target region, the pixel values of the superimposed region may be set to a predetermined value.
(218) An example of the predetermined value is exemplified by a pixel value representing black and a pixel value representing white. An example of the pixel value representing black is exemplified by the minimum pixel value. An example of the pixel value representing white is exemplified by the maximum pixel value.
(219) The pixels of each divided image are used in a single region that is a region other than the superimposed region and is configured using a single divided image.
(220)
(221) In the image association process step, an association among the divided image 204, the divided image 206, the divided image 208, and the composite image 209 is decided. First, in the feature point extraction step, the feature point of each of the divided image 204, the divided image 206, and the divided image 208 is extracted. Specifically, the coordinates of the feature point are extracted. The coordinates are coordinates set in the divided image 204, the divided image 206, and the divided image 208. For example, the coordinates are exemplified by coordinates in a two-dimensional orthogonal coordinate system.
(222) Next, in the correspondence point extraction step, a correspondence point that corresponds to the feature point of each of the divided image 204, the divided image 206, and the divided image 208 in the composite image 209 is extracted. In the projective transformation matrix calculation step, the coordinates of the correspondence point corresponding to the coordinates of the feature point of each of the divided image 204, the divided image 206, and the divided image 208 in the composite image 209 are calculated. Details of the projective transformation matrix calculation are disclosed in Paragraph 0053 of JP2004-072533A.
(223) A region 320 in the composite image 209 illustrated in
(224) A region 324 in the composite image 209 is a region that corresponds to the image processing target region 206B of the divided image 206. A region 326 in the composite image 209 is a region that corresponds to an image processing target exclusion region 206C on the upper side of the divided image 206.
(225) A region 328 in the composite image 209 is a region that corresponds to an image processing target exclusion region 208C of the divided image 208. A region 330 in the composite image 209 is a region that corresponds to the image processing target region 208B of the divided image 208.
(226) By doing so, the correspondence relationship among the divided image 204, the divided image 206, the divided image 208, and the composite image 209 is derived.
(227) In the image combining step, a combining process of combining the divided image 204, the divided image 206, and the divided image 208 is executed. The blending process or the overwriting process is executed for a superimposed region 352 in the composite image 209.
(228) The superimposed region 352 is configured with a region 352A and a region 352B. The region 352A is a region in which the divided image 204 and the image processing target exclusion region of the divided image 206 extend. In the region 352A, the pixels of the divided image 204 are employed. The region 352B is a region in which the divided image 204 and the image processing target region 206B of the divided image 206 extend. In the region 352B, the pixels of the divided image 204 may be used, or the pixels of the image processing target region 206B of the divided image 206 may be used. In the region 352B, the pixels of the divided image 204 and the pixels of the image processing target region 206B of the divided image 206 may be blended.
(229) A superimposed region 354 is configured with a region 354A and a region 354B. The region 354A is a region in which the image processing target region 206B of the divided image 206 and the image processing target exclusion region 208C of the divided image 208 extend. In the region 354A, the pixels of the image processing target region 206B of the divided image 206 are used.
(230) The region 354B is a region in which the image processing target exclusion region 206C of the divided image 206 and the image processing target exclusion region 208C of the divided image 208 extend. In the region 354B, the pixels of the image processing target exclusion region 206C of the divided image 206 may be used, or the pixels of the image processing target exclusion region 208C of the divided image 208 may be used.
(231) In the region 354B, the pixels of the image processing target exclusion region 206C of the divided image 206 and the pixels of the image processing target exclusion region 208C of the divided image 208 may be blended. A predetermined pixel value such as the pixel value representing white or the pixel value representing black may be applied in the region 354B.
(232) A region 356A is a region that corresponds to the image processing target exclusion region 208C of the divided image 208. In the region 356A, the pixels of the image processing target exclusion region 208C of the divided image 208 may be used, or a predetermined pixel value such as the pixel value representing white or the pixel value representing black may be applied.
(233) The image processing target exclusion region 356 in the composite image 209 is configured with the region 354B and the region 356A. A process rule for the image processing target exclusion region is used for the image processing target exclusion region 356. An example of the process rule for the image processing target exclusion region is exemplified by the process for the region 354B and the process for the region 356A.
(234) The following process rule is applied in the image combining process. In a case where a plurality of image processing target regions are present, the blending process or the pixels of any one image processing target region are employed. This rule applies to the region 324 in the composite image 209 illustrated in
(235) In a case where one image processing target region is present, the pixels of the image processing target region are employed. This rule applies to a region 340, a region 344, and a region 350 in the composite image 209 illustrated in
(236) In a case where the image processing target region is not present, the blending process, the pixels of any one image processing target exclusion region, or the predetermined pixel value is employed. This rule applies to a region 346 and a region 348 in the composite image 209 illustrated in
(237) <Damage Detection Process and Image Composition Process>
(238) In a case where the damage detection process and the image composition process are executed, a process of compositing the damage detection result may be executed. An example of the composition of the damage detection result is exemplified by an example in which a crevice is detected in each of the divided image 204, the divided image 206, and the divided image 208 illustrated in
(239) The composite image obtained by compositing the divided image 204, the divided image 206, and the divided image 208 in which the crevice is detected is illustrated as an image processing result image 209B in
(240) In the composition of the damage detection result, the damage detection result is composited based on the correspondence relationship between the divided images. An example of the correspondence relationship between the divided images is exemplified by the projective transformation matrix. In the superimposed region, the detection result of any divided image included in the image processing target region is employed and composited.
(241) The image processing target region in the damage detection may be set as the image processing target region in the image composition process. The image processing target region in the image composition process may be derived separately from the image processing target region in the damage detection.
(242) [Display of Image Processing Result]
(243)
(244) The image processing result image 209A or the image processing result image 209B illustrated in
(245) In the image processing result image 209A, a frame that indicates an image processing target exclusion region 209C is displayed. In the example illustrated in
(246) The image processing result image 209B illustrated in
(247) In the display of the image processing result, in a case where the image processing target region is present in the image processing result image, the image processing target region in the divided image may be changed, and the image processing may be executed again. For example, the image processing target region 206B of the divided image 206 illustrated in
(248) In the change of the image processing target region in the divided image, an aspect in which imaging is performed by changing the imaging condition such as the imaging angle using the imaging apparatus and the image processing target region is set for the newly obtained divided image may be applied.
(249) [Effect]
(250) According to the image processing system configured as above, a region that is represented as the logical product of the first temporary image processing target region 300 and the second temporary image processing target region 302 which are two or more temporary image processing target regions respectively corresponding to two or more pieces of image quality determination information is decided as the image processing target region 304. Accordingly, the image processing target region 304 in which a plurality of causes of decrease in image quality are considered can be decided.
(251) The temporary image processing target region is decided using at least one of the imaging condition or the image quality analysis result.
(252) As the image quality analysis, the spatial frequency spectrum distribution may be acquired for each analysis target region, and a determination of the presence or absence of the high frequency component may be applied. A region in which the high frequency component is present may be decided as the temporary image processing target region.
(253) As the image quality analysis, the histogram of the shade value may be acquired for each analysis target region, and the analysis of the histogram may be applied. The temporary image processing target region may be decided based on a bias in frequency of the histogram, whether or not the frequency is present at the minimum shade value, and whether or not the frequency is present at the maximum shade value.
(254) The temporary image processing target region may be decided by applying the imaging angle and the focus position as the imaging condition. In addition, a region in which the focal point shift amount falls in the range of the depth of field may be decided as the temporary image processing target region by applying the imaging angle, the focus position, the subject distance, the focal length, the F number, and the diameter of the permissible circle of confusion as the imaging condition.
(255) Furthermore, the in-focus region in a case where a field curvature is present in the lens may be decided as the image processing target region by applying the type of lens and the focus position as the imaging condition. In the case of the imaging apparatus of a fixed lens type, the type of lens may be specified using the model of the camera.
(256) Furthermore, a range in which the strobe light arrives may be decided as the image processing target region by applying the presence or absence of the strobe light emission as the imaging condition. Furthermore, by applying an imaging distance as the imaging condition, the image processing target region may be decided by adjusting the range in which the strobe light arrives depending on the imaging distance.
(257) [Application Example for Client Server Type Network System]
(258)
(259) The server apparatus 502 is communicably connected to the first client apparatus 504, the second client apparatus 506, and the third client apparatus 508 through a network 510.
(260) Any communication network such as a public communication network and a local area network can be applied as the network 510. The local area network may be represented as LAN that is the abbreviation for English representation Local Area Network.
(261) As data communication between the server apparatus 502 and the network 510, wired type data communication may be applied, or wireless type data communication may be applied. Similarly, as data communication between the client apparatus and the network 510, wired type data communication may be applied, or wireless type data communication may be applied.
(262) As data communication between the client apparatus and the network 510, the same type as the data communication between the server apparatus 502 and the network 510 may be applied, or a different type may be applied.
(263) The client apparatus is a collective term for the first client apparatus 504, the second client apparatus 506, and the third client apparatus 508 illustrated in
(264) The server apparatus 502 illustrated in
(265) The server apparatus 502 may comprise a storage apparatus in which a database implementing the function of the image processing target region database 42 illustrated in
(266) The server apparatus 502 comprises a communication interface. The server apparatus 502 is connected to the network 510 using the communication interface. The server apparatus 502 comprises a program storage unit.
(267) The client apparatus comprises an image data transmission unit that transmits image data to the server apparatus 502. The client apparatus comprises a communication interface. The client apparatus is connected to the network 510 using the communication interface. In
(268) [Image Processing Method]
(269)
(270) In the image acquisition step S10, the image data 20 is acquired using the image acquisition unit 12 illustrated in
(271) In the image processing target region decision step S14, the image processing target region is decided based on the two different types of image quality determination information using the image processing target region decision unit 16 illustrated in
(272) In the image processing step S16 illustrated in
(273)
(274) In the first temporary image processing target region decision step S100, the first temporary image processing target region in the image of the image processing target is decided based on the image quality analysis result 30 or the imaging condition using the image processing target region decision unit 16 illustrated in
(275) In the second temporary image processing target region decision step S102 illustrated in
(276) In the image processing target region decision step S104 illustrated in
(277) In the image processing target region decision step S104 illustrated in
(278) [Application Example for Image Processing Program]
(279) An image processing program that corresponds to the image processing system and the image processing method illustrated in the present embodiment may be configured. That is, an image processing program that causes a computer to implement the function of each unit of the image processing system 10 illustrated in
(280) For example, an image processing program that causes one or a plurality of computers (processors) to implement an image acquisition function corresponding to the image acquisition unit, an image quality determination information acquisition function corresponding to the image quality determination information acquisition unit, an image processing target region decision function corresponding to the image processing target region decision unit, and an image processing function corresponding to the image processing unit may be configured. A computer-readable recording medium on which the program is recorded is also included in the present embodiment.
(281) [Terminology]
(282) The term same in the present specification includes aspects in which the same or approximately the same effect is obtained and that may be regarded as being substantially the same among aspects that are strictly different.
(283) The term up in the present specification refers to a direction opposite to the direction of gravity. The term down refers to the direction of gravity. Up and down may represent a relative positional relationship.
(284) The term orthogonal in the present specification includes substantial orthogonality in which the same effect as a case where the angle formed between two intersecting directions is 90 degrees can be obtained while the angle formed between two intersecting directions is strictly smaller than 90 degrees or exceeds 90 degrees.
(285) The term parallel in the present specification includes substantial parallelism in which the same effect as a case where two directions are strictly in parallel can be obtained while the two directions are strictly not in parallel.
Combination of Embodiment, Modification Example, and Like
(286) Configurations described in the embodiment and matters described in the modification example can be appropriately used in combination. In addition, a part of constituents may be replaced.
(287) In the embodiment of the present invention described thus far, constituents can be appropriately changed, added, or removed without departing from the gist of the present invention. The present invention is not limited to the embodiment described thus far. Those skilled in the art can carry out various modifications within the technical idea of the present invention.
EXPLANATION OF REFERENCES
(288) 10, 500: image processing system 12: image acquisition unit 14: image quality determination information acquisition unit 16: image processing target region decision unit 18: image processing unit 20: image data 22: EXIF information 24: user designation information 26: user selection information 28: sensor information 30: image quality analysis result 32A: first image quality determination information 32B: second image quality determination information 34: image processing target region information 40: imaging condition acquisition unit 42: image processing target region database 44: imaging condition information 50: image quality analysis result acquisition unit 54: threshold value 100, 102, 104: divided image 106: composite image 108: out-of-focus region 110, 112, 114: out-of-focus region 116, 118: superimposed region 150: analysis region 160: spatial frequency spectrum distribution image 162: center of spatial frequency spectrum distribution image 164: corner of spatial frequency spectrum distribution image 166: low frequency component spectrum 168: high frequency component spectrum 170: high frequency component determination region 180: shade histogram 200: imaging apparatus 202: subject 202A: subject plane 204, 204A: divided image 204B: non-out-of-focus region 206, 206A: divided image 206B, 208B, 304: image processing target region 206C, 206D, 208C, 209C, 209D, 306, 306A, 306B, 356: image processing target exclusion region 208, 208A: divided image 209: composite image 209A, 209B: image processing result image 210: bridge 212, 262, 310: focus area 214: frame 220: in-focus plane 220A: imaging range 222: subject plane perpendicular direction 224: direction of optical axis of imaging apparatus 226: front end of depth of field 228: rear end of depth of field 230: focal point shift amount in front of in-focus plane 232: focal point shift amount behind in-focus plane 240, 240A: temporary image processing target region 250: imaging range 252: center of imaging range 254: peripheral portion of imaging range 260: non-out-of-focus region 270: strobe light reaching region 272: strobe light non-reaching region 274: boundary between strobe light reaching region and strobe light non-reaching region 276, 278: movement direction of boundary 300: first temporary image processing target region 302: second temporary image processing target region 320, 322, 324, 326, 328, 330, 340, 342, 344, 346, 348, 350, 352A, 352B, 354A, 354B, 356A: region 352, 354: superimposed region 500: image processing system 502: server apparatus 504: first client apparatus 506: second client apparatus 508: third client apparatus 510: network S1 to S18: each step of image processing method S100 to S114: each step of image processing target region decision step