Image processing apparatus, image processing method, storage medium, and computer program product

By detecting the position and speed of the subject in the image, a frequency distribution is generated to control the automatic framing, which solves the problem of unstable framing when the camera is installed at low altitudes, and achieves stable automatic framing and high-precision image capture.

CN123145474APending Publication Date: 2026-11-20CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202610664774.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-05-19
Filing Date
2026-05-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In systems such as sports competitions and live performances, existing technologies require a large amount of pre-set information to achieve stable automatic framing, especially when the camera is installed at a low location, the accuracy of extracting site and court information is reduced, resulting in unstable framing.

Method used

By detecting subjects in an image, the frequency distribution of the position and velocity of the subject of interest is obtained, and the responsiveness of automatic framing is controlled based on this. This includes using convolutional neural networks to detect subjects, generate framing parameters, and control camera pose or image cropping.

Benefits of technology

It enables stable automatic framing even when the camera is installed at a low location, reducing reliance on site and court information and improving the convenience and accuracy of framing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145474A_ABST
    Figure CN123145474A_ABST
Patent Text Reader

Abstract

The present application relates to an image processing apparatus, an image processing method, a storage medium, and a computer program product. In the image processing apparatus, a subject of interest is set from a subject detected in an image, a frequency-of-occurrence distribution is acquired for at least one of a position of the subject of interest and a speed of the subject of interest, and responsivity of an automatic viewfinder is controlled based on the frequency-of-occurrence distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to image processing equipment, image processing methods, storage media, and computer program products. Background Technology

[0002] The importance of technologies that can identify and automatically frame subjects, competitions, and events is increasing in systems used for filming and distributing sports competitions and live performances.

[0003] Japanese Patent Application Publication No. 2021-60701 discloses technology related to automatic framing and a method for achieving automatic framing using information related to the position and attributes of the subject. Furthermore, Japanese Patent Application Publication No. 2005-223487 discloses a method for automatically generating video using athlete and ball information from captured video in a system for automatically shooting, editing, and distributing sports competitions.

[0004] However, in Japanese Patent Application Publication No. 2021-60701, prior information such as pre-set subject and area of ​​interest is used for framing, and the world coordinates of the subject are required. Therefore, a large amount of information is needed in advance regarding subject characteristics, camera mounting position, and shooting area.

[0005] Furthermore, in Japanese Patent Application Publication No. 2005-223487, limitations were imposed on camera installation locations due to the need to pre-set information about the sports field and court. Specifically, in order to specify the location of the subject and obtain information about the sports field and court, it was necessary to install the camera at a high location and use an overhead view from an oblique angle.

[0006] In contrast, given the desire to capture impactful and immersive images, and considering the ease of camera mounting, it is desirable to mount the camera at a low location, approximately eye level. However, when the camera is mounted at a low location, framing often becomes unstable compared to when it is mounted at a high location, due to reduced accuracy in extracting site and court information. Summary of the Invention

[0007] An image processing device according to an embodiment of the present disclosure sets a subject of interest from subjects detected in an image, obtains a frequency distribution of occurrence of at least one of the position and speed of the subject of interest, and controls the responsiveness of automatic framing based on the frequency distribution of occurrence.

[0008] Further features of this disclosure will become apparent from the following description of embodiments with reference to the accompanying drawings. Attached Figure Description

[0009] Figure 1 This is a system block diagram illustrating a configuration example of a camera device 101 according to a first embodiment of the present disclosure.

[0010] Figure 2 This is a functional block diagram illustrating an example of the functional configuration of a camera device 101 according to the first embodiment.

[0011] Figure 3 This is a flowchart illustrating a processing example of the imaging method of the camera device 101 according to the first embodiment.

[0012] Figure 4A and Figure 4B This is a diagram illustrating an example of the processing of setting the subject position and speed in step S306.

[0013] Figure 5 It is a diagram that overlays and displays the detection area information set by the subject position and speed setting process in step S306 as a boundary rectangle, and overlays the speed information on the captured image and displays it as an arrow.

[0014] Figure 6 This is a flowchart illustrating an example of the frequency distribution setting in step S308.

[0015] Figure 7A and Figure 7B This is a diagram illustrating an example of the concept of the result of the frequency distribution according to the first embodiment.

[0016] Figure 8 This is a diagram illustrating an example of the time-varying framing position according to the first embodiment.

[0017] Figures 9A to 9C This is a diagram illustrating an example of framing parameter settings according to the first embodiment.

[0018] Figure 10 This is a diagram illustrating an example of framing parameter settings according to the second embodiment.

[0019] Figure 11 This is a diagram illustrating an example of the framing sensitivity coefficient using statistics according to the fourth embodiment. Detailed Implementation

[0020] In the following description, advantageous modes of the present disclosure will be used with reference to the accompanying drawings. In the various figures, the same reference numerals will be applied to the same components or elements, and repeated descriptions will be omitted or simplified. (First Embodiment)

[0021] Reference Figure 1 and Figure 2This describes the system configuration according to the first embodiment of the present disclosure, as well as the data and processing flow related to the embodiments of the present disclosure.

