Image stabilization method and electronic device performing the same

Through the combination of motion sensors and image signal processors, the image size is adjusted according to the motion data of the camera module, which solves the jitter problem of electronic devices when capturing images, achieves image stabilization, reduces power consumption, and reduces field of view loss.

CN118540583APending Publication Date: 2024-08-23SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410193804.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-02-21
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When existing electronic devices capture images, the camera module shakes due to user hand shaking, resulting in distorted images, and the electronic image stabilization (EIS) correction method increases power consumption and is accompanied by field of view loss.

Method used

The motion of the camera module is sensed by the motion sensor, the image signal processor processes the input frame image and performs electronic image stabilization, and the image size controller adjusts the image size based on the motion data to reduce the impact of jitter, reduce power consumption, and reduce field of view loss.

Benefits of technology

Effectively perform image stabilization, reduce power consumption, reduce field of view loss, and improve image accuracy and clarity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540583A
    Figure CN118540583A
Patent Text Reader

Abstract

An electronic device includes a motion sensor, an image signal processor core, an image stabilizer, and an image size controller. A motion sensor generates camera motion data by sensing motion of a camera module that captures an image to generate an original frame image. The image signal processor core generates a processed frame image by processing an input frame image corresponding to an original frame image. The image stabilizer generates an output frame image by performing electronic image stabilization on the processed frame image. The image size controller estimates a motion level indicating a degree of camera motion of the camera module based on the camera motion data, and controls a size of the input frame image or a size of the output frame image based on the motion level. Image stabilization is effectively performed by estimating camera motion and adjusting an image size according to the camera motion.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the priority of Korean Patent Application No. 10-2023-0023760 filed on February 22, 2023 in the Korean Intellectual Property Office (KIPO), the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] Example embodiments relate generally to image processing, and more particularly, to image stabilization methods and electronic devices that perform the image stabilization methods. Background Art

[0004] When an electronic device including a camera module captures an image, problems such as shaking of the camera module caused by hand shaking of a user may result in a distorted image. In order to compensate for the shaking problem of the camera module, the electronic device may perform image correction. The image correction may include, for example, optical image stabilization (OIS) correction or electronic image stabilization (EIS) or digital image stabilization (DIS) correction.

[0005] OIS correction may refer to a correction in which an image stabilizer moves a lens or an image sensor in a direction to compensate for the shaking of the electronic device when the shaking of the electronic device occurs while the camera module acquires an image. There are two types of OIS correction: a shift method of moving in a plane and a tilt method of rotation. In addition, each OIS correction may include, for example, a lens movement method or a sensor movement method, that is, the OIS correction may represent a 2D translation.

[0006] EIS correction may refer to an operation in which an electronic device corrects an image based on at least one of image motion and camera motion. Image motion may refer to information indicating the motion of an object within a frame image (e.g., a feature point of a captured object). The electronic device may determine the image motion by comparing the frame images acquired through the camera module. Camera motion data may refer to information corresponding to the jitter of an electronic device including a camera module. The camera motion data may be obtained by a motion sensor such as a gyroscope sensor or an accelerometer. That is, the camera motion data may represent 3D motion. Due to the EIS correction, the power consumption of the electronic device increases. In addition, since the EIS correction is accompanied by image cropping, a loss of field of view (FOV) may occur. Summary of the invention

[0007] Some example embodiments may provide an image stabilization method capable of effectively providing a stabilized image and an electronic device performing the image stabilization method.

[0008] According to an example embodiment, an electronic device includes a motion sensor, an image signal processor core, an image stabilizer, and an image size controller. The motion sensor generates camera motion data by sensing the motion of a camera module that captures an image to generate an original frame image. The image signal processor core generates a processed frame image by processing an input frame image corresponding to the original frame image. The image stabilizer generates an output frame image by performing electronic image stabilization (EIS) on the processed frame image. The image size controller estimates a motion level indicating a degree of camera motion of the camera module based on the camera motion data, and controls the size of the input frame image or the size of the output frame image based on the motion level.

[0009] According to an example embodiment, an image stabilization method includes generating camera motion data by sensing motion of a camera module that captures an image to generate an original frame image, generating a processed frame image by processing an input frame image corresponding to the original frame image, generating an output frame image by performing electronic image stabilization (EIS) on the processed frame image, estimating a motion level indicating a degree of camera motion of the camera module based on the camera motion data, and controlling a size of the input frame image or a size of the output frame image based on the motion level.

[0010] According to an example embodiment, an image stabilization method includes estimating a motion level indicating a degree of camera motion of a camera module based on camera motion data generated by a motion sensor, wherein the camera module captures an image to generate a raw frame image, and controlling a size of an input frame image input to an image signal processor core or a size of an output frame image generated by electronic image stabilization (EIS) based on the motion level.

[0011] The image stabilization method and the electronic device according to the exemplary embodiment can effectively perform image stabilization and reduce power consumption by estimating camera motion and adjusting the size of the image according to the camera motion. In addition, the image stabilization method and the electronic device according to the exemplary embodiment can reduce the loss of field of view by reducing the cropping margin according to the degree of camera motion. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Example embodiments of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.

[0013] Figure 1 is a block diagram illustrating an electronic device according to an example embodiment.

[0014] Figure 2 is a flowchart illustrating an image stabilization method according to example embodiments.

[0015] Figure 3 is a block diagram illustrating an electronic device according to an example embodiment.

[0016] Figure 4 is a flow chart illustrating some example embodiments of estimating motion level in an image stabilization method according to example embodiments.

[0017] Figure 5 It is shown in Figure 4 Schematic diagram of calculating coordinate values ​​based on camera motion data in motion level estimation.

[0018] Fig. 6A , Figure 6B , Fig. 7A and Figure 7B It is shown Figure 4 Schematic diagram of calculation of the difference in coordinate values ​​in motion level estimation.

[0019] Fig. 8A and 8B is a schematic diagram showing the distribution of difference values ​​according to the degree of camera motion.

[0020] Fig. 9 is a diagram illustrating an example of camera motion data for describing an image stabilization method according to example embodiments.

[0021] Fig.10 is a flowchart illustrating some example embodiments of adjusting the size of an input frame image in an image stabilization method according to example embodiments.

[0022] Fig.11 , Fig.12 and Fig.13 It shows that according to Fig.10 Schematic diagram of the image dimensions of the method.

[0023] Fig.14 is shown configured to adjust Fig.10 A block diagram of some example embodiments of a circuit for resizing an input frame image in a method.

[0024] Fig.15A and 15B It is shown Fig.14 A timing diagram of the operation of the resizing circuit.

[0025] Fig.16 is a flowchart illustrating some example embodiments of adjusting the size of an output frame image in an image stabilization method according to example embodiments.

[0026] Fig.17 , Fig.18 and Fig.19 It shows that according to Fig.16 Schematic diagram of the image dimensions of the method.

[0027] Fig. 20is a block diagram illustrating some example embodiments of an image stabilization circuit included in an electronic device according to example embodiments.

