WO2016015402A1 - 测光方法及装置 - Google Patents
测光方法及装置 Download PDFInfo
- Publication number
- WO2016015402A1 WO2016015402A1 PCT/CN2014/091557 CN2014091557W WO2016015402A1 WO 2016015402 A1 WO2016015402 A1 WO 2016015402A1 CN 2014091557 W CN2014091557 W CN 2014091557W WO 2016015402 A1 WO2016015402 A1 WO 2016015402A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- point
- marked
- area
- nth
- touch screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/02—Details
- G01J1/04—Optical or mechanical part supplementary adjustable parts
- G01J1/0407—Optical elements not provided otherwise, e.g. manifolds, windows, holograms, gratings
- G01J1/0414—Optical elements not provided otherwise, e.g. manifolds, windows, holograms, gratings using plane or convex mirrors, parallel phase plates, or plane beam-splitters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V10/267—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20092—Interactive image processing based on input by user
- G06T2207/20101—Interactive definition of point of interest, landmark or seed
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
Definitions
- the present disclosure relates to the field of terminal technologies, and in particular, to a photometry method and apparatus.
- Metering is the process of measuring the brightness of a photographic object. It is the basis for automatic exposure of the camera to reveal the image in the photo. Accurate metering and correct metering are the starting point for photographic creation.
- the metering method of a digital camera's metering system is usually TTL (Through The Lens), which measures the intensity of light reflected by a subject through a lens.
- TTL Through The Lens
- the photometric sensor is placed in the photographic light path, and the light is reflected from the mirror to the photometric element for photometry.
- the measured light intensity data is transmitted to the processor of the camera, and after the calculation process of the automatic exposure, the exposure combination is determined, that is, the combination of the aperture of the shot and the shutter speed.
- the metering methods can be divided into: average metering, center-weighted metering, spot metering, and matrix metering.
- the metering range of Spot metering is an area in which the center of the viewfinder screen occupies about 1 to 3% of the entire screen. Spot metering is basically unaffected by the brightness of other scenes outside the metering area. Therefore, it is convenient to use spot metering to detect various areas of the subject or background.
- the metering point is first confirmed, the metering point may be the center point of the preview interface, or the user selects any point in the preview interface through the touch screen; then, a rectangle is made centering on the metering point Or a circle that is offset from the center when it encounters a boundary.
- the metering range is the area. Taking the shooting scene shown in FIG. 1 as an example, the user clicks on the left hand of the character on the touch screen (the white point position in the figure), and when the hand is used as the light metering point, the metering area is the white box area in the figure.
- the actual metering result may be quite different from the user's intention.
- the user originally wanted to meter the left-hand skin area as the metering range, while the actual metering range included both the left-hand cuff and the right-hand cuff.
- the part of the garment When the part of the garment is close to the brightness of the left-hand skin color in the metering range, the part of the garment has less influence on the final metering result; however, when the color of the part of the garment differs greatly from the color of the left hand, it will cause a huge impact on the final metering result. Effect, in this case, adjust the brightness of the picture after exposure combination according to the metering result Will be darker than expected.
- the present disclosure provides a photometry method and device, which can improve the accuracy of photometry.
- a photometry method including:
- the image points in the target area are metered.
- the image included in the initial photometry area is segmented, and a background area that does not need to be metered and a target area that is the photometry area that includes the touch screen point are segmented, including:
- N is a natural number greater than or equal to 2
- the target area points constitute the target area
- the background area points constitute the background area
- the target area and the background area are divided by the dividing point.
- determining the attribute of the Nth to-be-marked point according to an attribute of the marked point adjacent to the Nth to-be-marked point in the up, down, left, and right directions including:
- the Nth to-be-marked point is determined as the dividing point; otherwise, it is determined whether the marked point of the Nth to-be-marked point adjacent in the up, down, left, and right directions is continued. Only the target area point;
- the Nth to-be-marked point is determined as the target area point; otherwise, the Nth to-be-marked point is determined as the background area point.
- the determining, by the entire image displayed on the touch screen, the initial photometric area including the touch screen point comprising:
- a photometric apparatus including:
- a touch screen point acquiring module configured to acquire a touch screen point of the metering area input by the user
- An initial light metering area determining module configured to determine an initial light metering area including the touch screen point in the entire image displayed on the touch screen;
- An image segmentation module configured to divide an image included in the initial light metering region, and divide a background region that does not need to be metered and a target region that is the light metering region that includes the touch screen point;
- the photometry module is configured to perform photometry on image points in the target area.
- the image segmentation module includes:
- a first color distance calculation unit configured to calculate a color distance between the to-be-marked point and the touch-screen point of the attribute to be marked adjacent to the touch screen point in the up, down, left, and right directions, and calculate the initial a color distance between the to-be-marked point of the attribute to be marked adjacent to the image boundary point of the photometric area and the image boundary point, the attribute comprising: a target area point, a background area point or a segmentation point;
- a first to-be-marked point acquiring unit configured to acquire a first to-be-marked point corresponding to a minimum color distance
- a first to-be-marked point attribute determining unit configured to determine an attribute of the first to-be-marked point according to an attribute of the marked point that is adjacent to the first to-be-marked point in the up, down, left, and right directions, to generate a second marked point ;
- N is a natural number greater than or equal to 2
- N is a natural number greater than or equal to 2
- An Nth to-be-marked point acquiring unit configured to acquire an Nth to-be-marked point corresponding to a minimum color distance
- the Nth to-be-marked point attribute determining unit is configured to determine an attribute of the Nth to-be-marked point according to an attribute of the marked point that is adjacent to the Nth to-be-marked point in the up, down, left, and right directions, until all the to-be-determined points are determined The attribute of the marker point;
- the target area points constitute the target area
- the background area points constitute the background area
- the target area and the background area are divided by the dividing point.
- the Nth to-be-marked point attribute determining unit includes:
- a first determining subunit configured to determine whether the marked point adjacent to the Nth to-be-marked point in the up, down, left, and right directions includes both the target area point and the background area point; if both the target area point and the background are included The area point triggers the split point determination subunit; otherwise, the second judgment subunit is triggered;
- the dividing point determining subunit is configured to determine the Nth to-be-marked point as a dividing point if both the target area point and the background area point are included;
- the second determining sub-unit is configured to continue to determine whether the marked points adjacent to the Nth to-be-marked point in the up, down, left, and right directions are only target area points; if only the target area points, trigger the target area point determination Subunit; otherwise, triggering the background area point subunit;
- the target area point determining subunit is configured to determine the Nth to-be-marked point as a target area point
- the background area point subunit is configured to determine the Nth to-be-marked point as a background area point.
- the initial photometric area determining module is specifically configured to determine that an area including 1 to 8% of the touch screen point in the entire image displayed on the touch screen is the initial photometric area.
- a terminal including:
- a memory for storing processor executable instructions
- processor is configured to:
- the image points in the target area are metered.
- the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: in the photometry process, first, the touch screen point of the user inputting the light metering area is acquired; then, determining the inclusion in the entire image displayed on the touch screen An initial light metering area of the touch screen point; by dividing an image included in the initial light metering area, dividing a background area that does not need to be metered and a target area that is the light metering area that includes the touch screen point; , metering the image points in the target area.
- the initial photometry area is divided into a background area that does not need to be metered and a target area that is the final measurement area including the touch screen point, and the measurement is finally performed only for the image points in the target area, the measurement can be avoided.
- the image points in the background area of the light have an unnecessary influence on the image points in the target area, thereby greatly improving the accuracy of metering the image points in the target area.
- FIG. 1 is a schematic diagram of a shooting scene shown in the present disclosure
- FIG. 2 is an exemplary flow chart of a photometry method according to an embodiment of the present disclosure
- FIG. 3 is a schematic view of an initial photometric area in the present disclosure
- step S203 is a schematic diagram of an implementation flow of step S203 in the present disclosure.
- FIG. 5 is a schematic diagram showing an implementation flow of determining an attribute of an Nth to-be-marked point in the present disclosure
- FIG. 6 is a schematic diagram of determining an initial photometric area in FIG. 1 in the present disclosure
- Figure 7 is a schematic diagram of determining the target area of Figure 1 in the present disclosure.
- Figure 8 is a block diagram of a photometric apparatus according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of an image segmentation module of FIG. 8.
- FIG. 10 is a schematic diagram showing an implementation structure of an Nth to-be-marked point attribute determining unit in FIG. 9;
- FIG. 11 is a block diagram of an embodiment of a terminal device according to an embodiment of the present disclosure.
- FIG. 2 is a flowchart of a photometry method according to an exemplary embodiment. As shown in FIG. 2, the photometry method is used in a terminal, and includes the following steps:
- Step S201 Acquire a touch screen point of the metering area input by the user
- Step S202 determining that the entire image displayed on the touch screen includes an initial photometric area of the touch screen point
- Step S203 dividing an image included in the initial photometry area, and segmenting a background area that does not need to be metered and a target area that is the photometry area that is the center of the touch screen;
- Step S204 Perform photometry on image points in the target area.
- step S201 when it is necessary to meter a part of the entire image displayed on the touch screen, the user clicks on the touch screen, and the touch screen point is in the light metering area.
- the touch screen point is an important reference point for subsequent image segmentation.
- the terminal may determine an initial light metering area in which the light metering needs to be performed in the entire image displayed on the touch screen, and the touch screen point is in the initial light metering area.
- a rectangular area is defined centering on the touch screen point, and the metering range is an image within the rectangular area. point.
- the rectangular area often exceeds the image area where the user really needs to meter, that is, the initial metering range contains some areas that do not need to be metered, and this part does not need to be measured.
- the area of light tends to affect the area of the image that really needs to be metered, making the final metering result inaccurate, as in the image area of the garment portion of the left hand cuff and the right hand cuff as in Figure 1.
- the present disclosure divides the image included in the initial photometric region by using a segmentation algorithm, and finally divides the initial photometric region into two parts: a background region and a target region, wherein The area of the metering is defined as the "background area”, and the area containing the touch screen point as the final metering area is defined as the "target area”.
- the image region that does not need to be metered is distinguished from the image region that needs to be metered, thereby dividing the image region that really needs to be metered.
- step S204 after image segmentation is completed, the terminal meters only the image points in the target area that really need to be metered.
- the touch screen point of the metering area input by the user is first acquired; then, the initial metering including the touch screen point is determined in the entire image displayed on the touch screen. a region; by segmenting an image included in the initial photometric region, segmenting a background region that does not require photometry and a target region that is the final photometry region including the touchscreen region; and finally, performing image points in the target region Metering. Since the initial photometry area is divided into a background area that does not need to be metered and a target area that is the final measurement area including the touch screen point, and the measurement is finally performed only for the image points in the target area, the measurement can be avoided. The image points in the background area of the light have an unnecessary influence on the image points in the target area, thereby greatly improving the accuracy of metering the image points in the target area.
- metering range is appropriately enlarged to cover the target focus area in the maximum range, and is 1 to 8%.
- a square area in which the side length is L is an initial photometric area. The square is centered on the touch screen point, and the calculation formula of the side length L is:
- H is the length of the preview image
- W is the width of the preview image
- the target area that is finally used as the photometric area is not necessarily the initial photometry area, and the determination of the target area is finally required according to the result of the pattern division of the initial photometry area.
- Adjacent point In the present disclosure, an adjacent point of an image point refers to a point located in four directions of up, down, left, and right of the point;
- the point is an image point that intersects both the target area and the background area;
- marked points image points for the determined attributes
- the attributes of the marked points can be divided into three categories: target area points (including touch screen points), background area points (including the initial metering area of the image) Boundary point) and dividing point;
- Point to be marked an image point waiting for the attribute to be determined adjacent to the top, bottom, left and right of the marked point.
- step S203 a specific implementation manner of the foregoing step S203 is as shown in FIG. 4, and the image segmentation process may include the following steps:
- Step S401 Calculate a color distance between the to-be-marked point of the attribute to be marked adjacent to the touch screen point in the up, down, left, and right directions, and the touch screen point, and calculate an image boundary with the initial light metering area.
- a color distance between a point to be marked of the adjacent attribute to be marked and the boundary point of the image, the attribute comprising: a target area point, a background area point or a division point;
- Step S402 acquiring a first to-be-marked point corresponding to a minimum color distance and an adjacent first marked point
- Step S403 determining, according to an attribute of the marked point adjacent to the first to-be-marked point in the up, down, left, and right directions.
- the attribute of the first to-be-marked point generates a second marked point;
- the initial target area point is a touch screen point; the initial background area point is all points on the image boundary in the initial metering area; the initial point to be marked is adjacent to the initial target area. Image points, and image points that are adjacent to the original background area.
- the attribute of the first point to be marked can only be the target area point or the background area point.
- Step S404 Determine an attribute of the first to-be-marked point according to an attribute of the marked point in the up, down, left, and right direction of the first to-be-marked point, and generate a second marked point;
- Step S405 obtaining an Nth to-be-marked point corresponding to the minimum color distance
- Step S406 Determine an attribute of the Nth to-be-marked point according to an attribute of the marked point adjacent to the Nth to-be-marked point in the up, down, left, and right directions, until the attributes of all the to-be-marked points are determined.
- the attribute of the Nth marked point may include: a target area point, a background area point, or a split point. Accordingly, the attribute of the Nth to-be-marked point may also include: a target area point, a background area point, or a split point.
- the target area points constitute a target area
- the background area points constitute a background area
- the target area and the background area are divided by the division points.
- Step S501 determining whether the marked points adjacent to the Nth to-be-marked point in the up, down, left, and right directions include both the target area point and the background area point; if both the target area point and the background area point are included, proceeding Step S502; otherwise, proceed to step S503;
- Step S502 determining the Nth to-be-marked point as a split point
- Step S503 determining whether the marked points of the Nth to-be-marked points in the up, down, left, and right directions are only target area points; if only the target area points, proceeding to step S504; otherwise, proceeding to step S505;
- Step S504 determining the Nth to-be-marked point as a target area point
- Step S505 Determine the Nth to-be-marked point as a background area point.
- the terminal system first determines the initial metering area including the touch screen point.
- the initial metering area shown in FIG. 6 includes, in addition to the left hand image that the user needs to perform metering, and the clothing part of the left hand cuff and the right hand cuff. Therefore, it is necessary to divide the image included in the initial photometry area, and divide the background area that does not need to be metered and the target area that is the photometry area that includes the touch screen point.
- FIG. 8 is a schematic diagram of a photometric device according to an exemplary embodiment.
- the apparatus includes:
- the touch screen point obtaining module 81 is configured to acquire a touch screen point of the metering area input by the user;
- the initial light metering area determining module 82 is configured to determine an initial light metering area including the touch screen point in the entire image displayed on the touch screen;
- the image segmentation module 83 is configured to divide an image included in the initial light metering region, and divide a background region that does not need to be metered and a target region that is the light metering region that includes the touch screen point;
- the photometry module 84 is configured to perform photometry on image points in the target area.
- the touch screen point of the metering area input by the user is first acquired; then, the initial metering including the touch screen point is determined in the entire image displayed on the touch screen. a region; by segmenting an image included in the initial photometric region, segmenting a background region that does not require photometry and a target region that is the final photometry region including the touchscreen region; and finally, performing image points in the target region Metering. Since the initial photometry area is divided into a background area that does not need to be metered and a target area that is the final measurement area including the touch screen point, and the measurement is finally performed only for the image points in the target area, the measurement can be avoided. The image points in the background area of the light have an unnecessary influence on the image points in the target area, thereby greatly improving the accuracy of metering the image points in the target area.
- the metering range is appropriately enlarged to cover the target focus area in the maximum range, and is 1 to 8%.
- the target area that is finally used as the photometric area is not necessarily the initial photometry area, and the determination of the target area is finally required according to the result of the pattern division of the initial photometry area.
- an implementation of the image segmentation module is as shown in FIG. 9 , and may include:
- the first color distance calculation unit 901 is configured to calculate a color distance between the to-be-marked point and the touch-screen point of the attribute to be marked adjacent to the touch screen point in the up, down, left, and right directions, and calculate and a color distance between the to-be-marked point of the attribute to be marked adjacent to the image boundary point of the initial photometric area and the image boundary point, the attribute includes: a target area point, a background area point, or a segmentation point;
- a first to-be-marked point obtaining unit 902 configured to acquire a first to-be-marked point corresponding to a minimum color distance
- the first to-be-marked point attribute determining unit 903 is configured to determine an attribute of the first to-be-marked point according to an attribute of the marked point that is adjacent to the first to-be-marked point in the up, down, left, and right directions, to generate a second marked point;
- the Nth color distance calculation unit 904 is configured to calculate a to-be-marked point and the Nth-marked attribute of the to-be-marked attribute adjacent to the Nth (N is a natural number greater than or equal to 2) marked points in the up, down, left, and right directions The distance between the dots;
- the Nth to-be-marked point obtaining unit 905 is configured to acquire an Nth to-be-marked point corresponding to the minimum color distance
- the Nth to-be-marked point attribute determining unit 906 is configured to determine an attribute of the Nth to-be-marked point according to an attribute of the marked point that is adjacent to the Nth to-be-marked point in the up, down, left, and right directions until all the said The attribute of the point to be marked;
- the target area points constitute the target area
- the background area points constitute the background area
- the target area and the background area are divided by the dividing point.
- the implementation manner of the foregoing Nth to-be-marked attribute determining unit is as shown in FIG. 10, and may include:
- the first determining sub-unit 1001 is configured to determine whether the marked points adjacent to the Nth to-be-marked point in the up, down, left, and right directions include both the target area point and the background area point; if both the target area point and the target area point are included The background area point triggers the split point determining subunit 1002; otherwise, the second determining subunit 1003 is triggered;
- the dividing point determining subunit 1002 is configured to determine the Nth to-be-marked point as a dividing point if both the target area point and the background area point are included;
- the second determining sub-unit 1003 is configured to continue to determine whether the marked point adjacent to the Nth to-be-marked point in the up, down, left, and right directions is only a target area point; if only the target area point, trigger the target area point Determining subunit 1004; otherwise, triggering background area point subunit 1005;
- the target area point determining subunit 1004 is configured to determine the Nth to-be-marked point as a target area point
- the background area point subunit 1005 is configured to determine the Nth to-be-marked point as a background area point.
- FIG. 11 is a block diagram of an apparatus 800 for metering, according to an exemplary embodiment.
- device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- apparatus 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
- Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
- processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
- processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
- Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 804 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.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Electrically erasable programmable read only memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 806 provides power to various components of device 800.
- Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
- the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input an audio signal.
- the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
- the audio component 810 also includes a speaker for outputting an audio signal.
- the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
- sensor assembly 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
- Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
- the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 800 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 A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A gate array
- controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- non-transitory computer readable storage medium comprising instructions, such as a package
- the memory 804 of instructions is executable by the processor 820 of the apparatus 800 to perform the above method.
- the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a photometric method, the method comprising:
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
- Image Analysis (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
- Exposure Control For Cameras (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
Description
Claims (9)
- 一种测光方法,其特征在于,包括:获取用户输入的处于测光区域的触屏点;确定触摸屏上所显示的整幅图像中包含所述触屏点的初始测光区域;将所述初始测光区域包含的图像进行分割,分割出不需测光的背景区域和包含所述触屏点的最终作为测光区域的目标区域;对所述目标区域内的图像点进行测光。
- 根据权利要求1所述的方法,其特征在于,所述将所述初始测光区域包含的图像进行分割,分割出不需测光的背景区域和包含所述触屏点的最终作为测光区域的目标区域,包括:计算与所述触屏点在上下左右方向上相邻的待标记属性的待标记点与所述触屏点之间的颜色距离,以及,计算与所述初始测光区域的图像边界点相邻的待标记属性的待标记点与所述图像边界点之间的颜色距离,所述属性包括:目标区域点、背景区域点或分割点;获取最小颜色距离对应的第一待标记点;根据所述第一待标记点在上下左右方向上相邻的已标记点的属性,确定所述第一待标记点的属性,生成第二已标记点;计算与所述第N(N为大于等于2的自然数)已标记点在上下左右方向上相邻的待标记属性的待标记点与所述第N已标记点之间的颜色距离;获取最小颜色距离对应的第N待标记点;根据所述第N待标记点在上下左右方向上相邻的已标记点的属性,确定所述第N待标记点的属性,直至确定所有所述待标记点的属性;其中,所述目标区域点组成所述目标区域,所述背景区域点组成所述背景区域,所述目标区域和所述背景区域由所述分割点进行分割。
- 根据权利要求2所述的方法,其特征在于,所述根据所述第N待标记点在上下左右方向上相邻的已标记点的属性,确定所述第N待标记点的属性,包括:判断所述第N待标记点在上下左右方向上相邻的已标记点是否既包括目标区域点,又包括背景区域点;如果既包括目标区域点,又包括背景区域点,则将所述第N待标记点确定为分割点;否则,继续判断所述第N待标记点在上下左右方向上相邻的已标记点是否仅为目标区域点;如果仅为目标区域点,则将所述第N待标记点确定为目标区域点;否则,将所述第N待标记点确定为背景区域点。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述确定触摸屏上所显示的整幅图像中包含所述触屏点的初始测光区域,包括:确定所述触摸屏上所显示的整幅图像中包含所述触屏点的1~8%的区域为所述初始测光区域。
- 一种测光装置,其特征在于,包括:触屏点获取模块,用于获取用户输入的处于测光区域的触屏点;初始测光区域确定模块,用于确定触摸屏上所显示的整幅图像中包含所述触屏点的初始测光区域;图像分割模块,用于将所述初始测光区域包含的图像进行分割,分割出不需测光的背景区域和包含所述触屏点的最终作为测光区域的目标区域;测光模块,用于对所述目标区域内的图像点进行测光。
- 根据权利要求5所述的装置,其特征在于,所述图像分割模块,包括:第一颜色距离计算单元,用于计算与所述触屏点在上下左右方向上相邻的待标记属性的待标记点与所述触屏点之间的颜色距离,以及,计算与所述初始测光区域的图像边界点相邻的待标记属性的待标记点与所述图像边界点之间的颜色距离,所述属性包括:目标区域点、背景区域点或分割点;第一待标记点获取单元,用于获取最小颜色距离对应的第一待标记点;第一待标记点属性确定单元,用于根据所述第一待标记点在上下左右方向上相邻的已标记点的属性,确定所述第一待标记点的属性,生成第二已标记点;第N颜色距离计算单元,用于计算与所述第N(N为大于等于2的自然数)已标记点在上下左右方向上相邻的待标记属性的待标记点与所述第N已标记点之间的颜色距离;第N待标记点获取单元,用于获取最小颜色距离对应的第N待标记点;第N待标记点属性确定单元,用于根据所述第N待标记点在上下左右方向上相邻的已标记点的属性,确定所述第N待标记点的属性,直至确定所有所述待标记点的属性;其中,所述目标区域点组成所述目标区域,所述背景区域点组成所述背景区域,所述目标区域和所述背景区域由所述分割点进行分割。
- 根据权利要求6所述的装置,其特征在于,所述第N待标记点属性确定单元,包括:第一判断子单元,用于判断所述第N待标记点在上下左右方向上相邻的已标记点是否既包括目标区域点,又包括背景区域点;如果既包括目标区域点,又包括背景区域点,则触发分割点确定子单元;否则,触发第二判断子单元;所述分割点确定子单元,用于如果既包括目标区域点,又包括背景区域点,则将所述 第N待标记点确定为分割点;所述第二判断子单元,用于继续判断所述第N待标记点在上下左右方向上相邻的已标记点是否仅为目标区域点;如果仅为目标区域点,则触发目标区域点确定子单元;否则,触发背景区域点子单元;所述目标区域点确定子单元,用于则将所述第N待标记点确定为目标区域点;所述背景区域点子单元,用于将所述第N待标记点确定为背景区域点。
- 根据权利要求5-7中任一项所述的装置,其特征在于,所述初始测光区域确定模块,具体用于确定所述触摸屏上所显示的整幅图像中包含所述触屏点的1~8%的区域为所述初始测光区域。
- 一种终端,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:获取用户输入的处于测光区域的触屏点;确定触摸屏上所显示的整幅图像中包含所述触屏点的初始测光区域;将所述初始测光区域包含的图像进行分割,分割出不需测光的背景区域和包含所述触屏点的最终作为测光区域的目标区域;对所述目标区域内的图像点进行测光。
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020157001261A KR101813194B1 (ko) | 2014-07-31 | 2014-11-19 | 측광방법, 장치, 프로그램 및 기록매체 |
| BR112015003277A BR112015003277A2 (pt) | 2014-07-31 | 2014-11-19 | método de medição de luz, dispositivo de medição de luz e terminal |
| MX2015002224A MX352793B (es) | 2014-07-31 | 2014-11-19 | Método y dispositivo de medición de luz. |
| RU2015105744A RU2628236C2 (ru) | 2014-07-31 | 2014-11-19 | Способ и устройство измерения освещенности |
| JP2016537122A JP6149162B2 (ja) | 2014-07-31 | 2014-11-19 | 測光方法、測光装置、端末、プログラム及び記録媒体 |
| US14/624,984 US9674454B2 (en) | 2014-07-31 | 2015-02-18 | Light metering methods and devices |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410373717.0A CN104219518B (zh) | 2014-07-31 | 2014-07-31 | 测光方法及装置 |
| CN201410373717.0 | 2014-07-31 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/624,984 Continuation US9674454B2 (en) | 2014-07-31 | 2015-02-18 | Light metering methods and devices |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016015402A1 true WO2016015402A1 (zh) | 2016-02-04 |
Family
ID=52100598
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/091557 Ceased WO2016015402A1 (zh) | 2014-07-31 | 2014-11-19 | 测光方法及装置 |
Country Status (8)
| Country | Link |
|---|---|
| EP (1) | EP2981065B1 (zh) |
| JP (1) | JP6149162B2 (zh) |
| KR (1) | KR101813194B1 (zh) |
| CN (1) | CN104219518B (zh) |
| BR (1) | BR112015003277A2 (zh) |
| MX (1) | MX352793B (zh) |
| RU (1) | RU2628236C2 (zh) |
| WO (1) | WO2016015402A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105227857B (zh) * | 2015-10-08 | 2018-05-18 | 广东欧珀移动通信有限公司 | 一种自动曝光的方法和装置 |
| CN109376588B (zh) * | 2018-09-05 | 2019-08-02 | 北京达佳互联信息技术有限公司 | 一种人脸测光点选取方法、装置和拍摄设备 |
| CN114257738B (zh) * | 2021-11-30 | 2024-06-28 | 上海闻泰信息技术有限公司 | 自动曝光方法、装置、设备及存储介质 |
| CN115474007A (zh) * | 2022-08-12 | 2022-12-13 | 北京城市网邻信息技术有限公司 | 一种拍摄方法、装置、终端设备及存储介质 |
| CN119729225B (zh) * | 2025-03-03 | 2025-05-27 | 先临三维科技股份有限公司 | 亮度调节方法及扫描设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1652577A (zh) * | 2004-02-06 | 2005-08-10 | 株式会社尼康 | 数码相机 |
| CN101820504A (zh) * | 2009-02-26 | 2010-09-01 | 日立民用电子株式会社 | 摄像装置 |
| US20130321687A1 (en) * | 2010-12-09 | 2013-12-05 | Dimitri NEGROPONTE | Light metering in cameras for backlit scenes |
| CN103795917A (zh) * | 2012-10-30 | 2014-05-14 | 三星电子株式会社 | 成像装置和控制方法 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11136568A (ja) * | 1997-10-31 | 1999-05-21 | Fuji Photo Film Co Ltd | タッチパネル操作式カメラ |
| US7847830B2 (en) * | 2006-11-21 | 2010-12-07 | Sony Ericsson Mobile Communications Ab | System and method for camera metering based on flesh tone detection |
| JP5386793B2 (ja) * | 2006-12-11 | 2014-01-15 | 株式会社リコー | 撮像装置および撮像装置の露出制御方法 |
| US8237807B2 (en) * | 2008-07-24 | 2012-08-07 | Apple Inc. | Image capturing device with touch screen for adjusting camera settings |
| JP2010072619A (ja) * | 2008-08-22 | 2010-04-02 | Nikon Corp | 露出演算装置およびカメラ |
| WO2012155446A1 (zh) * | 2011-07-18 | 2012-11-22 | 中兴通讯股份有限公司 | 局部图像平移方法及带有触摸屏的终端 |
| JP6083987B2 (ja) * | 2011-10-12 | 2017-02-22 | キヤノン株式会社 | 撮像装置、その制御方法及びプログラム |
| JP5872395B2 (ja) * | 2012-06-29 | 2016-03-01 | セコム株式会社 | 領域分割装置 |
| CN103139481B (zh) * | 2012-12-28 | 2015-07-08 | 努比亚技术有限公司 | 一种摄像装置和摄像方法 |
-
2014
- 2014-07-31 CN CN201410373717.0A patent/CN104219518B/zh active Active
- 2014-11-19 RU RU2015105744A patent/RU2628236C2/ru active
- 2014-11-19 JP JP2016537122A patent/JP6149162B2/ja active Active
- 2014-11-19 WO PCT/CN2014/091557 patent/WO2016015402A1/zh not_active Ceased
- 2014-11-19 BR BR112015003277A patent/BR112015003277A2/pt not_active IP Right Cessation
- 2014-11-19 KR KR1020157001261A patent/KR101813194B1/ko active Active
- 2014-11-19 MX MX2015002224A patent/MX352793B/es active IP Right Grant
-
2015
- 2015-07-31 EP EP15179325.4A patent/EP2981065B1/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1652577A (zh) * | 2004-02-06 | 2005-08-10 | 株式会社尼康 | 数码相机 |
| CN101820504A (zh) * | 2009-02-26 | 2010-09-01 | 日立民用电子株式会社 | 摄像装置 |
| US20130321687A1 (en) * | 2010-12-09 | 2013-12-05 | Dimitri NEGROPONTE | Light metering in cameras for backlit scenes |
| CN103795917A (zh) * | 2012-10-30 | 2014-05-14 | 三星电子株式会社 | 成像装置和控制方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016535307A (ja) | 2016-11-10 |
| JP6149162B2 (ja) | 2017-06-14 |
| CN104219518A (zh) | 2014-12-17 |
| KR101813194B1 (ko) | 2017-12-28 |
| BR112015003277A2 (pt) | 2017-07-04 |
| RU2015105744A (ru) | 2016-09-10 |
| MX352793B (es) | 2017-12-07 |
| KR20160024835A (ko) | 2016-03-07 |
| EP2981065B1 (en) | 2019-02-20 |
| RU2628236C2 (ru) | 2017-08-15 |
| CN104219518B (zh) | 2018-09-18 |
| MX2015002224A (es) | 2016-08-30 |
| EP2981065A1 (en) | 2016-02-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112449026B (zh) | 一种环境光补偿方法、装置、终端及存储介质 | |
| US10708512B2 (en) | Method and device for capturing image and storage medium | |
| WO2016090829A1 (zh) | 图像拍摄方法及装置 | |
| WO2016110145A1 (zh) | 屏幕亮度设置方法及装置 | |
| CN105227857B (zh) | 一种自动曝光的方法和装置 | |
| WO2016176954A1 (zh) | 拍摄参数设置方法及装置 | |
| CN103973979A (zh) | 一种配置拍摄参数的方法及装置 | |
| CN105554399A (zh) | 拍摄方法、拍摄装置及终端设备 | |
| WO2016023339A1 (zh) | 延时拍照的方法和装置 | |
| WO2016015402A1 (zh) | 测光方法及装置 | |
| CN105959587A (zh) | 快门速度获取方法和装置 | |
| CN107480785A (zh) | 卷积神经网络的训练方法及装置 | |
| CN105959594A (zh) | 摄影设备的测光方法及装置 | |
| WO2016101478A1 (zh) | 液晶显示器调整方法及装置 | |
| CN106469446B (zh) | 深度图像的分割方法和分割装置 | |
| WO2016155227A1 (zh) | 显示取景信息的方法及装置 | |
| CN114268743B (zh) | 图像获取方法、装置、设备及存储介质 | |
| CN106775240B (zh) | 应用程序的触发方法、装置及终端 | |
| CN107770444B (zh) | 拍照参数确定方法及装置 | |
| US9723218B2 (en) | Method and device for shooting a picture | |
| CN117408868A (zh) | 图像处理方法及装置、电子设备、存储介质 | |
| CN114339021A (zh) | 基于人脸识别的对焦方法、装置、终端设备和存储介质 | |
| CN113551768B (zh) | 确定环境亮度的方法及装置 | |
| US9674454B2 (en) | Light metering methods and devices | |
| CN118488316A (zh) | 一种测光方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 20157001261 Country of ref document: KR Kind code of ref document: A Ref document number: 2016537122 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 2015105744 Country of ref document: RU Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2015/002224 Country of ref document: MX |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112015003277 Country of ref document: BR |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14899011 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 112015003277 Country of ref document: BR Kind code of ref document: A2 Effective date: 20150213 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14899011 Country of ref document: EP Kind code of ref document: A1 |