[0022] Figure 1 This is a system block diagram illustrating a configuration example of a camera device 101 according to a first embodiment of the present disclosure. Figure 1 In this device, the camera 101 includes an image acquisition unit 111, a control unit 112, an input device 113, a communication device 114, a storage unit 115, a display device 116, and a camera attitude control device 117. It should be noted that the camera 101 is used as an image processing device.

[0023] The image acquisition unit 111 is an image sensor such as CCD (charge-coupled device), MOS (metal-oxide-semiconductor), and CMOS (complementary metal-oxide-semiconductor).

[0024] The control unit 112 has a CPU or the like built therein as a computer, and is used as a control unit configured to control the operation of the various units of the entire device based on a computer program stored in a memory as a storage medium.

[0025] That is, the control unit 112 has, for example, a CPU (central processing unit), a GPU (graphics processing unit), and an FPGA (field programmable gate array) built therein.

[0026] Input device 113 includes a keyboard and mouse for operating the camera device, and a touch panel of display device 116 described below.

[0027] Communication device 114 is an interface used for exchanging information with external devices. Communication device 114 includes Ethernet, MIPI, I2C, SPI, HDMI (registered trademark), and USB, among others.

[0028] It should be noted that MIPI is an abbreviation for Mobile Industry Processor Interface, and I2C is an abbreviation for Inter-Integrated Circuit. Additionally, SPI is an abbreviation for Serial Peripheral Interface, HDMI is an abbreviation for High-Definition Multimedia Interface, and USB is an abbreviation for Universal Serial Bus.

[0029] Storage unit 115 can be ROM (Read-Only Memory), RAM (Random Access Memory), HDD (Hard Disk Drive), or SSD (Solid State Drive), etc.

[0030] Storage unit 115 stores computer programs for operating the camera equipment, computer programs for shooting by the control unit, input / output data, various parameters for equipment operation, and shooting data. Display device 116 is an output device for operating the camera equipment and for drawing input / output data, and may include an LCD (liquid crystal display) or the like.

[0031] The camera attitude control device 117 includes at least one of, for example, a panning mechanism, a tilting mechanism, and an optical zoom mechanism, for controlling and changing the camera attitude and angle of view. The external device / external system 102 includes devices such as workstations or servers for the purpose of recording, processing, utilizing, and distributing images captured by the imaging device 101, as well as external sensor devices such as IMUs or GNSS receivers. It should be noted that... Figure 1 The configuration shown is merely an example of system configuration, and the configuration is not limited to this.

[0032] Figure 2 This is a functional block diagram illustrating an example of the functional configuration of the camera device 101 according to the first embodiment. It should be noted that... Figure 2 Some of the functional blocks shown are implemented by executing computer programs stored in storage units that serve as storage media by using the CPU of a computer (not shown) included in the control unit 112 of the camera device 101.

[0033] However, some or all of the functional boxes can be implemented in hardware. As hardware, this can be achieved using dedicated application-specific integrated circuits (ASICs) and processors (reconfigurable processors, DSPs, etc.).

[0034] in addition, Figure 2 The corresponding functional blocks shown do not need to be built into the same housing and can be configured by separate devices connected to each other via signal paths. Furthermore, the image processing device in this embodiment can also be a device separate from the camera and can be implemented using an information processing device such as a PC.

[0035] Reference Figure 2 This section describes the functions and processing related to the camera device 101. The camera device 101 includes an image acquisition unit 201, a subject detection unit 202, a subject position / speed detection unit 203, a subject focus setting unit 204, a frequency distribution acquisition unit 205, a framing parameter generation unit 206, and a framing control unit 207.

[0036] In addition, the camera device 101 is provided with an image information storage unit 210, a learned parameter storage unit 211, an occurrence frequency distribution storage unit 212, and a framing setting storage unit 213.

[0037] Image acquisition unit 201 acquires image information from image acquisition unit 111 and stores the image information in image information storage unit 210. The image information is a color image or a monochrome image, and the data format is a still image or a moving image.

[0038] The subject detection unit 202 obtains subject detection parameters from the learned parameter storage unit 211 of the storage unit 115 and detects the subject. The subject can be a person or an object, and techniques such as those based on CNN (Convolutional Neural Network) models can be used for subject detection.

[0039] The subject position / velocity detection unit 203 calculates the position and velocity of the subject detected by the subject detection unit 202. Although the subject position and velocity are based on two-dimensional information of image coordinates, three-dimensional information can also be used when the three-dimensional position of the subject can be specified.

[0040] The subject-focusing setting unit 204 selects and sets the subject to be focused on from the subjects detected in the image. It should be noted that the subject-focusing setting unit 204 can be any unit configured to set the position of the subject of focus in two-dimensional or three-dimensional space.

[0041] The occurrence frequency distribution acquisition unit 205 sets an occurrence frequency distribution representing the probability of the subject's occurrence based on the subject's position and velocity, and stores the result in the occurrence frequency distribution storage unit 212. It should be noted that the occurrence frequency distribution acquisition unit 205 can be any unit configured to acquire an occurrence frequency distribution for at least one of the position and velocity of the subject of interest.