[0028] Fig.21 is a block diagram illustrating an electronic device according to an example embodiment. DETAILED DESCRIPTION

[0029] Various example embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some example embodiments are shown. In the accompanying drawings, the same reference numerals refer to the same elements throughout. Repeated descriptions may be omitted.

[0030] Figure 1 is a block diagram illustrating an electronic device according to an example embodiment, and Figure 2 is a flowchart illustrating an image stabilization method according to example embodiments.

[0031] refer to Figure 1 , the electronic device 10 may include a camera module (CAM) 20, a motion sensor (MSEN) 30, an image signal processor 40, an image stabilizer 50, and an image size controller (ISC) 60. Although the motion sensor 30 is Figure 1 20, the motion sensor 30 may be included in the camera module 20. In addition, although the image stabilizer 50 is included in the Figure 1 The image stabilizer 50 is included in the image signal processor 40 , but the image stabilizer 50 may be implemented as a structure separate from the image signal processor 40 .

[0032] refer to Figure 1 and Figure 2 The camera module 20 can generate the original frame image RFI by capturing the image. The motion sensor 30 can generate the camera motion data MDT (S100) by sensing the motion of the camera module 20. Figure 3 The camera module 20 and the motion sensor 30 are described.

[0033] The image signal processor 40 may include at least one image signal processor core 41. The image signal processor core 41 may generate a processed frame image PFI by processing an input frame image IFI corresponding to a raw frame image RFI (S200).

[0034] The image signal processor core 41 may include at least one pipeline circuit PLC, which includes a plurality of processing modules M1, M2 and M3 connected in series, and is used to sequentially process data rows of the received input frame image IFI.

[0035] The pipeline circuit PLC can divide the processing of a data row into several sub-processings, and multiple processing modules M1, M2 and M3 each having different functions can be responsible for the sub-processings. The processing results performed in each processing module can be continuously transmitted to the next processing module, and the final pipeline processing result can be output from the last processing module. Multiple processing modules M1, M2 and M3 can overlap the sub-processings for several input data rows that are sequentially input into the pipeline circuit PLC. Therefore, this pipeline scheme can be used to shorten the total processing time of the data row.

[0036] The image stabilizer 50 may generate an output frame image OFI by performing electronic image stabilization (EIS) on the processed frame image PFI (S300). Fig. 20 Describe the EIS.

[0037] The image size controller 60 may estimate a motion level indicating the degree of camera motion of the camera module 20 based on the camera motion data MDT (S400). In addition, the image size controller 60 may control the size of the input frame image IFI or the size of the output frame image OFI based on the motion level. In some example embodiments, the image size controller 60 may generate a size control signal CSZ including size control information, and control the image signal processor 40 using the size control signal CSZ (S500).

[0038] In some example embodiments, as will be referred to below Figures 10 to 15B It is described that when the motion level is less than a threshold value, the image size controller 60 can reduce the size of the input frame image. The image stabilization method according to the exemplary embodiment and the electronic device 10 performing the image stabilization method can reduce power consumption by reducing the size of the input frame image according to the degree of camera motion (or camera motion). In some exemplary embodiments, based on the detected motion level, unnecessary operations may not be performed on the area of ​​the image frame. Therefore, unnecessary power consumption can be prevented or reduced. For example, according to some exemplary embodiments, the accuracy of image stabilization, power consumption, and field of view can be improved based on the above method. Therefore, the improved device and method overcome the shortcomings of traditional devices and methods in motion resolution, field of view, and noise removal, while reducing resource consumption and improving data clarity. For example, by using the disclosed method, the electronic device 10 can require fewer resources (such as memory access and / or power of the driving circuit) to generate an image (e.g., input frame image IFI and / or and output frame image OFI). In addition, based on the increased size of the output frame image OFI, a clearer and more detailed image can be generated based on the improved field of view. In addition, the electronic device 10 according to the exemplary embodiment can have improved resource usage as described above based on the level of detected movement.

[0039] In some example embodiments, as will be referred to below Figures 16 to 19 As described, the image size controller 60 can reduce the cropping margin of the EIS performed by the image stabilizer 50. The image stabilization method according to example embodiments and the electronic device 10 performing the image stabilization method can reduce the loss of the field of view (FOV) by reducing the cropping margin according to the degree of camera motion.

[0040] In the present disclosure, the camera module may include an image sensor, and the camera motion data may include frame motion data. According to example embodiments, the image size may be adjusted based on a motion level of a final image reflecting OIS compensation.

[0041] Figure 3 is a block diagram illustrating an electronic device according to an example embodiment.

[0042] refer to Figure 3 , the electronic device 11 may include a camera module 100 and an application processor (AP) 200 .

[0043] The camera module 100 may include a lens assembly 101, a light source 102, an image sensor 103, a motion sensor 104, and an OIS controller 105. The application processor 200 may include an image signal processor 201, a memory 202 (eg, a buffer memory), an image stabilizer (EIS) 203, and an image size controller (ISC) 60.

[0044] The lens assembly 101 may collect light emitted from an object as an image capture target. The lens assembly 101 may include one or more lenses. Therefore, in some example embodiments, the camera module 100 may include multiple lens assemblies 101. In this case, the camera module 100 may be, for example, a dual camera, a 360-degree camera, or a spherical camera. The multiple lens assemblies 101 may have the same lens characteristics (e.g., field of view, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have at least one lens characteristic different from another lens assembly. For example, the lens assembly 101 may include a wide-angle lens or a telephoto lens.

[0045] The light source 102 may emit light for enhancing light emitted from an object to be captured. The light source 102 may include one or more light emitting diodes (eg, red-green-blue (RGB) LEDs, white LEDs, infrared LEDs, ultraviolet LEDs, or xenon lamps).

[0046] The image sensor 103 may obtain an image corresponding to an object by converting light emitted from the object through the lens assembly 101 into an electrical signal. The image sensor 103 may include one image sensor selected from image sensors having different properties (such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor), a plurality of image sensors having different properties, or a plurality of image sensors having the same properties. Each image sensor included in the image sensor 103 may be implemented as, for example, a charge coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

[0047] The OIS controller 105 may respond to the motion or movement of the camera module 100 or the electronic device 11 including the camera module 100 so that at least one lens or image sensor 103 included in the assembly 101 may be moved or controlled in a specific direction to at least partially compensate for the negative impact (e.g., image shake) on the captured image caused by the motion. According to example embodiments, the OIS controller 105 may be implemented as, for example, an optical image stabilizer, and may sense the motion using a gyro sensor, an acceleration sensor, a magnetometer, etc. placed inside or outside the camera module 100.

[0048] The image signal processor 201 may perform image processing (e.g., depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis) and / or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). In addition, the image signal processor 201 may provide information to control at least one component included in the camera module 100, such as exposure time control, readout timing control, etc. The final image processed by the image signal processor 201 may be stored back in the memory 202 for further processing or transmitted to an external component of the camera module 100. According to example embodiments, the image signal processor 201 may be configured as at least a part of the application processor 200, or may be configured as a separate processor that operates independently of the application processor 200. The final image processed by the image signal processor 201 may be displayed on a display device as is, or displayed on a display device after additional image processing performed by the application processor 200.

