Image capturing method and apparatus
By recognizing target objects in the mobile phone camera and automatically adjusting the shooting range, the problem of operational complexity of mobile phone cameras in complex lighting scenes is solved, achieving efficient shooting of specific targets and improving image quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-01-06
- Publication Date
- 2026-06-02
AI Technical Summary
Mobile phone cameras are complex to operate and difficult to adapt to diverse shooting needs, especially in complex lighting conditions, where users struggle to capture high-quality images.
The system identifies the target object within the field of view, automatically adjusts the shooting range based on the target object's position, captures images within the defined range, generates a view with associated display information, and performs image processing to highlight the target object.
It enables efficient and reliable target shooting in complex lighting conditions, improving image quality and user experience while simplifying the operation process.
Smart Images

Figure CN114727006B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to image processing technology, and more particularly to an image capturing method and apparatus. Background Technology
[0002] In recent years, mobile phones have been used more and more frequently as everyday photography devices. However, limited by their processing power, the image quality captured by mobile phones cannot match that of professional cameras. Therefore, improving the image quality of mobile phones to enhance the user experience has become a major focus in the industry.
[0003] Most smartphones on the market have built-in professional or portrait shooting modes in their camera functions. However, actual shooting needs are diverse, and the built-in modes often cannot meet all requirements. Typically, cameras only offer a portrait shooting mode for specific subjects. Furthermore, professional mode requires users to manually configure various parameters, such as exposure time and focus, which is cumbersome. Users generally lack professional photography knowledge and find it difficult to operate in professional mode, resulting in less than ideal results.
[0004] In summary, mobile phone camera apps suffer from problems such as complex operation and inability to adapt to diverse scenario needs. Summary of the Invention
[0005] To overcome the problems existing in related technologies, this disclosure provides an image capturing method and apparatus.
[0006] According to a first aspect of the present disclosure, an image capturing method is provided, comprising:
[0007] When there is at least one local light source in the field of view, identify the target object and determine the shooting range based on the position of the target object;
[0008] Images are captured within the specified shooting range.
[0009] Optionally, the step of identifying the target object and determining the shooting range based on the location of the target object includes:
[0010] Target objects with complete outlines within the current shooting range are identified as the first target object, and target objects with incomplete outlines within the current shooting range are identified as the second target object.
[0011] Adjust the shooting range to include all the first target objects and exclude the second target objects.
[0012] Optionally, the step of adjusting the shooting range includes at least one or more of the following operations:
[0013] Adjust the size of the shooting area;
[0014] Adjust the resolution of the shooting area;
[0015] Adjust the focal length of the shooting range.
[0016] Optionally, after the step of capturing images within the shooting range, the method further includes:
[0017] Obtain the associated display information of the captured images;
[0018] Generate a view that includes the image and the associated display information.
[0019] Optionally, the step of obtaining the associated display information of the captured image includes:
[0020] Generate a magnified portion of the image as associated display information for the image; and / or,
[0021] The textual description information of the image is obtained as the associated display information of the image.
[0022] Optionally, after the step of capturing images within the shooting range, the method further includes:
[0023] Perform any one or more of the following processing on the captured image:
[0024] Remove some or all of the image information in the image except for the target object;
[0025] The exposure of the target object is adjusted according to the distance between the lens and the target object;
[0026] Obtain the region of interest (ROI) of the image, and encode the ROI and the portion outside the ROI respectively;
[0027] Remotely obtain supplementary information about the target object, and modify the target object based on the supplementary information.
[0028] According to a second aspect of the present disclosure, an image capturing apparatus is provided, comprising:
[0029] The range selection module is used to identify the target object and determine the shooting range based on the position of the target object when there is at least one local light source in the field of view.
[0030] A shooting module is used to capture images within the shooting range.
[0031] Optionally, the range selection module includes:
[0032] The integrity detection submodule is used to detect target objects with complete outlines within the current shooting range as the first target object, and to detect target objects with incomplete outlines within the current shooting range as the second target object.
[0033] The range adjustment submodule is used to adjust the shooting range to include all the first target objects and exclude the second target objects.
[0034] Optionally, the range adjustment submodule includes:
[0035] Size adjustment unit, used to adjust the size of the shooting range;
[0036] A resolution adjustment unit is used to adjust the resolution of the shooting range;
[0037] The focus adjustment unit is used to adjust the focus of the shooting range.
[0038] Optionally, the device further includes:
[0039] The display information acquisition module is used to acquire the associated display information of the captured images;
[0040] A view generation module is used to generate a view that includes the image and the associated display information.
[0041] Optionally, the display information acquisition module includes:
[0042] The zoomed-in image generation submodule is used to generate zoomed-in images of local parts of the image as associated display information of the image;
[0043] The description information acquisition submodule is used to acquire the textual description information of the image as the associated display information of the image.
[0044] Optionally, the device further includes:
[0045] The image processing module is used to perform any one or more of the following processing on the captured photograph:
[0046] Remove some or all of the image information in the image except for the target object;
[0047] The exposure of the target object is adjusted according to the distance between the lens and the target object;
[0048] Obtain the region of interest (ROI) of the image, and encode the ROI and the portion outside the ROI respectively;
[0049] Remotely obtain supplementary information about the target object, and modify the target object based on the supplementary information.
[0050] According to a third aspect of the present disclosure, a computer apparatus is provided, comprising:
[0051] processor;
[0052] Memory used to store processor-executable instructions;
[0053] The processor is configured as follows:
[0054] When there is at least one local light source in the field of view, identify the target object and determine the shooting range based on the position of the target object;
[0055] Images are captured within the specified shooting range.
[0056] According to a first aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform an image capturing method, the method comprising:
[0057] When there is at least one local light source in the field of view, identify the target object and determine the shooting range based on the position of the target object;
[0058] Images are captured within the specified shooting range.
[0059] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: when taking pictures using mobile devices such as mobile phones in situations where there are multiple obscured areas within the field of view, the target object is automatically identified, the shooting range is determined based on the position of the target object, and then the image is captured within the shooting range. For specific shooting objects, the shooting preparation is automatically completed, achieving efficient and reliable shooting of special objects, and solving the problems of complex operation and unsuitability for diverse scene requirements of mobile phone cameras.
[0060] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0061] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0062] Figure 1 This is a flowchart illustrating an image capturing method according to an exemplary embodiment.
[0063] Figure 2 This is a flowchart illustrating a method for determining the shooting range according to an exemplary embodiment.
[0064] Figure 3This is a flowchart illustrating an image capturing method according to an exemplary embodiment.
[0065] Figure 4 This is a view example shown according to an exemplary embodiment.
[0066] Figure 5 This is a view example shown according to an exemplary embodiment.
[0067] Figure 6 This is a view example shown according to an exemplary embodiment.
[0068] Figure 7 This is a block diagram illustrating an image capturing device according to an exemplary embodiment.
[0069] Figure 8 This is a schematic diagram illustrating the structure of a range selection module 701 according to an exemplary embodiment.
[0070] Figure 9 This is a schematic diagram of the structure of a range adjustment module 802 according to an exemplary embodiment.
[0071] Figure 10 This is a block diagram illustrating an image capturing device according to an exemplary embodiment.
[0072] Figure 11 This is a schematic diagram of the structure of a display information acquisition module 703 according to an exemplary embodiment.
[0073] Figure 12 This is a block diagram illustrating an image capturing device according to an exemplary embodiment.
[0074] Figure 13 This is a block diagram illustrating an apparatus according to an exemplary embodiment. Detailed Implementation
[0075] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0076] An exemplary embodiment of this disclosure provides an image capturing method that enables the capturing of a specific target object in low-light conditions and in specific scenarios. This embodiment uses a museum or exhibition hall as an example for illustration.
[0077] Unlike typical photography scenarios, museum environments are generally dimly lit, with multiple light sources that are often concentrated in certain areas. Furthermore, most objects are housed in glass display cases, resulting in reflections, and the objects vary in size and detail. In addition, the shooting distance and the number of objects within the frame are uncontrollable. In this scenario, the process of taking photos using the image capture method provided in this embodiment is as follows: Figure 1 As shown, it includes:
[0078] Step 101: If there is at least one local light source within the field of view, identify the target object and determine the shooting range based on the position of the target object.
[0079] In this step, when it is necessary to take pictures of the target object, the target object is identified.
[0080] Optionally, in embodiments of the present invention, a "target object shooting mode" is added to the camera application of a mobile phone or other terminal. When at least one local light source exists within the frame, this mode can be activated by user operation, or it can be automatically recognized after the camera application is opened, activating the mode in scenes such as museums. Here, the local light source is a light source used to provide local illumination within a specific area of the scene.
[0081] Based on the identified location of the target object, the shooting range can be further determined. The specific process is as follows: Figure 2 As shown, it includes:
[0082] Step 201: Detect a target object with a complete outline within the current shooting range as the first target object, and detect a target object with an incomplete outline within the current shooting range as the second target object.
[0083] When the camera is turned on, it selects a shooting range based on the camera's default settings, which is the framing area displayed on the phone screen. When multiple subjects are present, some may not be fully captured in the viewfinder. That is, within the shooting range, there are target objects with complete outlines and those with incomplete outlines. In this step, to address this issue, we first identify the first target object with a complete outline and the second target object with an incomplete outline within the default shooting range.
[0084] Step 202: Adjust the shooting range to include all the first target objects and exclude the second target objects.
[0085] In this step, to ensure the purity of the image and improve the final shooting effect, the shooting range is adjusted according to the result identified in step 201, so as to include all the first target objects and exclude the second target objects, that is, to exclude target objects with incomplete outlines.
[0086] For example, in a museum setting, the shooting distance is uncontrollable, and the camera cannot get too close to the subject. Therefore, the automatically selected field of view when the app starts may not be the user's desired shooting area. The field of view needs to be automatically adjusted to zoom in and out in real time. When shooting multiple complete artifacts, the camera lens can zoom out to cover all artifacts, or zoom in to remove incomplete artifacts at the edges. However, if only one complete artifact appears in the shooting area due to user interest, distance, or crowding, the phone lens can automatically zoom out to remove incomplete artifacts.
[0087] For example, the step of adjusting the shooting range includes at least one or more of the following operations:
[0088] Adjust the size of the shooting area;
[0089] Adjust the resolution of the shooting area;
[0090] Adjust the focal length of the shooting range.
[0091] It should be noted that the above-listed methods for adjusting the shooting range are only a few examples. Those skilled in the art should understand that the means to adjust the shooting range are not limited to those listed.
[0092] The above-mentioned operations for adjusting the shooting range can be used individually or in combination to achieve the best shooting results. For example, when reducing the size of the shooting range, the resolution can be set to the maximum to obtain the clearest image of the target object.
[0093] Step 102: Take an image within the shooting range.
[0094] In this step, after selecting the shooting area, you can take images, such as photos or videos. The shooting action can be triggered by the user operating the screen or physical buttons, or it can be done automatically.
[0095] An exemplary embodiment of this disclosure also provides an image capturing method. Using this method, after capturing an image, a view containing associated display information of the image is generated, so that the information is presented more completely and vividly, improving the user experience. The specific process is as follows: Figure 3 As shown, it includes:
[0096] Step 301: Obtain the associated display information of the captured image.
[0097] This step includes:
[0098] Generate a magnified portion of the image as associated display information for the image; and / or,
[0099] The textual description information of the image is obtained as the associated display information of the image.
[0100] The "local area" involved in the zoomed-in image can be selected automatically or by the user.
[0101] Text descriptions can be generated locally, and users can input them via typing or voice, or obtain them by scanning the descriptive text panels next to the artifacts with the camera. Text descriptions can also be obtained remotely, for example, by searching or requesting associated text descriptions from a designated server after recognizing the photographed object.
[0102] In museum settings, magnified images can serve as detailed views of the artifacts, while text descriptions can provide information about them. To facilitate user association between artifacts and their details and descriptions, a feature allows for in-image re-image processing. This involves magnifying specific details of the artifact to generate a detailed image, or adding descriptive text below the image (the text can be automatically scanned and added to the corresponding area by taking a picture of the artifact description board with a mobile phone).
[0103] Step 302: Generate a view containing the image and the associated display information.
[0104] In this step, a view is generated that simultaneously displays the image and associated information.
[0105] Figure 4 This is an example view that includes an image with a zoomed-in view.
[0106] Figure 5 This is an example of a view that includes images and textual descriptions.
[0107] Figure 6 This is an example of a view that includes an image, a zoomed-in view, and textual descriptions.
[0108] If the captured image is a video clip, when generating the view, the image portion does not need to use the entire video; only a part of it can be used (either automatically generated as a clip or a preview video composed of user-annotated segments can be added to the view). This portion is then added to the view in the original video format or compressed into another video format. Upon detecting user taps or other actions, the view is indexed to the corresponding original video for playback and display.
[0109] An exemplary embodiment of this disclosure also provides an image capturing method, wherein after capturing the image, further detail processing is performed on the image to obtain better imaging. For example, any one or more of the following processing methods can be performed on the captured image:
[0110] Remove some or all of the image information in the image except for the target object;
[0111] The exposure of the target object is adjusted according to the distance between the lens and the target object;
[0112] Obtain the region of interest (ROI) of the image, and encode the ROI and the portion outside the ROI respectively;
[0113] Remotely obtain supplementary information about the target object, and modify the target object based on the supplementary information.
[0114] In the process of "removing part or all of the image information in the image except for the target object", since the center of the shooting is the target object, the image information other than the target object is non-essential information. It can be partially or completely removed as appropriate in order to highlight the target object as much as possible and make the useful information in the image clearer.
[0115] In museum photography scenarios, image recognition algorithms can be used to separate the target object from the background and remove facial information from the photo (for example, defining faces smaller than 1 / 4 of the image as irrelevant and removing them), resulting in a cleaner image. Reflective areas on the glass cases storing the artifacts can also be identified, removed, and the image of the reflected areas repaired to obtain a more complete image of the target object. Specific removal rules can be adapted to the specific usage scenario.
[0116] For the process of "adjusting the exposure of the target object based on the distance between the lens and the target object," for example, in situations where the background environment is dark and the light source illuminating the target object is concentrated, the distance between the brightest point in the photo and the mobile phone lens can be measured. When the measured distance is close, a short exposure is achieved to minimize the blurring of texture details and noise caused by high brightness due to long exposure; when the measured distance is far, a longer exposure is achieved to increase brightness and prevent the image from being too dark and losing details.
[0117] For the process of "obtaining the range of interest (ROI) of the image and encoding the ROI and the portion outside the ROI separately," for example, a range of interest (ROI) can be set. After defining the ROI, the subsequent compression of the image is performed in blocks. Pixels within the ROI are encoded using lower quantization parameters to retain more high-frequency information; the remaining portion can be assigned higher quantization parameters based on memory allocation and image quality requirements, thereby reducing memory usage while ensuring the integrity of key image information.
[0118] For the process of "remotely acquiring supplementary information about the target object and modifying the target object based on the supplementary information," a remote database can be maintained to store supplementary information related to the target object. After photographing the target object, the supplementary information can be retrieved from this remote database. For example, in the scenario of photographing museum collections, where the collection itself has lost details (i.e., the artifact cannot be restored), the user experience can be improved by acquiring supplementary information. A collection restoration function can be added, utilizing technologies such as machine learning to restore textures and restore the original appearance based on the collection's description (such as material and color), increasing interest and interactivity.
[0119] An exemplary embodiment of this disclosure also provides an image capturing device, the structural block diagram of which is shown below. Figure 7 As shown, it includes:
[0120] The range selection module 701 is used to identify the target object and determine the shooting range based on the position of the target object when there is at least one local light source in the field of view.
[0121] The shooting module 702 is used to capture images within the shooting range.
[0122] Optionally, the structure of the range selection module 701 is as follows: Figure 8 As shown, it includes:
[0123] The integrity detection submodule 801 is used to detect target objects with complete outlines within the current shooting range as first target objects, and to detect target objects with incomplete outlines within the current shooting range as second target objects.
[0124] The range adjustment submodule 802 is used to adjust the shooting range to include all the first target objects and exclude the second target objects.
[0125] Optionally, the structure of the range adjustment submodule 802 is as follows: Figure 9 As shown, it includes:
[0126] Size adjustment unit 901, used to adjust the size of the shooting range;
[0127] The resolution adjustment unit 902 is used to adjust the resolution of the shooting range;
[0128] The focal length adjustment unit 903 is used to adjust the focal length of the shooting range.
[0129] Optionally, the device is as follows Figure 10 As shown, it also includes:
[0130] The display information acquisition module 703 is used to acquire the associated display information of the captured image;
[0131] The view generation module 704 is used to generate a view containing the image and the associated display information.
[0132] Optionally, the structure of the display information acquisition module 703 is as follows: Figure 11 As shown, it includes:
[0133] The magnified image generation submodule 1101 is used to generate magnified images of local parts of the image as associated display information of the image;
[0134] The description information acquisition submodule 1102 is used to acquire the text description information of the image as the associated display information of the image.
[0135] Optionally, the structure of the device is as follows: Figure 12 As shown, it also includes:
[0136] Image processing module 705 is used to perform any one or more of the following processes on the captured image:
[0137] Remove some or all of the image information in the image except for the target object;
[0138] The exposure of the target object is adjusted according to the distance between the lens and the target object;
[0139] Obtain the region of interest (ROI) of the image, and encode the ROI and the portion outside the ROI respectively;
[0140] Remotely obtain supplementary information about the target object, and modify the target object based on the supplementary information.
[0141] like Figures 7 to 12 The image capturing device can be integrated into terminals such as mobile phones and tablets, and the corresponding functions can be implemented by the terminal.
[0142] An exemplary embodiment of this disclosure also provides, as... Figure 13 The device 1300 shown is for image capture. For example, device 1300 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0143] Reference Figure 13 The device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input / output (I / O) interface 1312, a sensor component 1314, and a communication component 1316.
[0144] Processing component 1302 typically controls the overall operation of device 1300, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1302 may include one or more modules to facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
[0145] Memory 1304 is configured to store various types of data to support the operation of device 1300. Examples of this data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, etc. Memory 1304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0146] The power component 1306 provides power to the various components of the device 1300. The power component 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 1300.
[0147] Multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1308 includes a front-facing camera and / or a rear-facing camera. When the device 1300 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0148] Audio component 1310 is configured to output and / or input audio signals. For example, audio component 1310 includes a microphone (MIC) configured to receive external audio signals when device 1300 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1304 or transmitted via communication component 1316. In some embodiments, audio component 1310 also includes a speaker for outputting audio signals.
[0149] I / O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0150] Sensor assembly 1314 includes one or more sensors for providing status assessments of various aspects of device 1300. For example, sensor assembly 1314 may detect the on / off state of device 1300, the relative positioning of components such as the display and keypad of device 1300, changes in the position of device 1300 or a component of device 1300, the presence or absence of user contact with device 1300, the orientation or acceleration / deceleration of device 1300, and temperature changes of device 1300. Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1314 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0151] Communication component 1316 is configured to facilitate wired or wireless communication between device 1300 and other devices. Device 1300 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1316 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0152] In an exemplary embodiment, the apparatus 1300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0153] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, which can be executed by a processor 1320 of the device 1300 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0154] An exemplary embodiment of this disclosure also provides a computer apparatus, including:
[0155] processor;
[0156] Memory used to store processor-executable instructions;
[0157] The processor is configured as follows:
[0158] When there is at least one local light source in the field of view, identify the target object and determine the shooting range based on the position of the target object;
[0159] Images are captured within the specified shooting range.
[0160] An exemplary embodiment of this disclosure also provides a non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform an image capturing method, the method comprising:
[0161] When there is at least one local light source in the field of view, identify the target object and determine the shooting range based on the position of the target object;
[0162] Images are captured within the specified shooting range.
[0163] Exemplary embodiments of this disclosure provide an image capturing method and apparatus. When capturing images using a mobile device such as a smartphone in situations where multiple obscured areas exist within the frame, the method automatically identifies the target object, determines the shooting range based on the target object's position, and then captures an image within that shooting range. This automatically completes shooting preparation for specific objects, achieving efficient and reliable special object capturing and solving the problems of complex smartphone camera operation and incompatibility with diverse scene requirements.
[0164] In museums and other similar settings, a special shooting mode has been defined to take advantage of the lighting characteristics of the environment. This mode calls on pre-configured algorithms and calibration parameters to automatically adjust the settings during shooting. After the shooting is completed, further processing and restoration of details of the collection are performed. Users can obtain high-quality images without complicated settings and experience more convenient image processing.
[0165] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0166] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. An image capturing method, characterized in that, include: When there is at least one local light source within the field of view, the target object is identified, and the shooting range is determined based on the position of the target object. The local light source is a light source used to provide local illumination for a specific area in the scene. Image capture is performed within the specified shooting range; The step of identifying the target object and determining the shooting range based on the location of the target object includes: Detect a first target object and a second target object. The first target object is a target object with a complete outline within the current shooting range, and the second target object is a target object with an incomplete outline within the current shooting range. Adjust the shooting range to include all the first target objects and exclude the second target objects; After the step of capturing images within the shooting range, the method further includes: Perform any one or more of the following processing on the captured image: Remove some or all of the image information in the image except for the target object; Adjusting the exposure of the target object based on the distance between the lens and the target object includes: measuring the distance between the brightest point in the image and the lens; The region of interest (ROI) of the image is obtained, and the subsequent compression of the image is performed in blocks, encoding the ROI and the parts outside the ROI respectively. Retrieve supplementary information about the target object from a remote database, and modify the target object based on the supplementary information.
2. The image capturing method according to claim 1, characterized in that, The step of adjusting the shooting range includes at least one or more of the following operations: Adjust the size of the shooting area; Adjust the resolution of the shooting area; Adjust the focal length of the shooting range.
3. The image capturing method according to claim 1, characterized in that, After the step of capturing images within the shooting range, the method further includes: Obtain the associated display information of the captured images; Generate a view that includes the image and the associated display information.
4. The image capturing method according to claim 3, characterized in that, The step of acquiring the associated display information of the captured image includes: Generate a magnified portion of the image as associated display information for the image; and / or, The textual description information of the image is obtained as the associated display information of the image.
5. An image capturing device, characterized in that, include: The range selection module is used to identify the target object when there is at least one local light source within the framing range, and to determine the shooting range based on the position of the target object. The local light source is a light source used to provide local illumination for a specific area in the scene. The shooting module is used to capture images within the shooting range; The range selection module includes: The integrity detection submodule is used to detect a first target object and a second target object. The first target object is a target object with a complete outline within the current shooting range, and the second target object is a target object with an incomplete outline within the current shooting range. The range adjustment submodule is used to adjust the shooting range to include all the first target objects and exclude the second target objects; The image processing module is used to perform any one or more of the following processing on the captured photograph: Remove some or all of the image information in the image except for the target object; Adjusting the exposure of the target object based on the distance between the lens and the target object includes: measuring the distance between the brightest point in the image and the lens; The region of interest (ROI) of the image is obtained, and the subsequent compression of the image is performed in blocks, encoding the ROI and the parts outside the ROI respectively. Retrieve supplementary information about the target object from a remote database, and modify the target object based on the supplementary information.
6. The image capturing device according to claim 5, characterized in that, The range adjustment submodule includes: Size adjustment unit, used to adjust the size of the shooting range; A resolution adjustment unit is used to adjust the resolution of the shooting range; The focus adjustment unit is used to adjust the focus of the shooting range.
7. The image capturing device according to claim 5, characterized in that, The device further includes: The display information acquisition module is used to acquire the associated display information of the captured images; A view generation module is used to generate a view that includes the image and the associated display information.
8. The image capturing device according to claim 7, characterized in that, The display information acquisition module includes: The zoomed-in image generation submodule is used to generate zoomed-in images of local parts of the image as associated display information of the image; The description information acquisition submodule is used to acquire the textual description information of the image as the associated display information of the image.
9. A computer device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: When there is at least one local light source within the field of view, the target object is identified, and the shooting range is determined based on the position of the target object. The local light source is a light source used to provide local illumination for a specific area in the scene. Image capture is performed within the specified shooting range; The step of identifying the target object and determining the shooting range based on the location of the target object includes: Detect a first target object and a second target object. The first target object is a target object with a complete outline within the current shooting range, and the second target object is a target object with an incomplete outline within the current shooting range. Adjust the shooting range to include all the first target objects and exclude the second target objects; After the step of capturing images within the shooting range, the method further includes: Perform any one or more of the following processing on the captured image: Remove some or all of the image information in the image except for the target object; Adjusting the exposure of the target object based on the distance between the lens and the target object includes: measuring the distance between the brightest point in the image and the lens; The region of interest (ROI) of the image is obtained, and the subsequent compression of the image is performed in blocks, encoding the ROI and the parts outside the ROI respectively. Retrieve supplementary information about the target object from a remote database, and modify the target object based on the supplementary information.
10. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform an image capturing method, the method comprising: When there is at least one local light source within the field of view, the target object is identified, and the shooting range is determined based on the position of the target object. The local light source is a light source used to provide local illumination for a specific area in the scene. Image capture is performed within the specified shooting range; The step of identifying the target object and determining the shooting range based on the location of the target object includes: Detect a first target object and a second target object. The first target object is a target object with a complete outline within the current shooting range, and the second target object is a target object with an incomplete outline within the current shooting range. Adjust the shooting range to include all the first target objects and exclude the second target objects; After the step of capturing images within the shooting range, the method further includes: Perform any one or more of the following processing on the captured image: Remove some or all of the image information in the image except for the target object; Adjusting the exposure of the target object based on the distance between the lens and the target object includes: measuring the distance between the brightest point in the image and the lens; The region of interest (ROI) of the image is obtained, and the subsequent compression of the image is performed in blocks, encoding the ROI and the parts outside the ROI respectively. Retrieve supplementary information about the target object from a remote database, and modify the target object based on the supplementary information.