[0042] The frequency distribution can be represented as parameters of a function predetermined for position and velocity, or as a discrete frequency distribution for position and velocity. For position and velocity, similar to subject position and subject velocity, two-dimensional or three-dimensional information can be used.

[0043] The framing parameter generation unit 206 reads the framing-related setting values ​​from the framing setting storage unit 213. Then, the framing parameter generation unit 206 uses the subject of interest information set by the subject of interest setting unit 204 and the frequency of occurrence set by the frequency of occurrence acquisition unit 205 to set the parameters for framing.

[0044] When framing is achieved by changing the camera's posture, the parameters used for framing can be target values ​​for the pan, yaw, and tilt angles, as well as parameters related to the rate of change. Among these, the pan, yaw, and tilt angles are camera posture information.

[0045] Furthermore, when framing is achieved by cropping from the image, the parameters can be target values ​​for the location and size of the cropping area, as well as parameters related to the rate of change. It should be noted that the parameters used for framing in this embodiment specifically include the responsiveness of automatic framing.

[0046] Furthermore, a control model for framing operations can be set, and the parameters of the control model can be configured. For example, the control model could be a Voigt model where springs and dampers are connected in parallel, and the spring constant and viscosity can be set as parameters.

[0047] When the viewfinder control unit 207 changes the camera posture, the viewfinder control unit 207 transmits the target posture of the camera, the posture change speed, and the control time constant up to the target posture via the communication device 114, and uses the camera posture control device 117 to control the camera posture.

[0048] In contrast, when the viewfinder control unit 207 performs cropping processing based on the image, the cropping processing is performed by the control unit 112, and the cropped image is stored in the storage unit 115, displayed on the display device 116, and transmitted to the external device / external system 102 via the communication device 114.

[0049] In this way, the viewfinder control unit can be any unit configured to control at least one of the following: the pose change of the camera device used for image acquisition, the optical zoom of the camera device, and the cropping range (frame range) of the image of the camera device. It should be noted that the viewfinder control unit 207 controls at least the responsiveness (including speed) of automatic framing based on the frequency distribution of occurrence.

[0050] Figure 3 This is a flowchart illustrating a processing example of the imaging method of the camera device 101 according to the first embodiment. It should be noted that... Figure 3 The operation of each step in the flowchart is performed sequentially by the CPU or other components in the control unit 112, which acts as a computer, executing the computer program stored in the storage unit 115.

[0051] Figure 3 Step S301 is the step of loading the computer program pre-stored in the storage unit 115 and starting program processing. In step S302, initialization is performed. That is, parameters for program operation are loaded from the storage unit 115 or set via the input device 113, etc.

[0052] In step S303, a determination is made regarding whether to continue the processing. Step S304 is the step of acquiring the image information acquired by the image acquisition unit 201 and stored in the image information storage unit 210.

[0053] Step S305 is the step of detecting a subject from the image acquired by the image acquisition unit 201. Step S306 is the step of setting the position and velocity of the subject detected in step S305. Step S307 is used as a subject of interest setting step, and the subject of interest that should be focused on is set from the subjects detected from the image in step S305.

[0054] Step S308 is a step of using the subject position and velocity set in step S306 to obtain an occurrence frequency distribution related to the position and velocity. In this context, step S308 serves as an occurrence frequency distribution acquisition step for obtaining an occurrence frequency distribution for at least one of the position and velocity of the subject of interest.

[0055] Step S309 involves using the subject of interest set in step S307 and the frequency distribution of occurrence obtained in step S308 to set the framing parameters.

[0056] Step S310 is a step of framing control based on the framing parameters set in step S309. Step S311 is a step to end the process. In this context, steps S309 and S310 are used as framing control steps to control the responsiveness (including speed) of automatic framing based on the frequency distribution of occurrence. It should be noted that... Figure 3 The processing flow, for example, is repeated periodically in N-frame period units (N is an integer equal to or greater than 1).

[0057] Figure 4A and Figure 4B This is a diagram illustrating an example of the subject position / velocity setting process in step S306. Figure 4A and Figure 4B In this example, we assume that a sports competition is being filmed, and specifically, that the competition uses a ball as equipment, and illustrate an example where there is a ball and multiple people.