[0049] The memory 202 may at least temporarily store at least a portion of the image acquired by the image sensor 103 for the next image processing task. For example, when acquiring images according to shutter delay, or when acquiring multiple images at high speed, the acquired original image or line image (e.g., high-resolution image) may be stored in the memory 202, while the corresponding copy image (e.g., low-resolution image) may be previewed through the display device. Thereafter, when a specified condition (e.g., user input or system command) is met, at least a portion of the original image stored in the processor 202 may be acquired and processed by the image signal memory 201.

[0050] In some example embodiments, the electronic device 11 may include two or more camera modules 100, each having different properties or functions. In this case, for example, at least one camera module 100 may be a wide-angle camera or a front camera, and at least one other camera module may be a telephoto camera or a rear camera.

[0051] As referenced above Figure 1 and Figure 2 As described above, the image size controller 60 may estimate a motion level indicating the degree of camera motion of the camera module 100 based on the camera motion data provided from the motion sensor 104. In addition, the image size controller 60 may control the size of an input frame image input to the image signal processor core or the size of an output frame image output from the image stabilizer 203 based on the motion level.

[0052] Figure 4 is a flow chart illustrating some example embodiments of estimating motion level in an image stabilization method according to example embodiments.

[0053] refer to Figure 1 and Figure 4 , the image size controller 60 may calculate a coordinate value indicating the orientation or position of the camera module 20 based on a plurality of values ​​of the camera motion data MDT sequentially provided from the motion sensor 30 during a reference time interval before a time point at which the raw frame image RFI is generated (S410). The image size controller 60 may calculate a difference in the coordinate values ​​(S420), and calculate a discreteness of the difference values ​​(S430). Finally, the image size controller 60 may estimate a motion level based on the discreteness (S440).

[0054] In the following, reference will be made to Figures 5 to 9 Describe in more detail Figure 4 method.

[0055] Figure 5 It is shown in Figure 4 Figure 2. Calculation of coordinate values ​​based on camera motion data in motion level estimation.

[0056] Figure 5 The camera motion data provided from the motion sensor 30 during the frame period TF between the capture time point tn of the nth original frame image RFI and the capture time point tn+1 of the (n+1)th original frame image RFI, and the process of calculating the coordinate value using the camera motion data are shown. The frame period TF corresponds to the inverse of the frame rate. For example, when the frame rate is 30 frames per second (fps), the frame period TF is 1 / 30 seconds.

[0057] In some example embodiments, as will be referred to below Fig. 9 As described above, the camera motion data provided by the motion sensor 30 may be three angular velocities provided by the gyro sensor. In this case, Figure 5 The velocity VL shown in corresponds to one of the three angular velocities, and Figure 5 The coordinate CV shown in may indicate an angle corresponding to the one angular velocity.

[0058] For example, during the frame period TF, a plurality of angular velocity values ​​V1 to V8 may be provided from the gyro sensor, and the plurality of angular velocity values ​​V1 to V8 correspond to the instantaneous angular velocity at each time point. If the time interval between consecutive time points is Δt, the amount of change (e.g., displacement) di of the angle CV corresponding to the angular velocity Vi (i=1 to 8) may be expressed as Expression 1.

[0059] Expression 1

[0060] di=Vi·Δt

[0061] Using these displacements di, the coordinate value Cn+1 at the capture time point tn+1 of the (n+1)th original frame image RFI can be obtained, as shown in Expression 2.

[0062] Expression 2

[0063] Cn+1=Cn+∑ i∈TF d

[0064] In Expression 2, Cn represents a coordinate value at a capturing time point tn of the nth raw frame image RFI.

[0065] Fig. 6A , Figure 6B , Fig. 7A and Figure 7B It is shown Figure 4 Schematic diagram of calculation of the difference in coordinate values ​​in motion level estimation.

[0066] Fig. 6A Shown by reference Figure 5 The described method obtains a plurality of coordinate values ​​C1 to C8 of a coordinate CV. Fig. 6A It is shown that, in a state where it is assumed that the camera module is fixed at the average coordinate value Cm, the coordinate values ​​C1 to C8 fluctuate due to unintentional hand shaking.

[0067] exist Fig. 6A In FIG. 1 , time points t1 to t8 correspond to the capture time points of the temporally consecutive original frame images RFI. For the convenience of illustration and description, Fig. 6A An example in which the reference time interval TR corresponds to seven frame periods TF is shown, but example embodiments are not limited thereto. The reference time interval TR may be determined to be an appropriate value according to characteristics of a camera module, an image capturing environment, etc. The motion level estimated based on camera motion data during the reference time interval TR may be a criterion for adjusting the size of an input frame image IFI and an output frame image OFI corresponding to a raw frame image RFI captured at or after the end of the reference time interval TR.

[0068] Figure 6B Shows the corresponding Fig. 6A The variance DIFF of the coordinates CV corresponds to the difference between the coordinate values ​​C1 to C8. Each difference Di (i=1 to 7) corresponds to the difference between two temporally consecutive coordinate values ​​Ci+1 and Ci, and can be expressed as Expression 3.

[0069] Expression 3

[0070] Di=(Ci+1)-(Ci)

[0071] like Figure 6B As shown, when the camera module is fixed to the average coordinate value Cm, the average value m of the difference value Di converges to 0.

[0072] Fig. 7A FIG. 2 shows a case where the coordinate values ​​C1 to C8 fluctuate due to unintentional hand shaking while the coordinate CV of the camera module is increasing. Figure 7B As shown, the average value m of the difference values ​​Di converges to a value greater than zero.

[0073] The degree of dispersion of the difference value Di may be calculated, and a motion level indicating the degree of camera motion of the camera module may be estimated based on the degree of dispersion.

[0074] Fig. 8A and 8B is a diagram showing the distribution of difference values ​​according to the degree of camera motion.

[0075] Fig. 8A shows the distribution of the variance DIFF (ie, the above-mentioned difference Di) when the motion of the camera module (such as hand shaking) is relatively small, and Figure 8B FIG. 4 shows the distribution of the difference value Di when the movement of the camera module is relatively large. Fig. 8A and 8B As shown, it can be seen that as the movement of the camera module increases, the discreteness of the difference DIFF increases. As will be described below, when the discreteness (or degree of discreteness) is less than a threshold, the camera module can be considered to be in a static state STS, and when the discreteness is greater than the threshold, the camera module can be considered to be in a moving state STM.

[0076] In some example embodiments, the motion level may be estimated based on the variance V of the difference value Di, as shown in Expression 4.

[0077] Expression 4

[0078]

[0079] In Expression 4, TF represents a reference time interval (eg, corresponding to one frame period), Di represents each difference value, m represents an average value of the difference values, and N represents the total number of difference values.

[0080] According to example embodiments, the above-mentioned motion level may be a variance V or a standard deviation corresponding to a square root of the variance V.

