Various embodiments of the disclosure relate to an electronic device for performing image compression and an operating method of an electronic device.
Demand for high-resolution and high-quality images, such as high-definition (HD) images and ultrahigh-definition (UHD) images, have been increasing in various fields. As image data has high resolution and high quality, the amount of data increases relative to legacy image data. Therefore, when image data is transmitted using a medium, such as a conventional wired/wireless broadband line, or is stored using an existing storage medium, transmission cost and storage cost thereof are increased.
Accordingly, extensive studies are ongoing on an image compression technique for high-resolution and high-quality images in order to address the foregoing problems due to image data having high resolution and high quality.
Recently, a situation in which a high-quality image is captured and a captured image is transmitted may occur in various situations that have not been previously encountered, such as image capturing using a 360-degree camera or a drone. Lenses used for image capturing using a 360-degree camera or a drone may include a lens that entails significant image distortion.
When a lens used for image capturing is a fisheye lens or a wide-angle lens, an image that is distorted in a spherical shape as the distance from the center of the lens increases may be generated.
When performing intra-prediction included in an image compression process for an image captured using a lens entailing significant image distortion, a linear prediction method used for intra-prediction of a spherically distorted image may cause an increase in residual value generated through the intra-prediction. A residual value may mean the difference between the pixel value of a base pixel and the pixel value of each of reference pixels among remaining pixels other than the base pixel in intra-prediction. The increase in the residual value may reduce the efficiency of image compression.
An electronic device according to various embodiments of the disclosure may include: a lens unit; an image sensor; a memory configured to store a direction mode used for intra-prediction of an image captured using the image sensor and differently configured depending on a characteristic of a portion of the lens unit; and a processor, wherein the processor may be configured to: obtain a raw image corresponding to an external object using the image sensor; divide the raw image into a plurality of blocks; select a block to be subjected to intra-prediction from among the plurality of blocks; determine a direction mode to be used for intra-prediction of the selected block based on a distortion parameter of a portion of the lens unit corresponding to the selected block; perform the intra-prediction on the selected block based on the determined direction mode; and generate a compressed image corresponding to the raw image based on a result of the intra-prediction.
An electronic device according to various embodiments of the disclosure may include: a lens unit; an image sensor configured to be disposed such that an image circle, formed on a surface of the image sensor when light corresponding to an external object passes through the lens unit, partially includes a portion of the image sensor and does not include another portion of the image sensor; and a processor, wherein the processor may be configured to: obtain an image corresponding to the external object using the image sensor; determine a portion of the image corresponding to the image circle; generate compressed image data by dividing the image into a plurality of blocks and compressing the plurality of blocks, a block at least partially included in the image circle among the plurality of blocks being compressed as part of the compressed image data and a block not included in the image circle among the plurality of blocks not being included in the compressed image data in part of the compressing; and transmit the compressed image data to an external processor.
An operating method of an electronic device according to various embodiments of the disclosure may include: obtaining a raw image corresponding to an external object using an image sensor; dividing the raw image into a plurality of blocks; selecting a block to be subjected to intra-prediction from among the plurality of blocks; determining a direction mode to be used for intra-prediction of the selected block based on a distortion parameter of a portion of a lens unit corresponding to the selected block; performing the intra-prediction on the selected block based on the determined direction mode; and generating a compressed image corresponding to the raw image based on a result of the intra-prediction.
An electronic device for performing image compression and an operating method of the electronic device according to various embodiments of the disclosure may perform compression on a block at least partially including an image circle among a plurality of blocks forming an image, thereby improving the speed of image compression.
An electronic device for performing image compression and an operating method of the electronic device according to various embodiments of the disclosure may use a prediction mode in view of the degree of distortion of a portion of a lens corresponding to a block to be subjected to intra-prediction, thereby reducing a residual value and increasing the efficiency of image compression.
An electronic device for performing image compression and an operating method of the electronic device according to various embodiments of the disclosure may transmit a compressed image to a cloud platform, and the cloud platform may perform image processing on the compressed image. Image processing may be performed by the cloud platform having superior processing performance to that of the electronic device, thereby achieving image processing at a high speed.
The processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation. According to one embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thererto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by other component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, or a keyboard.
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for an incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
The interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector),
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include one or more antennas, and, therefrom, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192). The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101. According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
The flash 220 may emit light that is used to reinforce light reflected from an object. According to an embodiment, the flash 220 may include one or more light emitting diodes (LEDs) (e.g., a red-green-blue (RGB) LED, a white LED, an infrared (IR) LED, or an ultraviolet (UV) LED) or a xenon lamp. The image sensor 230 may obtain an image corresponding to an object by converting light emitted or reflected from the object and transmitted via the lens assembly 210 into an electrical signal. According to an embodiment, the image sensor 230 may include one selected from image sensors having different attributes, such as a RGB sensor, a black-and-white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
The image stabilizer 240 may move the image sensor 230 or at least one lens included in the lens assembly 210 in a particular direction, or control an operational attribute (e.g., adjust the read-out timing) of the image sensor 230 in response to the movement of the camera module 180 or the electronic device 101 including the camera module 180. This allows compensating for at least part of a negative effect (e.g., image blurring) by the movement on an image being captured. According to an embodiment, the image stabilizer 240 may sense such a movement by the camera module 180 or the electronic device 101 using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. According to an embodiment, the image stabilizer 240 may be implemented, for example, as an optical image stabilizer.
The memory 250 may store, at least temporarily, at least part of an image obtained via the image sensor 230 for a subsequent image processing task. For example, if image capturing is delayed due to shutter lag or multiple images are quickly captured, a raw image obtained (e.g., a Bayer-patterned image, a high-resolution image) may be stored in the memory 250, and its corresponding copy image (e.g., a low-resolution image) may be previewed via the display device 160. Thereafter, if a specified condition is met (e.g., by a user's input or system command), at least part of the raw image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to an embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that is operated independently from the memory 130.
The image signal processor 260 may perform one or more image processing with respect to an image obtained via the image sensor 230 or an image stored in the memory 250. The one or more image processing may include, for example, depth map generation, three-dimensional (3D) modeling, panorama generation, feature point extraction, image synthesizing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor 260 may perform control (e.g., exposure time control or read-out timing control) with respect to at least one (e.g., the image sensor 230) of the components included in the camera module 180. An image processed by the image signal processor 260 may be stored back in the memory 250 for further processing, or may be provided to an external component (e.g., the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108) outside the camera module 180. According to an embodiment, the image signal processor 260 may be configured as at least part of the processor 120, or as a separate processor that is operated independently from the processor 120. If the image signal processor 260 is configured as a separate processor from the processor 120, at least one image processed by the image signal processor 260 may be displayed, by the processor 120, via the display device 160 as it is or after being further processed.
According to an embodiment, the electronic device 101 may include a plurality of camera modules 180 having different attributes or functions. In such a case, at least one of the plurality of camera modules 180 may form, for example, a wide-angle camera and at least another of the plurality of camera modules 180 may form a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may form, for example, a front camera and at least another of the plurality of camera modules 180 may form a rear camera.
Referring to
According to various embodiments of the disclosure, the camera module 310 may generate an image using light emitted from an external object 350 to be photographed. The camera module 310 may capture both a still image and a video but is not limited thereto.
According to various embodiments of the disclosure, the lens unit 311 may collect light emitted from the external object 350. The lens unit 311 may include a plurality of lenses and may include various lenses, such as a wide-angle lens, a narrow-angle lens, and a fisheye lens.
According to various embodiments of the disclosure, the image sensor 313 may convert the light collected by the lens unit 311 into an electrical signal, thereby obtaining an image corresponding to the external object 350. The image generated by the image sensor 313 may be a raw image.
According to various embodiments of the disclosure, the image sensor 313 may be disposed such that an image circle formed on the surface of the image sensor 313 by passing light corresponding to the external object 350 through the lens unit 311 is included in part of the image sensor 313 and is not included in another part of the image sensor 313. The image circle may refer to a virtual line realized in a circle on the image. The shape of the image circle may be a circle but may have various shapes without being limited to a circle.
According to various embodiments of the disclosure, a raw image may be configured in various formats (e.g., a Bayer format). The raw image may be expressed in one color of red (R), green (G), and blue (B) for a pixel of the image sensor 313 and can be expressed in a bit depth of 8 to 16 bits. Various color filter array (CFA) patterns may be applied to the raw image. The raw image may be a raw image in a layer structure including information about various colors (e.g., a plurality of colors among R, G, and B) for one pixel. In addition to color information (e.g., RGB), phase difference information may also be included according to various configurations of the image sensor 313. Information related to image capturing (e.g., time, location, illuminance, and the like) may be generated as metadata and may be stored in relation to the raw image.
According to various embodiments of the disclosure, a raw image may refer to an image generated by the image sensor 313, which is an image that has not been subjected to image compression. As resolution supportable by the camera module 310 increases, the size of a raw image may increase. When the size of the raw image increases, the time required for image processing for the raw image may increase. There is a need for a technique for efficiently compressing a raw image while reducing the size of the raw image and substantially maintaining the quality of the raw image.
According to various embodiments of the disclosure, in order to efficiently compress a raw image, a plurality of blocks forming the raw image may be divided into blocks to be compressed and blocks not to be compressed.
According to various embodiments of the disclosure, in order to efficiently compress a raw image, a plurality of straight lines included in a direction mode used for intra-prediction of the raw image may be changed into a curved line having a curvature. The curvature may be determined based on a distortion parameter of the raw image caused by characteristics of a lens optical system. Hereinafter, a description of efficiently compressing a raw image will be described.
According to various embodiments of the disclosure, the processor 320 may obtain an image corresponding to the external object 350 using the image sensor 313. The image corresponding to the external object 350 may be a raw image, which has not yet been compressed.
According to various embodiments of the disclosure, the processor 320 may determine a portion of the image corresponding to an image circle. The image circle may refer to a virtual line realized in a circle on the image. The image circle may have a circular shape but may have various shapes without being limited to a circular shape. The processor 320 may compress blocks included in the image circle among a plurality of blocks included in the image.
According to various embodiments of the disclosure, the processor 320 may not compress blocks not included in the image circle among the plurality of blocks included in the image. The blocks not included in the image circle may not be used for image processing. To this end, the processor 320 may set a pixel value allocated to each block not included in the image circle to 0. The image circle will be described later with reference to
According to various embodiments of the disclosure, the processor 320 may compress a plurality of blocks included in the image. Image compression methods may be divided into inter-prediction and intra-prediction.
According to various embodiments of the disclosure, inter-prediction may refer to a technique of predicting the value of a pixel included in a current frame from a frame preceding the current frame or a frame following the current frame among a plurality of frames included in a video.
According to various embodiments of the disclosure, intra-prediction may refer to a technique of predicting the value of a pixel included in an image using information about a pixel in the image. In order to perform intra-prediction, the memory 350 may store a direction mode used for the intra-prediction. The memory 350 may store a direction mode differently configured depending on a distortion parameter of the lens unit 311. The distortion parameter may refer to a degree to which a portion of a lens is distorted due to optical characteristics of a lens assembly (e.g., the lens assembly 210 of
According to various embodiments of the disclosure, in order to minimize a residual value, which is the difference between the pixel value of a base pixel and the pixel value of each of reference pixels among remaining pixels other than the base pixel, the processor 320 may perform intra-prediction in each of a plurality of directions included in the direction mode. The processor 320 may select a direction in which the residual value is a minimum value from among the plurality of directions included in the direction mode and may perform image compression using the selected direction.
According to various embodiments of the disclosure, a portion of the image obtained by photographing the external object 350 may be distorted due to characteristics of the lens unit 311.
For example, a portion of the image may be distorted due to the difference between the refractive index of the center of the lens unit 311 and the refractive index of an outer portion of the lens unit 311. When the lens unit 311 includes a wide-angle lens, the degree of distortion of an image portion corresponding to the outer portion of the lens unit 311 may be greater than the degree of distortion of an image portion corresponding to a center portion of the lens unit 311. The image portion corresponding to the outer portion of the lens unit 311 may be distorted in a spherical shape, and when intra-prediction of the image portion corresponding to the outer portion of the lens unit 311 is performed using a direction mode used for intra-prediction of the image portion corresponding to the center portion of the lens unit 311, a residual value may increase. When the residual value increases, the size of a compressed image may increase and compression efficiency may decrease.
According to various embodiments of the disclosure, the memory 350 may store a plurality of direction modes designated for each distortion parameter value indicating the degree of distortion. The plurality of direction modes may include lines having different curvatures corresponding to a distortion parameter. The curvature may be determined based on the distortion parameter of a raw image. The curvatures of lines included in a direction mode corresponding to a distortion parameter indicating that great distortion occurs may be greater than the curvatures of lines included in a direction mode corresponding to a distortion parameter indicating that small distortion occurs.
According to various embodiments of the disclosure, a different distortion parameter may be determined for each portion of a lens according to optical characteristics of the portion of the lens. Some portions of the lens unit 311 may have different distortion parameters. For example, the outer portion of the lens unit 311 may have different optical characteristics from those of the center region of the lens unit 311. The center portion of the lens unit 311 may have a different distortion parameter from that of the outer portion of the lens unit 311. A distortion parameter may be determined based on the distance between the center of the lens unit 311 and a portion corresponding to the distortion parameter. A distortion parameter may be measured by a manufacturer at the time of manufacturing the lens unit 311, and the measured distortion parameter may be included in information about the lens unit 311 and may be stored in the memory 350.
According to various embodiments of the disclosure, a direction mode may be configured such that the curvatures of lines included in the direction mode varies according to the distance between the center of the lens unit 311 and a portion of the lens unit 311.
For example, when the lens unit 311 includes a lens (e.g., a lens having a great field of view (FOV, e.g., a lens having an FOV of 120 degree or greater), a telephoto lens, or a fisheye lens) in which a significant distortion phenomenon occurs as the distance from the center of the lens unit 311 increases, the direction mode may be configured such that the curvatures of the lines included in the direction mode increase as the distance between the center of the lens unit 311 and the portion of the lens unit 311 increases.
According to various embodiments of the disclosure, the processor 320 may select a block to be subjected to intra-prediction from among the plurality of blocks included in the image. The block to be subjected to intra-prediction may be one of the blocks included in the image circle.
According to various embodiments of the disclosure, the processor 320 may identify a portion of the lens unit 311 corresponding to the selected block and may determine a direction mode to be used for intra-prediction of the selected block among the direction modes stored in the memory 350 based on a distortion parameter corresponding to the portion of the lens unit 311.
According to various embodiments of the disclosure, the processor 320 may perform intra-prediction on the selected block using the determined direction mode. The processor 320 may determine a direction in which compression to minimize a residual value is performed by performing the intra-prediction. The processor 320 may compress the image based on an intra-prediction result and may generate a compressed image.
According to various embodiments of the disclosure, the electronic device 300 may divide the plurality of blocks forming the raw image into blocks to be compressed and blocks not to be compressed, may compress only the blocks to be compressed, and may not perform image processing on the blocks not to be compressed, thereby reducing the size of the compressed image.
According to various embodiments of the disclosure, the electronic device 300 may divide the plurality of blocks forming the raw image into the blocks to be compressed and the blocks not to be compressed in order to efficiently compress the raw image.
According to various embodiments of the disclosure, the processor 320 may identify a distortion parameter corresponding to the block to be subjected to intra-prediction among the plurality of blocks included in the image. The processor 320 may determine a direction mode corresponding to the distortion parameter and may perform intra-prediction using the determined direction mode. The processor 320 may reduce a residual value and may perform efficient compression by employing the direction mode in consideration of the degree of distortion of a lens.
According to various embodiments of the disclosure, the electronic device 300 may further include a communication module (e.g., the communication module 190 of
Referring to
According to various embodiments of the disclosure, the image 400 may be a raw image generated by an image sensor (e.g., the image sensor 313 of
According to various embodiments of the disclosure, a processor (e.g., the processor 320 of
According to various embodiments of the disclosure, the processor 320 may determine a block to be compressed. The processor 320 may determine to compress a block 420-b at least partially including a portion included in the image circle 413.
According to various embodiments of the disclosure, the processor 320 may determine a block not to be compressed. The processor 320 may determine not to compress a block 420-a including a portion not included in the image circle 413. The processor 320 may determine not to compress the block 420-a including the portion not included in the image circle 413 and may not include the portion in a compressed image.
According to various embodiments of the disclosure, the processor 320 may compress a block included in the image circle 413 and may not compress a block not included in the image circle 413, thereby reducing time required for compression.
Referring to
According to various embodiments of the disclosure, the image 430 may be a raw image generated by the image sensor (e.g., the image sensor 313 of
According to various embodiments of the disclosure, the processor (e.g., the processor 320 of
According to various embodiments of the disclosure, the processor 320 may determine a block to be compressed. The processor 320 may determine to compress a block 460-b at least partially including a portion included in the image circle 443.
According to various embodiments of the disclosure, the processor 320 may determine a block not to be compressed. The processor 320 may determine not to compress a block 460-a including a portion not included in the image circle 443. The processor 320 may determine not to compress the block 460-a including the portion not included in the image circle 443 and may not include the portion in a compressed image.
According to various embodiments of the disclosure, the processor 320 may compress a block included in the image circle 443 and may not compress a block not included in the image circle 443, thereby reducing time required for compression.
Referring to
According to various embodiments of the disclosure, the image sensor 313 may convert light collected by the lens unit 311 into an electrical signal, thereby obtaining the image 540 corresponding to the pattern 500.
According to various embodiments of the disclosure, the lens unit 311 may allow a distorted image to be obtained depending on optical characteristics (various characteristics including a viewing angle, a refractive index, or a distortion value). The lens unit 311 may have different degrees of distortion depending on positions on a lens included in the lens unit 311.
For example, when the lens unit 311 includes a wide-angle lens, the degree of distortion of an image portion corresponding to an outer portion of the lens unit 311 may be greater than the degree of distortion of an image portion corresponding to a center portion of the lens unit 311.
Referring to
According to various embodiments of the disclosure, at least one block included in the image 540 may be allocated a distortion parameter. A distortion parameter may be a parameter indicating the degree of distortion of a block. For example, the larger a distortion parameter is, the more greatly a block may be distorted.
According to various embodiments of the disclosure, the distortion parameter may be determined by various methods for indicating the degree of distortion of a block. For example, the curvature of one line forming the block may be calculated, and the distortion parameter may be determined according to the size of the curvature. In another example, a change in the area of the block may be calculated, and the distortion parameter may be determined according to the change in the area of the block.
According to various embodiments of the disclosure, a different distortion parameter may be determined for each separate portion of the lens. Each separate portion of the lens unit 311 may have a different distortion parameter. For example, a distortion parameter of the center portion of the lens unit 311 may be different from a distortion parameter of the outer portion of the lens unit 311. A distortion parameter may be determined based on the distance between the center of the lens unit 311 and a portion corresponding to the distortion parameter. A distortion parameter may be measured by a manufacturer at the time of manufacturing the lens unit 311, and the measured distortion parameter may be included in information about the lens unit 311 and may be stored in a memory 350.
According to various embodiments of the disclosure, when performing intra-prediction on blocks included in an image (e.g., the image 540 of
According to various embodiments of the disclosure, the processor 320 may divide the image into a plurality of blocks and may select a block to be subjected to intra-prediction. The processor 320 may identify a distortion parameter of a portion of a lens unit 311 corresponding to the selected block. The processor 320 may determine a direction mode corresponding to the identified distortion parameter and may perform intra-prediction on the selected block using the determined direction mode.
According to various embodiments of the disclosure, the processor 320 may use the first direction mode 550 when performing intra-prediction on the first block 510, which is a block in which distortion hardly occurs. The processor 320 may perform the intra-prediction in directions indicated by 33 straight lines (33 directional modes) included in the first direction mode 550, may perform the intra-prediction using non-directional modes (DC mode and planner mode), and may determine one mode in which a residual value is the smallest among the 35 modes included in the first direction mode 550. The processor 320 may perform image compression on the first block 510 using the determined mode.
According to various embodiments of the disclosure, the processor 320 may use the second direction mode 560 when performing intra-prediction on the second block 520, which is a block having greater distortion than the first block 510. The processor 320 may perform the intra-prediction in directions indicated by 33 curved lines (33 directional modes) included in the second direction mode 560, may perform the intra-prediction using non-directional modes (DC mode and planner mode), and may determine one mode in which a residual value is the smallest among the 35 modes included in the second direction mode 560. The processor 320 may perform image compression on the second block 520 using the determined mode.
Comparing the second direction mode 560 illustrated in
According to various embodiments of the disclosure, the processor 320 may use the third direction mode 570 when performing intra-prediction on the third block 530. The processor 320 may perform the intra-prediction in directions indicated by 33 straight lines (33 directional modes) included in the third direction mode 570, may perform the intra-prediction using non-directional modes (DC mode and planner mode), and may determine one mode in which a residual value is the smallest among the 35 modes included in the third direction mode 570. The processor 320 may perform image compression on the third block 530 using the determined mode.
According to various embodiments of the disclosure, the curvatures of lines included in a direction mode may be determined based on the degree of distortion. The curvatures of lines included in a direction mode used for intra-prediction of a block having a great degree of distortion may be greater than those for other blocks.
Although the direction modes illustrated in
According to various embodiments of the disclosure, the processor (e.g., the processor 320 of
As illustrated in
An electronic device according to various embodiments of the disclosure may include: a lens unit; an image sensor; a memory configured to store a direction mode used for intra-prediction of an image captured using the image sensor and differently configured depending on a characteristic of a portion of the lens unit; and a processor, wherein the processor may be configured to: obtain a raw image corresponding to an external object using the image sensor; divide the raw image into a plurality of blocks; select a block to be subjected to intra-prediction from among the plurality of blocks; determine a direction mode to be used for intra-prediction of the selected block based on a distortion parameter of a portion of the lens unit corresponding to the selected block; perform the intra-prediction on the selected block based on the determined direction mode; and generate a compressed image corresponding to the raw image based on a result of the intra-prediction.
According to various embodiments of the disclosure, the processor may be configured to: determine the portion of the lens unit corresponding to the selected block based on information about a relative position between the selected block and a center of the raw image; select a direction mode corresponding to the determined portion; and perform the intra-prediction on the selected block based on the selected direction mode.
According to various embodiments of the disclosure, the processor may be configured to: select one direction from among a plurality of directions included in the selected direction mode based on a difference between a pixel value corresponding to a base pixel among pixels included in the selected block and a pixel value corresponding to a reference pixel present around the base pixel; and perform the intra-prediction on the selected block using the selected direction.
According to various embodiments of the disclosure, the direction mode may be configured such that a curvature of a line included in the direction mode varies depending on the distortion parameter.
According to various embodiments of the disclosure, the direction mode may be configured such that a curvature of a line included in the direction mode varies depending on a distance between a center of the lens unit and a center of the portion of the lens unit.
According to various embodiments of the disclosure, the lens unit may include a telephoto lens, and a curvature of a line included in the direction mode may be configured to increase when a distance between a center of the lens unit and a center of the portion of the lens unit increases.
According to various embodiments of the disclosure, the electronic device may further include: a communication module configured to transmit the compressed image to an external electronic device, wherein the electronic device may be configured to receive, using the communication module, an image generated by the external electronic device performing image processing on the compressed image.
An electronic device according to various embodiments of the disclosure may include: a lens unit; an image sensor configured to be disposed such that an image circle, formed on a surface of the image sensor when light corresponding to an external object passes through the lens unit, partially includes a portion of the image sensor and does not include another portion of the image sensor; and a processor, wherein the processor may be configured to: obtain an image corresponding to the external object using the image sensor; determine a portion of the image corresponding to the image circle; generate compressed image data by dividing the image into a plurality of blocks and compressing the plurality of blocks, a block at least partially included in the image circle among the plurality of blocks being compressed as part of the compressed image data and a block not included in the image circle among the plurality of blocks not being included in the compressed image data in part of the compressing; and transmit the compressed image data to an external processor.
According to various embodiments of the disclosure, in part of the compressing, the processor may be configured to: determine a distortion parameter based on a first block at least partially included in the image circle and a center of the image circle; perform intra-prediction on pixel data included in the first block using the distortion parameter; and compress the first block based on the intra-prediction.
According to various embodiments of the disclosure, the processor may be configured to perform the intra-prediction using a specified intra-prediction angular mode and the distortion parameter.
According to various embodiments of the disclosure, the processor may be configured to determine the distortion parameter based on an angle formed between at least two apexes of the first block and the center.
According to various embodiments of the disclosure, the distortion parameter may be determined based on a distance between the first block and the center of the image circle.
According to various embodiments of the disclosure, the distortion parameter may be used to change a curvature of a prediction direction used for the intra-prediction.
According to various embodiments of the disclosure, the lens unit may include a lens having a field of view of 120 degrees or greater.
According to various embodiments of the disclosure, the electronic device may further include a communication module configured to transmit the compressed image to an external electronic device.
According to various embodiments of the disclosure, the electronic device may be configured to receive, using the communication module, an image generated by the external electronic device performing image processing on the compressed image.
Referring to
According to various embodiments of the disclosure, the camera module 611 may include an image sensor 612 (e.g., the image sensor 313 in
According to various embodiments of the disclosure, the image sensor 612 may obtain various raw images of a subject. The image sensor 612 may obtain various types of raw images according to a color filter array (CFA) pattern. When a dual pixel (DP or 2PD) structure of the image sensor 612 is used, an image including different pieces of phase difference (or parallax) information for one pixel may be obtained. When a plurality of image sensors having the same or different characteristics (e.g. a dual sensor (e.g. RGB+RGB, RGB+Mono, or Wide+Tele) and an array sensor (e.g. with two or more sensors attached)) is used, one or more image sensors 612 may be obtained for one scene. The obtained image sensors 612 may be stored in the memory 622 as it is or via additional processing.
According to various embodiments of the disclosure, the image sensor 612 may obtain an image corresponding to the subject by converting light transmitted from the subject through a lens assembly (not shown) into an electrical signal. According to an embodiment, the image sensor 612 may include, for example, one image sensor selected from among 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 the same properties, or a plurality of image sensors having different properties. Each image sensor included in the image sensor 612 may be configured, for example, as a charge-coupled device (CCD) sensor or a complementary metal-oxide semiconductor (CMOS) sensor.
According to various embodiments of the disclosure, the camera module 611 may further include the lens assembly (e.g., the lens assembly 210 of
According to various embodiments of the disclosure, the lens assembly 210 may collect light emitted from the subject to be photographed. The lens assembly 210 may include one or more lenses.
According to various embodiments of the disclosure, the camera module 611 may include a plurality of lens assemblies 210. In this case, the camera module 611 may be, for example, a dual camera, a 360-degree camera, or a spherical camera. The plurality of lens assemblies (not shown) may have the same lens properties (e.g., field of view, focal length, autofocus, f number, or optical zoom), or at least one lens assembly may have at least one different lens property from another lens assembly. The lens assemblies (not shown) may include, for example, a wide-angle lens or a telephoto lens. The flash 210 may emit a light source used to intensify light emitted from the subject. The flash 220 may include one or more light-emitting diodes (e.g., a red-green-blue (RGB) LED, a white LED, an infrared LED, or an ultraviolet LED) or a xenon lamp.
According to various embodiments of the disclosure, in reaction to a movement of the camera module 612 or the electronic device 610 including the camera module 612, the image stabilizer 240 may move or control (e.g., adjust read-out timing) at least one lens included in the lens assembly (not shown) or the image sensor 612 in a specific direction in order to at least partly compensate for a negative effect (e.g., image shaking) of the movement on a captured image. According to an embodiment, the image stabilizer 240 may be configured, for example, as an optical image stabilizer and may detect the movement using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 212.
According to various embodiments of the disclosure, the processors 613 and 621 of the electronic device may perform various types of processing related to image processing. Various image processing modules (e.g., the raw image processor 614, the image signal processor 615, and the encoder 616) may be included in one processor or may be distributed in a plurality of processors 613 and 621. The processor 613 may be present inside the camera module 611, outside the camera module 611 (e.g., in the electronic device 610 or one or a plurality of servers forming part of the cloud platform 650), or both inside and outside the camera module 611. Various types of processing may be performed alone by a processor or may be performed in a distributed manner by a plurality of processors.
According to various embodiments of the disclosure, the raw image processor 614 may perform various types of processing on a raw image obtained by the image sensor 612. The raw image processor 614 may compensate for lens distortion of the raw image or may partially remove noise from the raw image. Since the raw image may have a significantly large data size, the raw image processor 614 may reduce the data size through various types of processing (e.g., downscaling, downsampling, or compression) before storing, processing, or transmitting the raw image.
According to various embodiments of the disclosure, a small raw image generator 617 may perform downscaling (e.g., an operation of reducing the size or the resolution) or downsampling (e.g., an operation of taking only one or only some of a series of sampled samples) on the raw image, thereby generating a small raw image.
According to various embodiments of the disclosure, a raw image compressor 618 may compress the raw image or the small raw image using various image compression algorithms. As described with reference to
According to various embodiments of the disclosure, the image signal processor 615 performs various types of image processing on the raw image using recipe information including various pieces of information about the raw image analyzed by an engine 657. The electronic device 610 may receive the recipe information from the cloud platform 650 and may process the raw image based on the recipe information through the image signal processor 615. For example, the electronic device 610 may perform image processing provided from an embedded image signal processor of the electronic device 610 and image processing using the recipe information in combination. When image processing is performed in the cloud platform 650, the cloud platform 650 may process the raw image based on the recipe information through an image signal processor 658 included in the cloud platform 650. The image signal processor 658 included in the cloud platform 650 may receive additional information (e.g., a feature vector) corresponding to the recipe information from a database 652 and may use the additional information for image processing. The processed image may be transmitted to the electronic device 610 or may be stored in an image repository 654 of the cloud platform 650. Image processing may include white balance, color adjustment, noise reduction, sharpening, and detail enhancement functions. These functions may be performed for each image area based on the recipe information.
According to various embodiments of the disclosure, the image signal processor 615 may perform image processing (e.g., depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g. noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening) on an image obtained by the image sensor 612 or an image stored in the memories 619 and 622. Additionally or alternatively, the image signal processor 615 may control (e.g., exposure time control or read-out timing control) at least one (e.g., the image sensor 612) of components included in the camera module 611. An image processed by the image signal processor 615 may be stored back in the memory 650 for further processing or may be transmitted to a component (e.g., the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108) outside the camera module 180. According to an embodiment, the image signal processor 615 may be configured as at least part of the processors 613 and 621 or may be configured as a separate processor that operates independently of the processors 613 and 621. When the image signal processor 615 is configured as a separate processor, images processed by the image signal processor 615 may be displayed on the display 620 by the processors 613 and 621 as they are or via additional image processing
According to various embodiments of the disclosure, the encoder 616 may encode a raw image, thereby generating an image file (e.g., a JPEG, MPEG, or 360-degree image).
According to various embodiments of the disclosure, the electronic device 610 may include the memory 619 inside the camera module 611 and/or the memory 622 outside the camera module 611. The memories 619 and 622 may store a raw image, a small raw image, an image file, and an image-processed raw image. The memories 619 and 622 may at least temporarily store at least a portion of an image obtained by the image sensor 612 for a subsequent image processing operation. For example, when there is a delay in obtaining an image due to a shutter or when a plurality of images is obtained at high speed, an obtained original image (e.g., a high-resolution image) may be stored in the memories 619 and 622 and a corresponding duplicate image (e.g., a low-resolution image) may be previewed on the display 620. Subsequently, when a specified condition is satisfied (e.g., according to a user input or a system command), at least a portion of the original image stored in the memories 619 and 622 may be obtained and processed, for example, by the image signal processor 615. According to an embodiment, the memory 619 may be configured as at least part of the memory 622 or as a separate memory operating independently of the memory 622.
According to various embodiments of the disclosure, the electronic device 610 may include the display 622.
According to various embodiments of the disclosure, the cloud platform 650 is an external device and may include a processor 651, the database 652, a raw image repository 653, and the image repository 654. The processor 651 may include the engine (e.g., a recognition engine) 655, an encoder 656, a preprocessor 657, and the image signal processor 658.
According to various embodiments of the disclosure, the processor 651 of the cloud platform 650 may perform various types of processing related to image processing. Various image processing modules (e.g., the engine 655, the encoder 656, the preprocessor 657, and the image signal processor 658) may be included in one processor or may be distributed in a plurality of processors.
According to various embodiments of the disclosure, the engine 655 may analyze various pieces of significant information (e.g., object recognition, a velocity vector, face recognition, segmentation, scene parsing, and the like) from an image (e.g., a raw image, a small raw image, an image file, or the like). To this end, the engine 655 may include various algorithms. As a result of the analysis, information (recipe information, e.g., information including segments, layers, vectors, or scene categories) that can be used by the image signal processor for various types of image processing may be generated, stored, or transmitted in association with the image.
According to various embodiments of the disclosure, the encoder 656 may encode a raw image, thereby generating an image file (e.g., a JPEG, MPEG, or 360-degree image).
According to various embodiments of the disclosure, the preprocessor 657 may perform necessary processing a raw image received from the electronic device 610 before transferring the raw image to the engine 655 or the image signal processor 658. The preprocessor 657 may perform decompression of a compressed raw image, simple image quality enhancement, de-mosaic processing, or image format change.
According to various embodiments of the disclosure, the image signal processor 658 performs various types of image processing on the raw image using recipe information including various pieces of information about a raw image analyzed by an engine 657. The electronic device 610 may receive the recipe information from the cloud platform 650 and may process the raw image based on the recipe information through the image signal processor 615. For example, the electronic device 610 may perform image processing provided from an embedded image signal processor of the electronic device 610 and image processing using the recipe information in combination. When image processing is performed in the cloud platform 650, the cloud platform 650 may process the raw image based on the recipe information through an image signal processor 658 included in the cloud platform 650. The image signal processor 658 included in the cloud platform 650 may receive additional information (e.g., a feature vector) corresponding to the recipe information from a database 652 and may use the additional information for image processing. The processed image may be transmitted to the electronic device 610 or may be stored in an image repository 654 of the cloud platform 650. Image processing may include white balance, color adjustment, noise reduction, sharpening, and detail enhancement functions. These functions may be performed for each image area based on the recipe information.
According to various embodiments of the disclosure, the database 652 may store a feature corresponding to a category of an image. The raw image repository 653 may store a raw image. The image repository 654 may store an image file.
According to various embodiments of the disclosure, an image sensor 711 (e.g., the image sensor 313 of
According to various embodiments of the disclosure, a raw image may refer to an image generated by the image sensor 313, which is an image that has not been subjected to image compression.
According to various embodiments of the disclosure, a raw image may be subjected to image processing in the electronic device 710 or the cloud platform 720. To this end, the raw image may be transmitted to the cloud platform 720 or an image signal processor 713 (e.g., the image signal processor 615 of
According to various embodiments of the disclosure, an image decompressor 721 may decompress the compressed image. The decompressed image may be transmitted to an image signal processor 722 (e.g., the image signal processor 615 of
According to various embodiments of the disclosure, the raw image may be transmitted to the image signal processor 713, and the image signal processor 713 may perform image processing (e.g., various image processing operations including depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g. noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening) on the raw image, thereby generating a finally processed image 714. The processed image 714 may be transmitted to the electronic device and may be stored in the memory 715 of the electronic device 710.
According to various embodiments of the disclosure, the raw image may be an image captured using at least two or more camera modules included in a 360-degree camera. In the case of an image captured by the 360-degree camera, the image signal processors 713 and 722 may perform warping (effect of distorting an image) and stitching (putting images together) on at least two or more images. The cloud platform 720 may have a higher image processing speed than the electronic device 710 and may quickly process an image captured by the 350-degree camera.
According to various embodiments of the disclosure, in operation 810, a processor (e.g., the processor 320 of
According to various embodiments of the disclosure, an image sensor (e.g., the image sensor 313 of
According to various embodiments of the disclosure, in operation 820, the processor 320 may determine a portion corresponding to an image circle.
According to various embodiments of the disclosure, the image circle may refer to a shape formed on the surface of the image sensor 313 when light corresponding to the external object 350 passes through the lens unit 311. The image circle may have a circular shape but may have various shapes without being limited to a circular shape.
According to various embodiments of the disclosure, in operation 830, the processor 320 may divide the image into a plurality of blocks.
According to various embodiments of the disclosure, the plurality of blocks may refer to a minimum unit for the processor 320 to perform intra-prediction or inter-prediction.
According to various embodiments of the disclosure, in operation 840, the processor 320 may determine whether each of the plurality of blocks is at least partially included in the image circle.
According to various embodiments of the disclosure, the processor 320 may determine to compress blocks at least partially included in the image circle among the plurality of blocks. The processor 320 may determine not to compress blocks not included in the image circle among the plurality of blocks.
According to various embodiments of the disclosure, in operation 850, the processor 320 may perform intra-prediction on the blocks at least partially included in the image circle.
According to various embodiments of the disclosure, the processor 320 may perform the intra-prediction using a direction mode determined based on a distortion parameter corresponding to a block. Lines included in the direction mode may have curvature determined based on the degree of distortion. The curvature may be determined based on a distortion parameter of the raw image generated due to optical characteristics of the lens unit 311.
According to various embodiments of the disclosure, in operation 860, the processor 320 may compress the image based on an intra-prediction result.
According to various embodiments of the disclosure, the processor 320 may transmit a compressed image generated by compressing the image to a cloud platform (e.g., the cloud platform 720 of
According to various embodiments of the disclosure, in operation 910, a processor (e.g., the processor 320 of
According to various embodiments of the disclosure, an image sensor (e.g., the image sensor 313 of
According to various embodiments of the disclosure, in operation 920, the processor 320 may divide the raw image into a plurality of blocks.
According to various embodiments of the disclosure, the plurality of blocks may refer to a minimum unit for the processor 320 to perform intra-prediction or inter-prediction.
In operation 930, the processor 320 may select a block to be subjected to intra-prediction from among the plurality of blocks.
In operation 940, the processor 320 may determine a direction mode based on a distortion parameter of a portion of a lens corresponding to the selected block.
According to various embodiments of the disclosure, the processor 320 may identify a distortion parameter of a portion of the lens unit 311 corresponding to the selected block. The processor 320 may determine a direction mode corresponding to the identified distortion parameter and may perform intra-prediction on the selected block using the determined direction mode.
According to various embodiments of the disclosure, direction modes respectively mapped to a plurality of distortion parameters may be stored in a memory (e.g., the memory 330 of
In operation 950, the processor 320 may perform the intra-prediction using the determined direction mode.
According to various embodiments of the disclosure, when performing the intra-prediction on the block, the processor 320 may perform the intra-prediction according to directions (directional modes) indicated by a plurality of curved lines included in the determined direction mode and may select a directional mode in which a residual value is the smallest.
In operation 960, the processor 320 may compress the raw image based on a prediction result.
According to various embodiments of the disclosure, the processor 320 may perform intra-compression of the raw image using the directional mode in which the residual value is the smallest. The processor 320 may compress the raw image by performing operation 930, operation 940, and operation 950 on the plurality of blocks included in the raw image.
According to various embodiments of the disclosure, the processor 320 may perform the intra-prediction in view of the degree of distortion of the block selected to be subjected intra-prediction, thereby generating a compressed image having a small residual value and increasing compression efficiency.
According to various embodiments of the disclosure, the processor 320 may transmit a compressed image generated by compressing the image to a cloud platform (e.g., the cloud platform 720 of
An operating method of an electronic device according to various embodiments of the disclosure may include: obtaining a raw image corresponding to an external object using an image sensor; dividing the raw image into a plurality of blocks; selecting a block to be subjected to intra-prediction from among the plurality of blocks; determining a direction mode to be used for intra-prediction of the selected block based on a distortion parameter of a portion of a lens unit corresponding to the selected block; performing the intra-prediction on the selected block based on the determined direction mode; and generating a compressed image corresponding to the raw image based on a result of the intra-prediction.
In the operating method of the electronic device according to various embodiments, the determining of the direction mode may include: determining the portion of the lens unit corresponding to the selected block based on information about a relative position between the selected block and a center of the raw image; and selecting a direction mode corresponding to the determined portion.
In the operating method of the electronic device according to various embodiments, the performing of the intra-prediction on the selected block may include selecting one direction from among a plurality of directions included in the selected direction mode based on a difference between a pixel value corresponding to a base pixel among pixels included in the selected block and a pixel value corresponding to a reference pixel present around the base pixel.
In the operating method of the electronic device according to various embodiments, the direction mode may be configured such that a curvature of a line included in the direction mode varies depending on the distortion parameter.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term “operatively” or “communicatively”, as “coupled with,” “coupled to,” “connected with,” or “connected to” another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”. A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a complier or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, the term “non-transitory” simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., Play Store™), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
Number | Date | Country | Kind |
---|---|---|---|
10-2018-0070194 | Jun 2018 | KR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/KR2019/006927 | 6/10/2019 | WO | 00 |