[0058] Figure 4A An example of an image taken at time t. Figure 4B Example at time t+Δt (i.e., from Figure 4A An example of an image taken after a time interval Δt. Figure 4A In the middle, 401 indicates a person, 402 indicates a ball, 403 indicates the person area detected by step S305 for subject detection, and 404 indicates the ball area.

[0059] It should be noted that, similarly, in Figure 4B In the middle, assuming it is similar to Figure 4A The detection method detected both the human and ball areas. In the... Figure 4A The time t shown and Figure 4B After correlating the human and ball regions at time t+Δt, we obtain the results at... Figure 4B The positional movement of the human area and the ball area are indicated at point 411, and the corresponding subject velocity is set by dividing the positional movement by the elapsed time Δt.

[0060] Next, refer to Figure 5 , Figure 6 as well as Figure 7A and Figure 7B This explains the handling of frequency distribution settings. Similar to... Figure 4A and Figure 4B This illustrates that a motion scene using a ball as equipment is an example of a photographic subject.

[0061] Figure 5 It is a diagram that overlays and displays the detection area information set by the subject position and speed setting process in step S306 as a boundary rectangle, and overlays the speed information on the captured image and displays it as an arrow.

[0062] Figure 6 This is a flowchart illustrating an example of the frequency distribution setting in step S308. It should be noted that... Figure 6 The operation of each step in the flowchart is performed sequentially by the CPU or other components in the control unit 112, which acts as a computer, executing the computer program stored in the storage unit 115.

[0063] Figure 7A and Figure 7B This is a diagram illustrating an example of the concept of the frequency distribution results according to the first embodiment. Assuming in... Figure 5 The two-dimensional coordinate system (x, y) shown defines the positions and velocities of the person and the ball. It should be noted that the origin of the coordinate system is assumed to be at the center of the viewpoint.

[0064] In this embodiment, as Figure 5 As shown, the moving court and the entire field are captured as images with a wide angle, and the frequency of people and balls is detected to increase near the center of the y-direction within the viewpoint.

[0065] The frequency distribution of occurrence can be represented as f(x, y, u, v) as a function of position and velocity, where u is the velocity in the x-direction and v is the velocity in the y-direction. It should be noted that in the camera device 101 of this embodiment, it is assumed that a discrete frequency distribution is obtained as the frequency distribution of occurrence, and a method for obtaining the discrete frequency distribution of occurrence is described.

[0066] The possible position and velocity ranges for the subject are determined, and discrete position and velocity ranges are generated by dividing each range into finite intervals. In this context, the position range is divided into n intervals along the x-axis. x And it is divided into n in the y direction y Furthermore, the velocity range is divided into m in the x-direction. x And it is divided into m in the y direction y .

[0067] Additionally, the number of times the subject appears is accumulated from the start of the camera's operation, and it is assumed that a table containing the cumulative occurrence count A is maintained to store this accumulated count. The cumulative occurrence count table has the number of elements n. x ×n y ×m x ×m y The table is given, and it is assumed that the cumulative occurrence count of discrete position intervals (ix, iy) and discrete velocity intervals (iu, iv) is represented as A(ix, iy, iu,iv).

[0068] Furthermore, the frequency distribution is denoted as F, and the discrete frequency distribution of the discrete position interval (ix, iy) and discrete velocity interval (iu, iv) is denoted as F(ix, iy, iu, iv). In this context, it is assumed that there are a total of n people and balls (where people and balls are subjects), and that the position of a subject i is denoted as (x, iy, iu, iv). i , y i ), and the velocity of the subject i is expressed as (u i , v i ).

[0069] Reference Figure 6 This section describes an example of the frequency distribution setting process in step S308. In step S601, the target subject is initialized. In step S602, a determination is made regarding whether the processing of all subjects is complete.

[0070] In step S603, matching is performed between the subject position and the discrete position interval. That is, the position (x) of subject i is matched. i , y i Match the discrete position intervals. Then, specify the discrete position interval (ix, iy) that includes the position of subject i.

[0071] In step S604, matching is performed between the subject's velocity and the discrete velocity range. That is, the velocity (u) of subject i... i , v iMatch the discrete velocity range with the target velocity i. Then, specify the discrete velocity range (iu,iv) that includes the velocity of the subject i.

[0072] In step S605, the cumulative occurrence count table is updated. That is, the element corresponding to 1 and the cumulative occurrence count A(ix, iy, iu,iv) matching the discrete position interval in step S603 and the discrete velocity interval in step S604 is added together. In step S606, the discrete occurrence frequency distribution F is updated. In this context, the discrete occurrence frequency distribution F can be obtained by the following equation (1).

[0073] (1)

[0074] In step S607, the process of obtaining the frequency distribution ends. In this embodiment, a method is shown for updating the frequency distribution after updating the cumulative occurrence count table through sequential processing related to subject i. However, it is not necessary to maintain the cumulative occurrence count table, and the sum of the cumulative occurrence counts can be maintained, and only the locations of F(ix, iy, iu, iv) can be updated.

[0075] exist Figure 7A and Figure 7B The diagram above illustrates the resulting concept of the frequency distribution. Although the frequency distribution is a function or distribution related to position and velocity, it is used for illustrative purposes. Figure 7A and Figure 7B Examples of distribution functions for the x and y directions, which are the axes of space, are given. Figure 7A It is a distribution function related to the x-direction, and it illustrates the frequency distribution of occurrences related to (x, u). Figure 7B It is a distribution function related to the y-direction, and it illustrates the frequency distribution of occurrences related to (y, v).

[0076] In the x-direction, in many scenes where the subject's velocity is high near the center of view and the subject moves left and right in the x-direction, the following can be obtained: Figure 7A The bimodal frequency distribution along the velocity direction is shown. Furthermore, regarding the y-direction, the subject typically appears near the center, and when the position and velocity of the subject in the y-direction change little, the following results are obtained: Figure 7B The frequency distribution is shown.

[0077] Next, refer to Figure 8 as well as Figures 9A-9C This explains the processing of the framing parameter settings in step S309. Figure 8 This is a diagram illustrating an example of the time-varying framing position according to the first embodiment.