[0081] Fig. 9 is a diagram illustrating an example of camera motion data for describing an image stabilization method according to example embodiments.

[0082] refer to Fig. 9 The orientation of the camera module can be expressed as a combination of three angles with the X-axis, Y-axis, and Z-axis as the rotation axes, namely roll θx, pitch θy, and yaw θz. Unlike the accelerometer that measures acceleration, the gyroscope sensor measures the three angular velocities of roll x, pitch y, and yaw z.

[0083] Figure 1 The motion sensor 30 may include a gyro sensor, which provides a first angular velocity Ωx, a second angular velocity Ωy, and a third angular velocity Ωz, which have X, Y, and Z axes orthogonal to each other as rotation axes, respectively. The first angular velocity Ωx may be an angular velocity corresponding to roll θx, the second angular velocity Ωy may be an angular velocity corresponding to pitch θy, and the third angular velocity Ωz may be an angular velocity corresponding to yaw θz. The gyro sensor is one of the motion sensors that uses the dynamic motion of a rotating object, and is used for position measurement and direction setting, etc. The gyro sensor is used to control the posture of various devices such as smart phones, remote controllers, airplanes, satellites, etc.

[0084] In some example embodiments, Figure 1 The image size controller 60 can be used Figure 4The image size controller 60 estimates the motion level based on the camera motion data provided from the gyro sensor according to the method. The image size controller 60 may calculate a first discreteness of the difference of the roll value θx based on a plurality of values ​​of the first angular velocity Ωx sequentially provided during the reference time interval TR, a second discreteness of the difference of the pitch value θy based on a plurality of values ​​of the second angular velocity Ωy sequentially provided during the reference time interval TR, and a third discreteness of the difference of the yaw value θz based on a plurality of values ​​of the third angular velocity Ωz. The image size controller 60 may estimate the sum of the first discreteness, the second discreteness, and the third discreteness as the motion level for determining the motion information of the camera module.

[0085] In some example implementations, for example, reference Figures 4 to 9 As described above, the image size controller 60 may sequentially calculate the coordinate values ​​and the difference values ​​based on the camera motion data MDT, and then calculate the dispersion of the difference values.

[0086] In some example embodiments, as will be referred to below Figure 20 to Figure 21 As described, the image stabilizer 50 may generate coordinate values ​​based on camera motion data during the process of performing electronic image stabilization (EIS). In this case, the image size controller 60 may calculate the discreteness based on the coordinate values ​​provided from the image stabilizer 50. In other words, at least a portion of the calculation for image resizing may be performed using a portion of the calculation for performing EIS. In some example embodiments, unnecessary operations may not be performed on an area of ​​the image frame based on the detected motion level, and thus unnecessary power consumption may be prevented or reduced. For example, according to some example embodiments, based on the above method, the accuracy, power consumption, and improved field of view of image stabilization may be increased. Therefore, the improved device and method overcome the deficiencies of conventional devices and methods in motion resolution, field of view, and noise removal, while reducing resource consumption and increasing data clarity. For example, by using the disclosed method, the electronic device 10 may require fewer resources (such as memory access and / or power of a driving circuit) to generate an image (e.g., an output frame image OFI). In addition, the electronic device 10 according to the example embodiment may have improved resource usage as described above based on the level of detected movement.

[0087] In some example embodiments, the image size controller 60 may estimate the motion level based on the discreteness of a plurality of values ​​of the camera motion data MDT sequentially provided from the motion sensor 30 during the reference time interval TR before the time point at which the raw frame image RFI is generated. In other words, the image size controller 60 may calculate Figure 5 The dispersion of the values ​​of the velocity VL shown (eg, the angular velocity values ​​V1 to V8 during the reference time interval TR) is measured, and the motion level is estimated based on the dispersion of the angular velocity values ​​V1 to V8.

[0088] When the motion of the camera module is small, the EIS cropping margin is not very large. In this case, the input frame image IFI can be pre-cropped to reduce processing power consumption, as will be referred to below. Figures 10 to 15B The output frame image OFI of the EIS may be cropped significantly to reduce the loss of the field of view (FOV), as will be described below. Figures 16 to 19 Described.

[0089] Fig.10 is a flowchart illustrating some example embodiments of adjusting the size of an input frame image in an image stabilization method according to example embodiments.

[0090] refer to Figure 1 and Fig.10 , the image size controller 60 may estimate a motion level ML indicating a degree of camera motion of the camera module 20 based on the camera motion data MDT (S10). The image size controller 60 may compare with the reference Figures 4 to 9 The motion level ML is estimated in the same manner as described, but example embodiments are not limited thereto.

[0091] The image size controller 60 may compare the motion level ML with the threshold THI ( S11 ), and control the size of the input frame image IFI based on the comparison result.

[0092] When the motion level ML is less than the threshold THI (S11: Yes), the image size controller 60 may reduce the size of the input frame image IFI to be smaller than the size SZ of the original frame image RFI (S12). When the motion level ML is less than the threshold THI, the image size controller 60 may determine that the camera module 20 is in a substantially static state STS and set the size of the input frame image IFI to a static size SZIS.

[0093] Meanwhile, when the motion level ML is greater than the threshold THI (S11: No), the image size controller 60 may maintain the size of the input frame image IFI equal to the size SZ of the original frame image RFI (S13). When the motion level ML is greater than the threshold THI, the image size controller 60 may determine that the camera module 20 is in the motion state STM and maintain the size of the input frame image IFI to the motion state size SZIM (i.e., the size SZ of the original frame image RFI).

[0094] The image signal processor 40 transmits the input frame image IFI having the size SZIS of the static state STS or the size SZIM of the moving state STM determined in this way to the image signal processor core 41 as an input (S14).

[0095] In some example embodiments, the image size controller 60 may generate a size control signal CSZ indicating the size of the input frame image IFI. The image signal processor core 41 of the image signal processor 40 may generate the input frame image IFI by cropping the original frame image RFI based on the size control signal CSZ. Fig.14 , Fig.15A and Fig. 15B A method for adjusting the size of an input frame image IFI by cropping is described.

[0096] In this way, by reducing the size of the input frame image IFI according to the degree of camera motion, the amount of data processed by the image signal processor 40 can be reduced, and power consumption can be reduced, for example, significantly reduced.

[0097] Fig.11 , Fig.12 and Fig.13 It shows that according to Fig.10 Schematic diagram of the image dimensions of the method.

[0098] Fig.11 Shown by Fig.10 The method determines the size of the input frame image IFI of the motion level ML, and Fig.12 The relative sizes of the images are shown.

[0099] like Fig.11 and Fig.12 As shown, in a motion state STM where the motion level ML is greater than a threshold THI, the size of the input frame image IFI may be set to a motion state size SZIM. On the other hand, in a static STS where the motion level ML is less than a threshold THI, the size of the input frame image IFI may be set to a static size SZIS. The motion state size SZIM may be equal to the size SZ of the original frame image RFI, and the static size SZIS may be less than the size SZ of the original frame image RFI. In some example embodiments, when the size of the input frame image IFI is controlled, the size of the output frame image OFI may be fixed to a reference size SZR regardless of the motion level ML.

[0100] Fig.12 Some example embodiments are shown where the center of the input frame image IFI of the static size SZIS coincides with the center of the original frame image RFI. According to example embodiments, the center of the input frame image IFI of the static size SZIS may be set to not coincide with the center of the original frame image RFI according to the crop margin of the EIS.

[0101] In some example embodiments, the camera motion degree of the camera module 20 may be divided into a plurality of motion states according to the size of the motion level ML, and the size of the input frame image IFI may be changed differently for each of the plurality of motion states. Fig.13 As shown, Fig.11 The motion state STM can be divided into a first motion state STM1 and a second motion state STM2, in which the motion level ML is between the threshold THI and the threshold THI', and in the second motion state STM2, the motion level ML is greater than the threshold THI'. The first motion state STM1 corresponds to a state in which the motion of the camera module 20 is less than that of the second motion state STM2. In this case, the size SZIM' of the input frame image IFI in the first motion state STM1 can be set to be larger than the size SZIS of the input frame image IFI in the static state STS, and can be set to be smaller than the size SZIM of the input frame image IFI in the second motion state STM2.

[0102] Fig.14 It is shown in Fig.10 A block diagram of some example embodiments of an adjustment circuit configured to adjust the size of an input frame image in a method.

[0103] refer to Fig.14 , for convenience of description, the camera module (CAM) 20 and the interface (INT) 25 are shown together.

[0104] refer to Fig.14 , the resizing circuit 80 may include a control logic circuit (CLG) 81 and a buffer circuit (BFC) 82. The resizing circuit 80 may be included in Figure 1 The image signal processor core 410 is placed in the image signal processor core 41 or is placed in front of the image signal processor core 41.

[0105] The resizing circuit 80 receives the raw frame image RFI, crops the raw frame image RFI based on the size control signal CSZ indicating the motion level ML, and outputs the input frame image IFI. The input frame image IFI output from the resizing circuit 80 may be provided to the image signal processor core 41.

[0106] The control logic circuit 81 may generate a control signal CTRL for controlling the buffer circuit 82 based on the size control signal CSZ provided from the image size controller 60 , the first vertical synchronization signal VSYNC, and the first horizontal synchronization signal HSYNC received through the channel CH.

[0107] The buffer circuit 82 may buffer the raw frame image RFI received through the channel CH and output the input frame image IFI whose size is adjusted according to the control signal CTRL.

[0108] In addition, the control logic circuit 81 can generate a second vertical synchronization signal VSYNC′ and a second horizontal synchronization signal HSYNC′ for operation of the image signal processor core at a later stage.

[0109] Fig.15A and 15B It is shown Fig.14 A timing diagram of the operation of the resizing circuit.

[0110] The vertical synchronization signal may indicate the start and end of transmission of one frame image, and the horizontal synchronization signal may indicate the start and end of transmission of one data line.

[0111] Fig.15A Data lines L1 to La included in one raw frame image RFI are shown. The first vertical synchronization signal VSYNC indicates the start and end of the raw frame image RFI, and the first horizontal synchronization signal HSYNC indicates the start and end of each data line L1 to La included in the raw frame image RFI. One raw frame image RFI may be transmitted during the first frame period TF, and each data line may be transmitted during the first line period TL.

[0112] Fig. 15B The data lines L1' to Lb' included in one input frame image IFI are shown. The second vertical synchronization signal VSYNC' indicates the start and end of the input frame image IFI, and the second horizontal synchronization signal HSYNC' indicates the start and end of each data line L1' to Lb' included in the input frame image IFI. One input frame image IFI may be transmitted during the second frame period TF', and each data line may be transmitted during the second line period TL'.

[0113] As described above, when the degree of camera motion corresponds to a static STS, the input frame image IFI may have a size smaller than the size of the original frame image RFI. In this case, the number of data rows L1' to Lb' of the input frame image IFI and the size of each data row (the number of data bits) may be reduced to be smaller than the number of data rows L1 to La and the size of each data row of the original frame image RFI. Therefore, by reducing the size of the input frame image IFI, the amount of data processed by the image signal processor core 41 may be reduced, and power consumption may be reduced, and for example, significantly reduced.

[0114] In addition, when the camera motion degree corresponds to the static STS, the second frame transmission period TF' and the second line transmission period TL' of the input frame image IFI can be reduced to be smaller than the first frame transmission period TF and the first line transmission period TL of the original frame image RFI. Therefore, the processing speed of the image signal processor core 41 can be improved by reducing the transmission time of the input frame image IFI.

[0115] Fig.16 is a flowchart illustrating some example embodiments of adjusting the size of an output frame image in an image stabilization method according to example embodiments.

[0116] refer to Figure 1 and Fig.16 , the image size controller 60 may estimate a motion level ML indicating a degree of camera motion of the camera module 20 based on the camera motion data MDT (S10). The image size controller 60 may compare with the reference Figures 4 to 10 The motion level ML is estimated in the same manner as described, but example embodiments are not limited thereto.

[0117] The image size controller 60 may compare the motion level ML with the threshold value THO ( S21 ), and control the size of the output frame image OFI based on the comparison result.

[0118] When the motion level ML is less than the threshold value THO (S21: YES), the image size controller 60 may increase the size of the output frame image OFI to be larger than the reference size SZR (S22). Here, the reference size SZR represents the size of the output frame image OFI. Figure 1 The image size controller 60 may determine that the camera module 20 is in a substantially static state STS and increase the size of the output frame image OFI to a static size SZOS when the motion level ML is less than the threshold value THO.

[0119] Meanwhile, when the motion level ML is greater than the threshold value THO (S21: No), the image size controller 60 may maintain the size of the output frame image OFI equal to the reference size SZR (S23). When the motion level ML is greater than the threshold value THO, the image size controller 60 may determine that the camera module 20 is in the motion state STM, and maintain the size of the output frame image OFI at the state size SZOM, i.e., the reference size SZR, without increasing the size of the output frame image OFI.

[0120] The image stabilizer 50 may generate an output frame image OFI having a size SZOS of the static state STS or a size SZOM of the motion state STM determined in this manner (S24). In some example embodiments, the output frame image is output for additional image processing, stored in a memory, and / or displayed, however, example embodiments are not limited thereto.

[0121] In some example embodiments, the image size controller 60 may generate a size control signal CSZ indicating the size of the output frame image OFI. The image stabilizer 50 may generate the output frame image OFI by adjusting the cropping margin of the EIS based on the size control signal CSZ. A method of adjusting the size of the output frame image OFI by the cropping margin of the EIS will be described later.

[0122] Therefore, by increasing the size of the output frame image (e.g., reducing the crop margin based on the degree of camera motion), the field of view loss associated with EIS can be reduced.

[0123] Fig.17 , Fig.18 and Fig.19 It shows that according to Fig.16 Schematic diagram of the image dimensions of the method.

[0124] Fig.17 Shown by Fig.16 The method determines the size of the output frame image OFI of the motion level ML, and Fig.18 The relative sizes of the images are shown.