[0078] Figures 9A to 9CThis is a diagram illustrating an example of the framing parameter settings according to the first embodiment. It should be noted that the framing parameters are variables related to framing control and include framing speed, parameters related to framing acceleration / deceleration, and parameters related to the control model used for framing operations, etc.

[0079] Figure 8 The reference numeral 801 in the figure is the subject of interest set by the subject of interest setting process in step S307. Figure 8 In the attached diagram, reference numeral 802 indicates the current framing position at time t, and 803 indicates the target framing position at time t+Δt, centered on the subject 801. It should be noted that Δt is the update period for the framing position.

[0080] In this context, within time Δt from Figure 8 The framing at points 802 to 803 represents the most responsive framing, and the framing speed at this point is defined as the maximum framing speed v. f,max .

[0081] However, when the number of frames is large, the maximum framing speed degrades the image quality, and therefore in this embodiment, a framing sensitivity coefficient α less than 1 is assumed. s Multiply by the maximum framing speed and slow down the framing speed.

[0082] It should be noted that the viewfinder sensitivity coefficient α s This can be determined by using the frequency distribution information of the target framing position. Specifically, when the position and speed of the subject are high-frequency conditions according to the frequency distribution, settings can be adjusted to increase the framing sensitivity coefficient α. s This increases the tracking capabilities of the viewfinder.

[0083] Conversely, when the ball is located Figure 8 When the viewfinder is positioned at the top and the subject is focused, the target framing position (sphere) becomes a condition with a low frequency of occurrence. Therefore, in this case, the framing sensitivity coefficient α can be reduced. s This allows for a slower framing speed without excessively tracking the ball, while maintaining image quality during framing.

[0084] It should be noted that in this embodiment, since the framing is based on the frequency of the subject's appearance, there is no need to extract information such as the venue or ball field from the image, and there are few restrictions on the installation location of the camera, such as when it is installed at a high place, and it is very convenient.

[0085] The following describes a specific processing example of the camera device in this embodiment. Based on Figure 8The position and velocity of the subject at point 801 are of interest, specifying a discrete position interval (j x , j y ) and discrete velocity range (j u , j v Furthermore, by referring to the discrete frequency distribution F(ix, iy, iu, iv), the frequency values ​​F of the position and velocity conditions of the subject of interest are obtained. a .

[0086] exist Figures 9A to 9C The image shows an example of how to set the framing parameters. Figure 9A This shows the viewfinder sensitivity coefficient α. s A graph showing the relationship between frequency of occurrence and occurrence values. As the frequency of occurrence increases, the viewfinder sensitivity coefficient tends to increase as well.

[0087] In the camera device 101 of this embodiment, the viewfinder setting storage unit 213 maintains the image with... Figure 9A The table shows the correlation between frequency of occurrence values ​​and viewfinder sensitivity coefficients. Then, based on the above table data, the closest discrete frequency of occurrence value F is selected. t The process includes searching for and interpolating settings, and calculating the viewfinder sensitivity coefficient α. s .

[0088] For the framing speed v f Using the above maximum framing speed v f,max and the viewfinder sensitivity coefficient α s And the framing speed v f It can be set by Equation 2 below. (2)

[0089] exist Figure 9B The diagram illustrates the relationship between the change in framing position and the framing speed caused by the difference in framing sensitivity coefficients. If the change in framing position Δp... f Defined as the difference between the target framing position and the current framing position, then as Δp f As the field of view becomes larger, a faster framing speed becomes necessary. Figure 9B The dashed line in the image indicates the viewfinder speed being changed to the maximum viewfinder speed.

[0090] exist Figure 9B In the middle, when the viewfinder sensitivity coefficient α s When the value is large, it reaches 902, and when the viewfinder sensitivity coefficient α... s After hours, 903 was obtained. It should be noted that although there is a concern that image quality may degrade due to excessively large changes in framing position, in this embodiment, the framing speed is made dependent on the amount of framing position change Δp.f .

[0091] Therefore, framing can be achieved without compromising image quality. That is, in this embodiment, for example, the framing speed v... f It is set by the following formula (3). (3)

[0092] exist Figure 9C The diagram illustrates the relationship between the change in target position and the framing speed caused by the difference in framing sensitivity coefficients. Figure 9C In the middle, when the viewfinder sensitivity coefficient α s When the value is large, it reaches 904, and when the viewfinder sensitivity coefficient α... s Hours, got 905.

[0093] In addition, such as Figure 9C As shown, the change in framing speed relative to the framing position is Δp. f The increase in the value has a small impact. It should be noted that the method for setting the framing speed is not limited to the above formula (3). The framing parameters generated in step S309 are stored in storage unit 115 and used for framing control processing in step S310.

[0094] That is, in the framing control processing of step S310, when the camera's posture is changed, motor control is performed to change the posture toward the target posture of the camera based on framing parameters such as the framing speed mentioned above. Furthermore, when controlling the framing by cutting out of the image, the cutting-out process can be performed based on the framing parameters.

[0095] In this way, in this embodiment, framing is performed based on the shooting history since the camera device was started and on the frequency distribution of the subject's position and speed. It should be noted that the frequency distribution acquisition unit can be any unit configured to acquire the frequency distribution based on the history of at least one of the subject's position and speed. By configuring it in this way, shooting with stable automatic framing becomes possible. It should be noted that when the camera device is powered on, the frequency distribution from previous shooting times can be inherited, and framing can be performed.

[0096] In this case, the data stored in the frequency distribution storage unit 212 is periodically saved to the non-volatile memory in storage unit 115 or via communication device 114 when the camera device is powered off. The saved data can then be read when the next shooting session begins.

[0097] Furthermore, even when the user's installation position changes, the camera device can respond to the change by transforming the frequency distribution. That is, for example, the change in the camera's position and attitude is detected by an external sensor device, such as an IMU (Inertial Measurement Unit), which is an external device / external system 102. Then, after obtaining the transformation matrix before and after the change in the camera's position and attitude, the frequency distribution is transformed to the coordinate system of the new camera position and attitude.

[0098] That is, by the viewfinder control unit detecting changes in the position and orientation of the camera device used to acquire images, the frequency distribution of occurrence is changed according to the changes in position and orientation, so that appropriate automatic framing can be achieved even if the position and orientation of the camera changes.

[0099] Furthermore, in this embodiment, the frequency distribution is processed in two-dimensional space. However, the frequency distribution can also be processed in three-dimensional space through image processing or through a ranging device such as GNSS or LiDAR as an external device / external system 102.

[0100] It should be noted that GNSS is an abbreviation for Global Navigation Satellite System, and LiDAR is an abbreviation for Light Detection and Ranging.

[0101] In this case, it becomes possible to extend the occurrence frequency distribution f(x, y, u, v) from two-dimensional space to three-dimensional space by adding a new position z and velocity w in the z-axis direction. (Second Embodiment)

[0102] In the second embodiment, the frequency distribution is maintained for each orthogonal coordinate axis direction in two-dimensional or three-dimensional space. That is, the frequency distribution acquisition unit of the second embodiment sets a frequency distribution based on the history of the subject's position and the history of the subject's velocity for each orthogonal coordinate axis direction in two-dimensional or three-dimensional space. Therefore, memory consumption and computational load can be reduced.

[0103] The discrete frequency distribution shown in the first embodiment has n elements. x ×n y ×m x ×m y The table used to store the values ​​requires a large amount of memory, and the processing cost of referencing the table values ​​is also high. Furthermore, when the frequency distribution is maintained as three-dimensional information, the processing memory and computational load become even greater.

[0104] In contrast, for example, in such Figure 8 With such a two-dimensional coordinate system, the position and velocity of the subject have low correlation between the x and y directions, and the x and y directions can be processed separately. Preferably, the frequency distribution is maintained for each coordinate axis direction. Specifically, a discrete frequency distribution F corresponding to the frequency distribution fx(x, u) in the x direction is maintained. x (ix, iu) and the discrete frequency distribution F corresponding to the frequency distribution in the y direction fy(y, v). y (iy, iv) is sufficient.

[0105] In the second embodiment, based on Figure 8 The discrete position interval (ix, iy) and discrete velocity interval (iu, iv) of the subject 801 are identified by the position and velocity of the subject, and the discrete frequency distribution F is referenced. x (ix, iu) and discrete frequency distribution F y (iy, iv), obtain the discrete frequency value F. t x and discrete frequency value F t ,y.

[0106] Subsequently, similar to the first embodiment, the viewfinder sensitivity coefficient is set. Similar to the first embodiment, although a single parameter representing the relationship between the viewfinder sensitivity coefficient and the frequency of occurrence can be used, in the second embodiment, a parameter is used instead of... Figure 10 This example illustrates how to set the viewfinder sensitivity relative to the frequency of occurrence for both the x and y directions.

[0107] Figure 10 This is a diagram illustrating an example of the framing parameter settings in the second embodiment, and shows an example of the relationship between the framing sensitivity coefficient and the frequency of occurrence value. Reference numeral 1001 shows an example of the response function relative to the frequency of occurrence value in the x-direction, and reference numeral 1002 shows an example of the response function relative to the frequency of occurrence value in the y-direction.

[0108] In this way, by setting response functions relative to the frequency of occurrence in the x-direction and response functions relative to the frequency of occurrence in the y-direction, in situations such as Figure 8 In such dynamic scenes, framing in a specific direction (y-direction) can be suppressed. Furthermore, if the characteristics of the shooting scene can be known in advance, the response function can be optimized. (Third Embodiment)

[0109] In the third embodiment, when the occurrence frequency distribution obtained in the occurrence frequency distribution setting process in step S308 is used for the framing parameter setting in step S309, it includes filtering processing for smoothing.

[0110] That is, in the third embodiment, the viewfinder control unit performs filtering processing to smooth the frequency distribution obtained by the frequency distribution acquisition unit. Therefore, viewfinder stability is achieved even when the frequency distribution changes rapidly or when historical data is insufficient.

[0111] In the first and second embodiments, in step S606, the discrete occurrence frequency distribution is updated based on the subject's position and velocity information. Therefore, if the number of updates immediately following the activation of the camera is small, there is a possibility that changes in the occurrence frequency distribution may occur due to insufficient data accumulation, since historical data has not been sufficiently accumulated.

[0112] When using a discrete frequency distribution with such variation and performing framing parameter setting processing in step S309, there is a possibility that the stability of the framing may be compromised.

[0113] In contrast, in the third embodiment, stability can be improved even under these conditions by performing smoothing. That is, in the third embodiment, the smoothing filter function h(x, y, u, v) is applied to the occurrence frequency distribution f(x, y, u, v), and the smoothed occurrence frequency distribution f is obtained using the following equation (4). s (x, y, u,v). (4)

[0114] However, the operator in equation (4) It involves convolution. The smoothing filter function can be a function with the characteristics of a low-pass filter that blocks high-frequency components. Furthermore, the strength of the smoothing can be optimized based on position and velocity.

[0115] By performing this smoothing, detailed settings for each area become possible in motion scenes and other scenarios, such as prioritizing the tracking ability of the subject or prioritizing the stability of the framing.

[0116] Therefore, in the camera device 101 of the third embodiment, the frequency distribution and the smoothing filter are each maintained as discrete tables. Then, when the convolution operation of equation (4) is performed, the discrete frequency distribution and the discrete smoothing filter are converted to the frequency space, and efficient calculation can be performed by performing an inverse conversion to the original space after the operation.

[0117] Although the frequency distribution of occurrence in the first embodiment has been illustrated as an example in the above description, the smoothing filter can also be applied to the frequency distribution of occurrence along each spatial axis as in the second embodiment. The smoothed discrete frequency distribution Fs(ix, iy, iu, iv) can be stored in the frequency distribution storage unit 212.

[0118] It should be noted that, although in the first embodiment, the frequency value F is obtained by referring to the discrete frequency distribution F(ix, iy, iu, iv). a However, in the third embodiment, it is sufficient to refer to the smoothed discrete frequency distribution Fs(ix, iy, iu,iv).

[0119] As described above, according to the third embodiment, even in cases of insufficient historical data, the stability of automatic framing can be improved, and in addition, a camera device capable of detailed settings (such as prioritizing the tracking ability of framing in each area) can be realized. (Fourth Embodiment)

[0120] In the fourth embodiment, when the occurrence frequency distribution obtained in the occurrence frequency distribution setting process in step S308 is used for the framing parameter setting in step S309, the occurrence frequency distribution is converted into a statistic of any one of the expected value, variance, and standard deviation.

[0121] That is, the framing control unit of the fourth embodiment performs processing to convert the occurrence frequency distribution obtained by the occurrence frequency distribution acquisition unit into any one or more of the statistical quantities of expected value, variance, and standard deviation. Therefore, the stability of framing is improved when the frequency distribution changes rapidly or when historical data is insufficient.

[0122] Once the frequency distribution f(x, y, u, v) is obtained, the expected value, variance, and standard deviation of the variables x, y, u, and v related to position and velocity can be calculated. When any of x, y, u, and v is represented as variable a, the expected value E(A), variance V(A), and standard deviation D(A) of variable a can be calculated using the following equations (5), (6), and (7), respectively. (5) (6) (7)

[0123] In the fourth embodiment, for example, the framing sensitivity coefficient α described in the first embodiment is determined by using statistical measures such as the expected value, variance, and standard deviation described above, in the following manner. sIt should be noted that the following example is illustrated here: the closer the position and speed of the subject are to the expected value, the more frequently the scene is considered to occur, and the more sensitive the framing should be.

[0124] Figure 11 This is a diagram illustrating an example of using statistical measures for the viewfinder sensitivity coefficient in the fourth embodiment. Figure 11 The diagram, used as an explanation of the framing sensitivity coefficient as a statistical measure, illustrates an example of the relationship between the deviation from the expected values ​​of the position and speed of the subject and the framing sensitivity coefficient.

[0125] In the fourth embodiment, the following is provided: Figure 11 The viewfinder sensitivity coefficient shown in 1101 decreases monotonically for deviations from the expected values ​​of the target position and the expected values ​​of the target speed. Specifically, for the viewfinder sensitivity coefficient α... s Calculate the framing sensitivity coefficient α for each position. s,x The framing sensitivity coefficient α of the location s,y The framing sensitivity coefficient α of the speed s,u The framing sensitivity coefficient α for speed s,v And the viewfinder sensitivity coefficient α s It is calculated using a weighted linear sum.

[0126] Figure 11 The viewfinder sensitivity coefficient α shown in 1101 is... s,a (where a is any one of x, y, u, v) can be implemented by, for example, a function such as the following equation (8). (8)

[0127] In addition, the viewfinder sensitivity coefficient α s The framing sensitivity coefficient α can be calculated, for example, by the following formula (9). s,a The weighted linear sum. (9)

[0128] However, γ a These are weighting coefficients related to position and velocity (x, y, u, v). Therefore, in order to implement the above in the camera device of the fourth embodiment, the discrete occurrence frequency distribution F(ix, iy, iu, iv) stored in the occurrence frequency distribution storage unit 212 is used, and the expected value, variance, and standard deviation are calculated based on equations (5), (6), and (7).

[0129] Furthermore, based on the position and speed of the subject set by the subject setting unit 204, the viewfinder sensitivity coefficient α is calculated using equations (8) and (9).s Furthermore, it is sufficient to set the framing parameters using a method similar to that of the first embodiment.

[0130] In this way, according to the fourth embodiment, even when historical data is small and local variations are observed in the frequency distribution, framing parameters for smooth automatic framing can be generated by using the transformed statistics.

[0131] It should be noted that although the above embodiments have been described for framing using image information, stable control becomes possible even when using a three-dimensional sensor and performing automatic framing based on the position and velocity information of the subject in three-dimensional space.

[0132] It should be noted that the frequency distributions of the people and the ball as subjects can be preserved separately and weighted within the viewpoint. Furthermore, for example, near the goal, the weights can be changed to prioritize the movement of the ball. Additionally, the goal position can be estimated based on the movement of the people and the ball, and this can be reflected in the frequency distribution.

[0133] In addition, for the detection of people and balls, it is possible to detect only moving bounding boxes, and to process them to treat moving bounding boxes as athletes.

[0134] Furthermore, although the above embodiments have been described for ball games, they are not limited to ball games and are applicable to other sports such as racing, wheelchair racing, and race walking. The subjects are not limited to humans, and the embodiments are also applicable to horses and dogs. In addition, the above embodiments are not limited to sports scenarios and are also applicable to indoor events such as concerts and wedding ceremonies.

[0135] While this disclosure has been described with reference to embodiments, it should be understood that this disclosure is not limited to the disclosed embodiments. The scope of the appended claims should be given the broadest interpretation to cover all such modifications and equivalent structures and functions.

[0136] Furthermore, as part or all of the control according to the embodiments, a computer program that implements the functions of the above embodiments can be supplied to an image processing device or the like via a network or various storage media. Then, the computer (or CPU or MPU, etc.) of the image processing device or the like can be configured to read and execute the program. In this case, the program and the storage medium storing the program constitute this disclosure.

[0137] Additionally, this disclosure includes those implemented using at least one processor or circuitry configured to perform the functions of the above embodiments. For example, multiple processors may be used for distributed processing to perform the functions of the above embodiments.

[0138] This application claims the benefit of Japanese Patent Application 2025-083605, filed on May 19, 2025, the entire contents of which are incorporated herein by reference.

Claims

1. An image processing apparatus, comprising: The setting unit is used to set the subjects to be focused on from the subjects detected in the image; The acquisition unit is configured to acquire the frequency distribution of occurrence of at least one of the position and the velocity of the subject of interest; as well as A control unit for controlling the responsiveness of automatic framing based on the frequency distribution of occurrence.

2. The image processing apparatus according to claim 1, wherein, In obtaining the frequency distribution, the frequency distribution is obtained based on the history of at least one of the location of the subject of interest and the velocity of the subject of interest.

3. The image processing apparatus according to claim 1, wherein, In the setting of the subject of interest, the position of the subject of interest is set in a two-dimensional space or in a three-dimensional space.

4. The image processing apparatus according to claim 1, wherein, In the control of the responsiveness of the framing, at least one of the following is controlled: the pose change of the camera device used to acquire the image, the optical zoom of the camera device, and the cropping range of the image of the camera device.

5. The image processing apparatus according to claim 1, wherein, In obtaining the frequency distribution, for each coordinate axis direction in a two-dimensional or three-dimensional space that are mutually orthogonal, the frequency distribution is set based on the position history and velocity history of the subject.

6. The image processing apparatus according to claim 1, wherein, In the control of the responsiveness of the framing, filtering is performed to smooth the frequency distribution of occurrence.

7. The image processing apparatus according to claim 1, wherein, In the control of the responsiveness of the framing, processing is performed to convert the frequency distribution of occurrence into any one or more of the statistics of expected value, variance, and standard deviation.

8. The image processing apparatus according to claim 1, wherein, In the control of the responsiveness of the framing, when a change in the position and orientation of the camera device used to acquire the image is detected, processing is performed to change the frequency distribution of occurrence based on the change in position and orientation.

9. An image processing method, comprising: Select the subjects to focus on from those detected in the image; Obtain the frequency distribution of occurrence for at least one of the position and velocity of the subject of interest; as well as The responsiveness of automatic framing is controlled based on the frequency distribution of occurrence.

10. A computer-readable storage medium configured to store a computer program, the computer program including instructions for performing the following processes: Select the subjects to focus on from those detected in the image; Obtain the frequency distribution of occurrence for at least one of the position and velocity of the subject of interest; and The responsiveness of automatic framing is controlled based on the frequency distribution of occurrence.

11. A computer program product comprising instructions for performing the following processes: Select the subjects to focus on from those detected in the image; Obtain the frequency distribution of occurrence for at least one of the position and velocity of the subject of interest; and The responsiveness of automatic framing is controlled based on the frequency distribution of occurrence.

Citation Information

Patent Citations

  • Digital camera work apparatus, digital camera work method, and digital camera work program

    JP2005223487A

  • Framing information generation device and program thereof

    JP2021060701A

  • Electronic device and electronic timepiece

    JP2025083605A