[0125] like Fig.17 and 18 As shown, in a motion state STM where the motion level ML is greater than a threshold value THO, the size of the output frame image OFI may be set to a motion state size SZOM, and in a static state STS where the motion level ML is less than a threshold value THO, the size of the output frame image OFI may be set to a static size SZOS. The motion state size SZOM may be equal to a reference size SZR, and the static size SZOS may be greater than the reference size SZR. In some example embodiments, when the size of the output frame image OFI is controlled, the size of the input frame image IFI (i.e., the static size SZIS and the motion state size SZIM) may be fixed to the size SZ of the original frame image RFI regardless of the motion level ML.

[0126] In some example embodiments, the camera motion degree of the camera module 20 may be divided into a plurality of motion states according to the magnitude of the motion level ML, and the size of the output frame image OFI may be changed differently for each of the plurality of motion states. Fig.19 As shown, Fig.17The motion state STM can be divided into a first motion state STM1 and a second motion state STM2, in which the motion level ML is between the threshold THO and the threshold THO', and in the second motion state STM2, the motion level ML is greater than the threshold THO'. The first motion state STM1 corresponds to a state in which the degree of motion of the camera module 20 is less than that of the second motion state STM2. In this case, the size SZOM' of the output frame image OFI in the first motion state STM1 can be set to be smaller than the size SZOS of the output frame image OFI in the static STS, and can be set to be larger than the size SZOM of the output frame image OFI in the second motion state STM2.

[0127] As reference Figures 1 to 19 As described above, the image stabilization method and the electronic device performing the image stabilization method according to the exemplary embodiment can effectively perform image stabilization by estimating the camera motion and adjusting the size of the image according to the camera motion. The power consumption can be reduced by reducing the size of the input frame image according to the degree of camera motion, and the loss of the field of view can be reduced by reducing the cropping margin according to the degree of camera motion.

[0128] In the following, reference will be made to Fig. 20 Description by Figure 1 The image stabilizer 50 of the exemplary embodiment performs electronic image stabilization (EIS). The exemplary embodiments are not limited to the EIS described below, and the image stabilizer 50 may perform EIS in various ways. Fig. 20 Some embodiments are shown in which both EIS and OIS are performed, but example embodiments relate to image resizing in EIS regardless of whether OIS is performed.

[0129] Fig. 20 is a block diagram illustrating some example embodiments of an image stabilization circuit included in an electronic device according to example embodiments.

[0130] refer to Fig. 20 The image stabilizer 50 includes a motion vector module 210, a motion estimator 220 based on a motion vector (MV), an OIS2D translation information estimator 230, a gyroscope-based motion estimator 240, a camera path optimizer 250, a motion compensation calculator 260, and a geometric distortion compensator 270. For ease of description, the frame angular velocity sensor 151 and the gyroscope sensor 153 that may be included in the motion sensor are shown in FIG. Fig. 20 Shown in.

[0131] The frame angular velocity sensor 151 outputs frame data FRAME INFO. For example, whenever a frame timestamp is stamped at a preset (or, alternatively, desired or determined) period, the frame angular velocity sensor 151 may output instantaneous angular velocity information of the frame image. Whenever a frame timestamp is stamped, the motion vector module 210 may output position change information of feature points within the frame. The image sensor generates a frame image, and the frame data generated from the frame angular velocity sensor 151 includes frame timestamp information.

[0132] The gyro sensor 153 outputs gyro data GYRO INFO. For example, whenever a gyro timestamp is captured at a preset (or, alternatively, desired or determined) time period, the gyro sensor 153 can output instantaneous angular velocity information of the camera module itself (i.e., the camera body). That is, the gyro data includes the gyro timestamp and the position information (e.g., 3D coordinates) of the camera body.

[0133] The image stabilizer 50 receives the frame rotation information FR_PATH and the camera rotation information C_PATH through the frame data and the motion data, extracts the OIS2D translation information T_Path, and optimizes the camera rotation information C_PATH by reflecting the OIS2D translation information T_Path. Based on the optimized camera rotation information C_PATH and the OIS2D translation information T_Path, the image stabilizer 50 outputs a digitally stabilized final image, that is, the above-mentioned output frame image OFI.

[0134] In the raw frame image RFI, each pixel within a frame image (e.g., the first frame generated from the first frame timestamp) is sensed at different time points according to the movement of the rolling shutter, and the position information of the feature points about the same object is changed according to the position of the camera body or the rotation angle of the frame of each row. The MV-based motion estimator 220 can extract the changes between such pixel position information (i.e., rolling shutter information). This is called intra-frame rotation information Intra_FR_Path. In addition, the final camera rotation information in each frame is extracted by accumulating and summing the inter-frame rotation information Inter_FR_Path of the camera.

[0135] According to an example embodiment, the motion vector module 210 receives a frame image and frame data, and extracts motion vector information MV of the frame image, that is, motion information of the frame. The motion vector information MV may be motion information extracted from the frame image. The MV-based motion estimator 220 extracts frame rotation information FR_Path based on the frame data FRAME INFO and / or the motion vector information MV. The frame rotation information FR_Path may include inter-frame rotation information Inter_FR_Path, intra-frame rotation information Inter_FR_Path, and final frame rotation information obtained by accumulating and summing the inter-frame rotation information Inter_FR_Path.

[0136] For example, the MV-based motion estimator 220 extracts the angle change between "first rotation information" of the first frame generated from the first frame timestamp and "second rotation information" of the second frame generated from the second frame timestamp based on the frame data and motion vector information (MV) received from the frame angular velocity sensor 151 and the motion vector module 210.

[0137] The gyro-based motion estimator 240 extracts the camera rotation information based on the gyro data. For example, the gyro-based motion estimator 230 compares the gyro data, i.e., the "first rotation information" generated from the first gyro timestamp and the "second rotation information" generated from the second gyro timestamp, and can extract the position change in the 3D universal coordinate system between the first gyro timestamp and the second gyro timestamp (e.g., including the amount of motion, the direction of motion, and the angular velocity of rotation for each of the X, Y, and Z axes) as the camera rotation information C_Path. As described above, such camera rotation information C_Path can be provided to the image size controller 60 as a coordinate value for estimating the motion level ML.

[0138] The camera rotation information C_Path also includes inter-frame camera rotation information Inter_C_Path, intra-frame camera rotation information Intra_C_Path, and final camera rotation information. The final camera rotation information can be calculated by accumulating and summing the inter-frame camera rotation information Inter_C_Path.

[0139] The OIS2D translation information estimator 230 extracts OIS2D translation information T_Path, which is information related to lens shift or sensor shift, based on the frame rotation information FR_Path and the camera rotation information C_Path. The OIS2D translation information T_Path may be information about the movement of the lens assembly in the camera module on the same plane (plane shift) or information about the movement of the image sensor on the same plane.

[0140] The OIS2D translation information T_Path can be obtained by multiplying the difference (e.g., angle value) between the camera rotation information C_Path and the frame rotation information FR_Path by the focal length of the image sensor or lens. In this case, both the inter-frame OIS2D translation information Inter_T_Path and the intra-frame OIS2D translation information Intra_T_Path can be obtained in the same manner. (e.g., Inter_T_Path=Inter_C_Path-Inter_FR_Path, and Intra_T_Path=Intra_C_Path-Intra_FR_Path). Then, the OIS2D translation inter-frame information (Inter_T_Path) is accumulated and summed to extract the final OIS2D translation information.

[0141] The OIS2D translation intra-frame information Intra_T_Path obtained here is used together with the intra-frame camera rotation information Intra_C_Path for image rolling shutter correction (for correcting pixel motion according to shutter motion).

[0142] The camera path optimizer 250 refers to the OIS2D translation information T_Path and the camera rotation information C_Path to obtain the stable camera motion information S, which is the camera module (eg, Figure 3 100) itself has moved along the path along which it has moved. The camera path optimizer 250 optimizes the camera rotation information C_Path by referring to the extracted OIS2D translation path T_Path, the extracted intra-frame OIS2D translation information Intra_T_Path, and the intra-frame camera rotation information Intra_C_Path. The optimization operation also includes distortion correction by rolling shutter.

[0143] When the image sensor is a CMOS sensor, the image signal processor can sequentially read out image data from the top row to the bottom row in the pixel array while the image sensor acquires the original image in units of frames. The operation of the image sensor reading out light in units of rows can be called a rolling shutter operation.

[0144] That is, in the rolling shutter method, since the time point at which light reflected from the object enters the image sensor 201 is different for each row, image distortion may occur due to the time difference of light even within one frame. Since the distortion caused by the rolling shutter motion is caused by both the camera rotation information C_Path and the OIS2D translation information T_Path, the intra-frame camera rotation information Intra_C_Path and the intra-frame OIS2D translation information Intra_T_Path can be used to correct the image distortion caused by the rolling shutter operation.

[0145] The motion compensation calculator 260 determines a motion compensation amount of the input frame image based on the intra-frame camera rotation information Intra_C_Path, the intra-frame OIS2D translation information Intra_T_Path, the final OIS2D translation information, the final camera rotation information, and the stabilized camera motion information S. That is, the motion compensation calculator 260 determines a correction amount at each individual grid point of the frame image output from the image sensor by reflecting a rotation compensation amount corresponding to the intra-frame camera rotation information Intra_C_Path, the intra-frame OIS2D translation information Intra_T_Path, and the final OIS2D translation information due to a rolling shutter operation.

[0146] Meanwhile, when the stabilized camera motion information S is applied to the frame image, the input pixel position of the modified frame image is calculated to exist within the range of the changed boundary edge or the cropping edge.

[0147] The geometric distortion compensator 270 receives as input the correction amount for each grid calculated by the motion compensation calculator 260 and performs digital image stabilization by applying (eg, binning or interpolating) the received correction amount to the entire frame image output from the camera module.

[0148] According to example embodiments, as described above, the motion compensation calculator 260 and the geometric distortion compensator 270 may adjust a boundary margin or a crop margin based on the size control signal CSZ provided from the image size controller 60 .

[0149] Fig.21 is a block diagram illustrating an electronic device according to an example embodiment.

[0150] refer to Fig.21 , the system 1000 includes a camera module (CAM) 1110 , a motion sensor (MSEN) 1120 , a transceiver (TRX) 1140 , a controller 1160 , and a user interface 1150 .

[0151] The camera module 1110 may include at least one image sensor or at least one camera that captures and provides images. In some example embodiments, the camera module 1110 may include a plurality of cameras, and may provide images captured by the plurality of cameras, respectively, as a plurality of input images. In some example embodiments, the camera module 1110 may provide images sequentially captured by one camera as a plurality of input images.

[0152] The transceiver 140 may provide connectivity to another network (eg, a wide area network such as the Internet or a cellular network) via a wired or wireless communication link.

[0153] The user interface 1150 may include an input component (KPD) 1152 such as a keyboard or keypad, and a display (DIS) 1112 that displays an image. The keyboard or keypad 1152 may be omitted when a virtual keypad is incorporated into the display 1112 with a touch screen / sensor. The display 1112 may be configured to receive an OFI (e.g., as an OFI, or as an OFI that is subsequently and additionally processed) and display the OFI to a user.

[0154] The controller 1116 includes a general purpose processor (PRC) 1161 , hardware (HW) 1162 , firmware (FW) 1163 , a memory (MEM) 1164 , an image signal processor (ISP) 1166 , a graphic engine (GENG) 1167 , and a bus 1177 .

[0155] The controller 1160 may be configured to implement image resizing of the image stabilization method according to example embodiments. For example, the controller 1160 may be configured to implement the image resizing function as described above.

[0156] Example embodiments may be implemented in hardware, software, firmware, or a combination thereof.

[0157] In some example embodiments, the image resizing of the image stabilization method may be performed by the image signal processor 1166. That is, the above-described image resizing controller 60 may be included in the image signal processor 1166. The image stabilization method according to example embodiments may be performed by a dedicated device or a computing circuit included in a graphics processing unit (GPU), a neural network processing unit (NPU), an image signal processor (ISP), a digital signal processor (DSP), a CPU, or the like.

[0158] In some example embodiments, at least a portion of the image stabilization method according to the example embodiments may be implemented in the form of executable program instructions that cause a data processing device to process an image. The program instructions may be stored in the form of software (SW) 1165 in the memory 1164, and the program instructions may be executed by the processor 1161 and / or the image signal processor 1166.

[0159] The processor 1161 includes hardware for executing instructions, such as instructions constituting a computer program. To execute instructions, the processor 1161 retrieves (or fetches) memory instructions from an internal register, an internal cache, or the memory 1164, decodes and executes the instructions, and writes one or more results to the internal register, the internal cache, and / or the memory 1164.

[0160] System 1000 may be a computer system in any suitable physical form. System 1000 may include an embedded computer system, a system on a chip (SOC), a single board computer system (SBC) (e.g., a computer on a chip), such as a computer on a module (COM) or a system on a module (SOM), a desktop computer system, a laptop or notebook computer system, an interactive kiosk, a mainframe, a computer system grid, a mobile phone, a personal digital assistant (PDA), a server, a tablet computer system, or a combination of two or more of these.

[0161] In the present disclosure, one or more computer-readable storage media refers to one or more semiconductor-based or other integrated circuits (ICs), such as field programmable gate arrays (FPGAs), application-specific ICs (ASICs), hard disk drives (HDDs), hybrid hard disk drives (HHDs), optical disks, optical disk drives (ODDs), magneto-optical disks, magneto-optical drives, floppy disks, floppy disk drives (FDDs), magnetic tapes, solid-state drives (SSDs), RAM drives, secure digital cards or drives, any other suitable computer-readable storage media, or any suitable combination of two or more of these. Computer-readable storage media may be volatile, non-volatile, or a combination of volatile and non-volatile.

[0162] The inventive concept can be applied to any device and system that performs image processing. For example, the inventive concept can be applied to such as mobile phones, smart phones, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, camcorders, personal computers (PCs), server computers, workstations, laptop computers, digital TVs, set-top boxes, portable game consoles, navigation systems, wearable devices, Internet of Things (IoT) devices, Internet of Everything (IoE) devices, e-books, virtual reality (VR) devices, augmented reality (AR) devices, server systems, car driving systems, vehicle navigation devices, monitoring systems, autofocus systems, tracking systems, motion detection systems, etc.

[0163] As described herein, any electronic device and / or portion thereof according to any example embodiment may include one or more examples of processing circuitry, may be included in one or more examples of processing circuitry, and / or may be implemented by one or more examples of processing circuitry, such as hardware including logic circuitry; a hardware / software combination, such as a processor executing software; or any combination thereof. For example, the processing circuitry may more specifically include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a graphics processing unit (GPU), an application processor (AP), a digital signal processor (DSP), a microcomputer, a field programmable gate array (FPGA) and a programmable logic unit, a microprocessor, an application specific integrated circuit (ASIC), a neural network processing unit (NPU), an electronic control unit (ECU), an image signal processor (ISP), etc. In some example embodiments, the processing circuitry may include a non-transitory computer-readable storage device (e.g., a memory) storing an instruction program, such as a DRAM device, and a processor (e.g., a CPU) configured to execute the instruction program to implement the functions and / or methods performed by some or all of any device, system, module, unit, controller, circuit, architecture, and / or portion thereof according to any example embodiment and / or any portion thereof.

[0164] The foregoing is illustrative of example embodiments and should not be construed as limiting thereof. Although several example embodiments have been described, those skilled in the art will readily appreciate that many modifications may be made in the example embodiments without substantially departing from the inventive concept.

Claims

1. An electronic device, include: a motion sensor configured to generate camera motion data by sensing motion of a camera module that captures images to generate raw frame images; an image signal processor core configured to generate a processed frame image by processing an input frame image corresponding to an original frame image; an image stabilizer configured to generate an output frame image by performing electronic image stabilization (EIS) on the processed frame image; as well as An image size controller is configured to estimate a motion level indicating a degree of camera motion of the camera module based on the camera motion data, and control a size of an input frame image or a size of an output frame image based on the motion level.

2. The electronic device according to claim 1, in, The image size controller is configured to reduce the size of the input frame image or reduce a crop margin of the EIS based on a motion level less than a threshold.

3. The electronic device according to claim 1, wherein the image size controller is configured to: Based on a motion level less than a threshold, reducing the size of the input frame image to a size smaller than the original frame image, and Based on the motion level being greater than a threshold, the size of the input frame image is kept equal to the size of the original frame image. 4 . The electronic device of claim 3 , wherein the image size controller is configured to fix the size of the output frame image regardless of a motion level.

5. The electronic device according to claim 1, wherein the image size controller is configured to: Based on a motion level greater than a threshold, fixing the size of the output frame image to be equal to the reference size, and Based on the motion level being less than a threshold, the size of the output frame image is increased to be larger than a reference size. 6 . The electronic device of claim 5 , wherein the image size controller is configured to fix a size of an input frame image regardless of the motion level.

7. The electronic device according to claim 1, wherein the image size controller is configured to: calculating a coordinate value indicating an orientation or position of the camera module based on a plurality of values ​​of camera motion data sequentially provided from the motion sensor during a reference time interval prior to a time point at which the original frame image is generated; Calculate the difference of coordinate values; Calculate the dispersion of the difference; as well as Estimate the motion level based on dispersion.

8. The electronic device according to claim 7, wherein The image stabilizer is configured to generate coordinate values ​​based on camera motion data when the image stabilizer performs EIS, and The image size controller is configured to calculate the dispersion based on the coordinates provided from the image stabilizer.

9. The electronic device according to claim 1, in, The image size controller is configured to estimate the motion level based on a discreteness of a plurality of values ​​of camera motion data sequentially provided from the motion sensor during a reference time interval prior to a time point at which the original frame image is generated.

10. The electronic device according to claim 1, in, The motion sensor includes a gyro sensor providing a first angular velocity, a second angular velocity, and a third angular velocity, the first angular velocity, the second angular velocity, and the third angular velocity respectively having X, Y, and Z axes orthogonal to each other as rotation axes.

11. An electronic device according to claim 10, wherein the image size controller is configured to estimate, as a motion level, a sum of discreteness of multiple first angular velocities, discreteness of multiple second angular velocities, and discreteness of multiple third angular velocities sequentially provided from the gyroscope sensor during a reference time interval before a time point when the original frame image is generated.

12. The electronic device according to claim 1, wherein the image size controller is configured to: Classifying the camera motion into multiple motion states according to the motion level, and For each of the plurality of motion states, the size of the input frame image or the size of the output frame image is changed to be different.

13. The electronic device according to claim 1, wherein The image size controller is configured to generate a size control signal indicating a size of an input frame image, and The image signal processor core is configured to generate an input frame image by cropping an original frame image based on a size control signal.

14. The electronic device according to claim 1, wherein The image size controller is configured to generate a size control signal indicating a size of an output frame image, and The image stabilizer is configured to change a ratio of a size of the output frame image relative to a size of the processed frame image based on the size control signal.

15. The electronic device according to claim 1, further comprising: include: The resizing circuit is configured to receive an original frame image and output an input frame image by cropping the original frame image according to a motion level.

16. The electronic device of claim 15, wherein the resizing circuit is configured to: Generates a vertical synchronization signal and a horizontal synchronization signal corresponding to the size of the input frame image, and The input frame image is transmitted to the image signal processor core in synchronization with the vertical synchronization signal and the horizontal synchronization signal.

17. An image stabilization method, include: generating camera motion data by sensing motion of a camera module that captures an image to generate a raw frame image; generating a processed frame image by processing an input frame image corresponding to an original frame image; generating an output frame image by performing electronic image stabilization (EIS) on the processed frame image; estimating a motion level indicating an extent of camera motion of the camera module based on the camera motion data; as well as The size of the input frame image or the size of the output frame image is controlled based on the motion level.

18. The method according to claim 17, in, Controlling the size of the input frame image or the size of the output frame image includes: Based on the motion level less than a threshold, the size of the input frame image is reduced or the crop margin of the EIS is reduced.

19. An image stabilization method, include: estimating a motion level indicating an extent of camera motion of a camera module that captures an image to generate a raw frame image based on camera motion data generated by a motion sensor; as well as The size of an input frame image input to an image signal processor core or the size of an output frame image generated by electronic image stabilization (EIS) is controlled based on the motion level.

20. The method of claim 19, wherein estimating the activity level include: calculating a coordinate value indicating an orientation or position of the camera module based on a plurality of values ​​of camera motion data sequentially provided from the motion sensor during a reference time interval prior to a time point at which the original frame image is generated; Calculate the difference of coordinate values; Calculate the dispersion of the difference; as well as Estimate the motion level based on dispersion.