WO2009093525A1 - 識別装置、識別方法及び識別処理プログラム - Google Patents

識別装置、識別方法及び識別処理プログラム Download PDF

Info

Publication number
WO2009093525A1
WO2009093525A1 PCT/JP2009/050529 JP2009050529W WO2009093525A1 WO 2009093525 A1 WO2009093525 A1 WO 2009093525A1 JP 2009050529 W JP2009050529 W JP 2009050529W WO 2009093525 A1 WO2009093525 A1 WO 2009093525A1
Authority
WO
WIPO (PCT)
Prior art keywords
classification
observation data
identification
pseudo
normal distribution
Prior art date
Application number
PCT/JP2009/050529
Other languages
English (en)
French (fr)
Inventor
Shogo Muramatsu
Hidenori Watanabe
Original Assignee
Niigata University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Niigata University filed Critical Niigata University
Priority to JP2009550502A priority Critical patent/JP5112454B2/ja
Priority to US12/811,006 priority patent/US8321368B2/en
Publication of WO2009093525A1 publication Critical patent/WO2009093525A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation

Definitions

  • the present invention relates to an identification device, an identification method, and an identification processing program, and is suitable for application to an identification device that identifies a predetermined target based on, for example, a Bayesian decision rule of a mixed normal distribution.
  • the identification target is identified according to the Bayesian decision rule, assuming a probability distribution model.
  • Patent Document 1 Japanese Patent Document 1
  • the Bayesian decision rule used here is a method in which classification (class) is given in advance and the class to which the observation data (feature vector) belongs is discriminated.
  • the occurrence probability of event B is expressed as P (B)
  • P (A)> 0 the following equation holds.
  • conditional probabilities P [C c 0
  • x] and P [C c 1
  • x] of each class c 0 , c 1 are compared, and a high probability Is selected as the class to which the observation data belongs. This selection minimizes the error rate.
  • x] is expressed by the following equation from the Bayes' theorem described above:
  • Equation 5 a conditional probability density function p (x
  • C) is modeled as a multi-dimensional (here, D-dimensional, for example) mixed normal distribution (multivariate mixed Gaussian distribution)
  • the D-dimensional mixed normal distribution is expressed as shown in Equation 5 below. Is done.
  • D is the number of variables
  • x is the observed data (feature vector)
  • is the D ⁇ 1 mean vector
  • is the D ⁇ D covariance matrix (covariance is how much the two data are related / linked The coefficient indicating whether or not there is).
  • ⁇ ) of the D-dimensional mixed normal distribution model is obtained by using the above equation 5.
  • Equation 6 ⁇ n ⁇ , ⁇ n ⁇ , ⁇ n ⁇ , N is the number of normal distributions, and ⁇ n is a mixing ratio.
  • the mixed normal distribution represented by Equation 6 can be approximated with an arbitrary accuracy by modeling a complex shape distribution by modeling with an appropriate number of mixtures.
  • ⁇ k, n ⁇ is a parameter set given to the class c k , and k is 0 or 1 indicating the class (classification).
  • variable locations are calculated as variable groups (z k , n (x)) based on the random variable vectors x of the plurality of observation data, and based on the parameters of the mixed normal distribution,
  • a constant part is calculated as a constant group K k , n (k is 1 or 0 indicating a classification, and n indicates a distribution number of a normal distribution assumed for each classification).
  • the present invention has been made in consideration of the above points, and an object thereof is to propose an identification device, an identification method, and an identification processing program that can significantly reduce the processing burden.
  • claim 1 of the present invention is an identification device that classifies the observation data based on a mixed normal distribution parameter on the assumption that the distribution of the observation data follows a mixed normal distribution.
  • a variable group z k , n obtained from each feature vector of data (k is 1 or 0 representing a classification, n represents a distribution number of a normal distribution assumed for each classification), and the mixed normal distribution parameter Using the constant group K k , n obtained from the group,
  • a cumulative addition unit that calculates the g k upper and the g k lower , and a comparison unit that classifies the observation data by g 1 upper ⁇ g 0 lower and g 0 upper ⁇ g 1 lower It is characterized by providing.
  • an identification method for classifying the observation data based on a mixed normal distribution parameter on the assumption that the distribution of the observation data follows a mixed normal distribution Variable group z k , n obtained based on vector (k is 1 or 0 representing classification, n represents distribution number of normal distribution assumed for each classification) and obtained mixed normal distribution parameter Using the constant group K k , n , the following equation
  • N k indicates the number of normal distributions of classification k
  • h k Is referred to as the h k, characterized in that h k multiplies the n lower, update the n lower comprising a refining process step of calculating the g k lower.
  • claim 7 of the present invention is an identification processing program for classifying the observation data based on a mixed normal distribution parameter on the assumption that the distribution of the observation data follows a mixed normal distribution, and each of the plurality of observation data Variable groups z k , n obtained based on feature vectors (k is 1 or 0 representing classification, n represents distribution number of normal distribution assumed for each classification) and obtained mixed normal distribution parameters Using the constant group K k , n
  • N k indicates the number of normal distributions of classification k
  • h k Is referred to as the h k, characterized in that h k multiplies the n lower, update the n lower comprising a refining process step of calculating the g k lower.
  • claim 9 of the present invention is that when the value of i is L, the following equation
  • the observation data is obtained from the magnitude relationship between g k upper and g k lower obtained by simple interval calculation. Since it can be identified, it is possible to avoid the calculation processing of a complex exponential function for calculating the occurrence probability value of the classification, and thus the processing load can be significantly reduced.
  • the accuracy of the comparison operation is improved step by step, and the unknown section is narrowed and simplified.
  • the observation data can be classified by the interval calculation, and thus it is possible to avoid the calculation process of the complex exponential function for calculating the occurrence probability value of the classification.
  • the identification device of claim 3 the identification method of claim 6, and the identification processing program of claim 9, the observation data is finally obtained even if the magnitudes of g k upper and g k lower are not clear. Can be reliably classified.
  • reference numeral 1 denotes an identification device according to the present invention, and it is assumed that the distribution of the observation data D1 follows a mixed normal distribution, and the observation data D1 is classified into 0 or 0 based on the mixed normal distribution parameters. It is possible to identify whether it is any of classification 1.
  • classification result is set to classification 0 or classification 1, here, this merely indicates a positive result that the identification target exists or a negative result that the identification target does not exist.
  • each pixel is either a background image (class 0) or a person (class 1).
  • the identification device 1 inputs image data obtained from the television camera to the feature extraction unit 2 as observation data D1.
  • the feature extraction unit 2 performs predetermined image processing, and includes, for example, a feature vector including coordinate axes (x, y) representing the position in the image plane for each pixel and various pieces of pixel information such as the luminance value and color of the pixel. D2 is calculated and sent to the secondary format calculation unit 3.
  • the identification device 1 classifies each pixel into a skin color (class 1) and a non-skin color (class 0) in order to identify a person from the background image.
  • the feature vector D2 includes coordinate data indicating the position of the pixel and data indicating each value of R (red), G (green), and B (blue) in the pixel represented by the coordinate data. .
  • the identification device 1 assumes that the distribution of the observation data D1 follows a mixed normal distribution, and converts the M-dimensional mixed normal distribution parameter group D3 including a plurality of components obtained from the pixel set distribution into a quadratic form.
  • the data is sent to the calculation unit 3 and the weight coefficient calculation unit 4.
  • the secondary form calculation unit 3 extracts only variables based on the feature vector D2 and the mixed normal distribution parameter group D3, calculates a variable group (z k , n ), and sends this to the identification unit 5.
  • the weighting factor calculation unit 4 extracts only constants based on the received mixed normal distribution parameter group D3, calculates a constant group (K k , n ), and sends it to the identification unit 5.
  • variable group (z k , n ) and the constant group (K k , n ) as shown in FIG. 2, the variable location ER1 is the variable group (z k , n ) And the constant part ER2 is calculated as a constant group (K k , n ).
  • the variable group (z k , n (x)) is represented, but since it is clear that it is a function of the variable x, hereinafter, for convenience of explanation, the variable group (z k , n ).
  • the identification unit 5 indicates the probability of becoming a classification 0 (hereinafter referred to as a classification 0 occurrence probability)
  • a lower limit value that is smaller than the classification 0 occurrence probability value and does not require calculation of an exponential function (hereinafter referred to as a classification 0 occurrence lower limit value).
  • an upper limit value that is larger than the classification 0 occurrence probability value and does not require calculation of an exponential function (hereinafter referred to as a classification 0 occurrence upper limit area).
  • the identification unit 5 indicates the probability of becoming a classification 1 (hereinafter referred to as a classification 1 occurrence probability)
  • the lower limit value that is smaller than the classification 1 occurrence probability value and does not require the calculation of the exponential function (hereinafter referred to as the classification 1 occurrence lower limit value) is executed without actually calculating the exponential function. )
  • an upper limit value that is larger than the classification 1 occurrence probability value and does not require calculation of an exponential function (hereinafter referred to as a classification 1 occurrence upper limit value).
  • K k and n are positive constants
  • z k and n are positive variables.
  • the identification unit 5 compares the classification 0 occurrence upper limit value and the classification 1 occurrence lower limit value, or compares the classification 1 occurrence upper limit value and the classification 0 occurrence lower limit value, thereby comparing the classification 0 occurrence probability value and the classification 1 occurrence value. It is determined which of the occurrence probability values is greater.
  • the observation data D1 is identified as the classification 0.
  • the classification 1 occurrence probability value is clearly larger than the classification 0 occurrence probability value
  • the observation data D1 is identified as the classification 1.
  • the identification unit 5 can calculate these classification 0 upper limit, classification 0 occurrence lower limit, class 1 occurrence upper limit, and class 1 occurrence lower limit that can be calculated by simple calculation without performing complicated calculation of the exponential function. Is used to identify whether the observation data D1 is either classification 0 or classification 1 with a simple interval calculation by comparing the magnitudes of the classification 0 occurrence probability value and the classification 1 occurrence probability value. It is made to be able to do.
  • the identification unit 5 when the magnitude of the classification 0 occurrence probability value and the classification 1 occurrence probability value is unknown, the identification unit 5 generates the classification 0 occurrence until the magnitude relationship between the classification 0 occurrence probability value and the classification 1 occurrence probability value becomes clear.
  • a simple interval calculation that does not calculate the exponential function by gradually narrowing the upper limit, the classification 0 occurrence lower limit, the classification 1 occurrence upper limit, and the classification 1 occurrence lower limit in steps.
  • the observation data D1 can be identified as to whether it is a classification 0 or a classification 1.
  • FIG. 3 shows a circuit configuration of the identification unit 5 that executes the identification process
  • FIG. 4 is a flowchart showing the identification process procedure.
  • the identification unit 5 sends the constant group (K k , n ) from the weight coefficient calculation unit 4 to the power-of-two multiplication unit 10.
  • k is 0 indicating classification 0 or 1 indicating classification 1
  • N 0 and N 1 are the number of normal distributions.
  • log 2 e used in the identification process in the identification unit 5 and the following equations 32 and 33 used in (2-2) refinement processing described later are calculated in advance. The result is recorded, and the burden of calculation processing is reduced.
  • i 0, 1,...
  • the identification unit 5 sends the variable group (z k , n ) from the secondary form calculation unit 3 to the multiplication unit 11 and multiplies the variable group (z k , n ) by the constant log 2 e.
  • the plurality of (z k , n log 2 e) obtained in this way are sent to the dividing unit 12.
  • the dividing unit 12 divides each (z k , n log 2 e) into an integer part and a decimal part, and the integer part is divided into an integer power group part (“z k , n log 2 e”). Send it out.
  • the decimal part obtained from Equation 34 of the following equation is used as a decimal part group ( ⁇ k , n ) for use in the refinement process described later, and the B [i] selection part 14 and the first part of the refinement process part 13. 1 is sent to each selection unit 15.
  • the symbol “” in the integer part group described above indicates an integer part.
  • the cumulative addition unit 17 cumulatively adds a plurality of h k , n upper calculated by sequentially changing k from 0 to n to 1..., N 0 according to the following expression 37, G 0 upper is calculated (step SP 2) and sent to the comparison unit 18.
  • the cumulative addition unit 17 cumulatively adds a plurality of h k , n upper calculated by sequentially changing k from 1 to n 1 to N 1 according to the above-described equation 37, and generating a classification 1
  • the upper limit g 1 upper is calculated (step SP 2), and this is sent to the comparison unit 18.
  • the cumulative addition unit 17 cumulatively adds a plurality of h k , n lower calculated by sequentially changing k from 1 to n 1 to N 1 by the above-described equation 38, and the lower limit of occurrence of classification 1 G 1 lower is calculated (step SP 2), and this is sent to the comparison unit 18.
  • the comparison unit 18 compares g 1 upper and g 0 lower , and determines whether or not g 1 upper ⁇ g 0 lower clearly from the numerical values as shown in FIG. 5A (step SP3). ). When the comparison unit 18 determines that g 1 upper ⁇ g 0 lower indicating that the classification 0 occurrence probability value is clearly larger than the classification 1 occurrence probability value, the comparison unit 18 determines that the classification is 0 (step SP4). The result is sent to a display unit (not shown).
  • the comparison unit 18 compares g 0 upper and g 1 lower to obtain the numerical values as shown in FIG. Clearly determines whether or not g 0 upper ⁇ g 1 lower (step SP5). If the comparison unit 18 determines that g 0 upper ⁇ g 1 lower indicating that the classification 1 occurrence probability value is clearly larger than the classification 0 occurrence probability value, the comparison unit 18 determines that the classification is 1 (step SP6). Send the result to the display.
  • the display unit can notify the user by displaying the determination result received from the comparison unit 18 via an image.
  • skin color identification for example, pixels of skin color (category 1) are set to white based on the result determined for each pixel as skin color (category 1) or non-skin color (category 0). ) Is black, and each pixel is color-coded for each of classification 0 and classification 1, so that an image identifying a background image and a person can be generated and notified to the user.
  • pixels that need to be refined which will be described later, are color-coded in gray, and the user can be notified that the refinement process has been performed, or that the basic identification process described above has not been performed.
  • the comparison unit 18 compares the numerical values of g 1 upper and g 0 lower or compares the numerical values of g 0 upper and g 1 lower by the basic identification processing described above. As shown in FIG. 6 (A), when these magnitude relationships cannot be determined, a reprocessing signal indicating the determination impossible result is sent to the refinement processing unit 13 so that the refinement process can be executed. Has been made.
  • the refinement processing unit 13 includes a storage unit 20 that stores a lookup table (LUT) in which the relationships such as Equations 32 and 33 described above are associated.
  • LUT lookup table
  • i is incremented by 1 when the magnitude relationship between g 1 upper and g 0 lower and g 0 upper and g 1 lower cannot be determined (when a negative result is obtained in step SP5).
  • the maximum value is set to L, it is first determined whether i is currently L (step SP7). When i has not yet reached L, i Is updated to i + 1 (step SP8).
  • the decimal part group calculated by the dividing unit 12 by the number 34 as described above (beta k, n)
  • the fractional portion group (beta k, n) decimal the i-position of the fractional part constituting the is 1 depending whether or, alternatively 0, respectively different individual processing for each fractional part, each h k updated by performing these different processes, n lower and h k, with n upper, the cumulative addition unit 17 g k upper and g k lower are calculated.
  • decimal part when the i-th decimal place is 1 (hereinafter, simply referred to as “1 decimal part”) and the decimal part when the i-th decimal place is 0 (hereinafter, this is simply referred to as “0 decimal number”).
  • 1 decimal part the decimal part when the i-th decimal place is 1
  • 0 decimal number the decimal part when the i-th decimal place is 0
  • the B [i] selection unit 14 of the refinement processing unit 13 calculates the decimal number calculated by the dividing unit 12 using the above-described Expression 34. For each decimal part of the group ( ⁇ k , n ), it is individually determined whether or not the i-th place after the decimal point is 1 (step SP9).
  • B [i] selection unit 14 determines that one decimal part exists in the decimal part group ( ⁇ k , n )
  • B [i] is read from the storage unit 20 when the one decimal part is processed. To the multiplication unit 21.
  • the upper and lower limit value dividing unit 22 of the refinement processing unit 13 corresponds to the corresponding h k , n lower (hereinafter referred to as one corresponding h k , n) calculated by the integer part of the variable for which the one decimal part is obtained. and referred to as lower), also the corresponding h k calculated by the integer part of the variable this one decimal part obtained, n upper (hereinafter, from 1 correspondence h k, called the n upper) and the selector 16 receive.
  • the upper and lower limit value dividing unit 22 divides the one corresponding h k and n lower and the one corresponding h k and n upper and sends the one corresponding h k and n upper to the first selecting unit 15 and the second selecting unit 23. At the same time, 1 correspondence h k , n lower is also sent to the first selection unit 15 and the second selection unit 23.
  • the first selection unit 15 recognizes that the currently processed decimal part is one decimal part based on the decimal part group ( ⁇ k , n ) received from the dividing part 12, and 1 correspondence h k , n upper is selected and sent to the multiplier 21, and 1-corresponding h k , n lower is discarded.
  • the first selection unit 15 sends a selection signal to the second selection unit 23 so as to select one corresponding h k , n lower .
  • the second selection unit 23 selects one corresponding h k , n lower and sends it to the update value generation unit 25 to discard the one corresponding h k , n upper .
  • the multiplication unit 21 multiplies 1 corresponding h k and n upper by B [i], updates only 1 corresponding h k and n upper (step SP10), and obtains 1 corresponding h k and n upper B obtained as a result. [i] (hereinafter referred to as update h k , n upper ) is sent to the update value generation unit 25.
  • Updating value generator 25 updates h k, receives the n upper, update h k, and n upper and 1 corresponding h k, and n lower pair, and sends to the cumulative addition unit 17 via the selector 16 .
  • the upper and lower limit value dividing unit 22 of the refinement processing unit 13 corresponds to h k , n lower (hereinafter referred to as 0 corresponding h k , n) calculated by the integer part of the variable from which the 0 decimal part is obtained. and referred to as lower), also the corresponding h k the 0 fractional part calculated by the integer part of a variable obtained, n upper (hereinafter, from 0 corresponding h k, called the n upper) and the selector 16 receive.
  • the upper / lower limit value dividing unit 22 divides these 0 corresponding h k and n lower and 0 corresponding h k and n upper and sends the 0 corresponding h k and n lower to the first selecting unit 15 and the second selecting unit 23. At the same time, 0 corresponding h k , n upper is also sent to the first selection unit 15 and the second selection unit 23.
  • the first selection unit 15 recognizes that the currently processed decimal part is a 0 decimal part based on the decimal part group ( ⁇ k , n ) received from the upper and lower limit value dividing part 22, The 0 corresponding h k and n lower are selected and sent to the multiplication unit 21 and the 0 corresponding h k and n upper are discarded.
  • the first selection unit 15 sends a selection signal to the second selection unit 23 so as to select 0 corresponding h k , n upper .
  • the second selection unit 23 selects 0 corresponding h k , n upper and sends it to the update value generation unit 25, and discards the 0 corresponding h k , n lower .
  • the multiplication unit 21 multiplies the corresponding h k , n lower by B [i] ⁇ 1 and updates only h k , n lower (step SP11), and the 0 corresponding h k , n lower B [ i] ⁇ 1 (hereinafter referred to as update h k , n lower ) is sent to the update value generation unit 25.
  • the update value generation unit 25 When the update value generation unit 25 receives the update h k , n lower , the update h k , n lower and the 0 corresponding h k , n upper are paired and sent to the accumulation addition unit 17 via the selection unit 16. To do.
  • the cumulative addition unit 17 again calculates g k upper by performing cumulative addition according to the above equation 37 including the updated h k , n upper and 0 corresponding h k , n upper. (Step SP 2), the updated g k upper is sent to the comparison unit 18.
  • the cumulative addition unit 17 again calculates g k lower by performing cumulative addition according to the above-described equation 38 including the updated h k , n lower and 1-corresponding h k , n lower (step SP2). g k lower is sent to the comparison unit 18.
  • the comparison unit 18 compares the updated g k upper and the updated g k lower , and determines from the numerical values whether or not g 1 upper ⁇ g 0 lower is apparent (step SP3). If the comparison unit can determine that g 1 upper ⁇ g 0 lower by narrowing the section, the comparison unit determines classification 0 (step SP4), and sends the determination result to the display unit.
  • the comparison unit 18 compares g 0 upper and g 1 lower and clearly shows g 0 upper ⁇ g 1 lower from the numerical value. Is determined (step SP5). As shown in FIG. 5B, the comparison unit determines that it is possible to determine that g 0 upper ⁇ g 1 lower by narrowing the section (step SP6), and the determination result is displayed on the display unit. To send.
  • the refinement processing unit 13 compares the numerical values of g 1 upper and g 0 lower , or compares the numerical values of g 0 upper and g 1 lower to determine the magnitude relationship between these values. Is updated to i + 1, the refinement process is executed again, and the above-described process is repeated.
  • the refinement processing unit 13 updates the value of i to i + 1 until the magnitude relationship between the numerical values of g 1 upper and g 0 lower or the numerical values of g 0 upper and g 1 lower can be determined.
  • the above-described processing is repeated up to L which is the maximum value of.
  • the refinement processing unit 13 updates the value of i to i + 1 and repeats the above-described processing up to L, which is the maximum value, but the numerical values of g 1 upper and g 0 lower or g 0 upper and g
  • the section average determination unit 27 can execute section average processing described later so that it can be finally determined whether it is either classification 1 or classification 0. Has been made.
  • the section average determination unit 27 calculates g 0 pseudo , which is an updated section average when k is 0, and g 1 pseudo , which is an updated section average when k is 1, by the following equation: 39 (step SP12).
  • the section average determination unit 27 determines the magnitude relationship between g 1 pseudo and g 0 pseudo (step SP13), and determines g 1 pseudo ⁇ g 0 pseudo (class SP 0). On the other hand, when determining that the magnitude relationship of g 1 pseudo ⁇ g 0 pseudo does not hold, the section average determination unit 27 determines g 0 pseudo ⁇ g 1 pseudo and determines the observation data D1 as classification 1 (step SP15). To do. In this way, the section average determination unit 27 determines whether the observation data D1 is classified into classification 0 or classification 1, and sends the determination result to the display unit to notify the user via the display unit. It is made to be able to do.
  • the identification device 1, and the multiplication processing that multiplies the variable group (z k, n) to a constant log 2 e, a n 1 ..., sequentially changing a plurality of h to N k k , n upper and h k , n lower are multiplied by 2, and a plurality of h k , n upper and h k , n lower are cumulatively added to obtain g k upper and g k lower , respectively.
  • the process was executed.
  • the identification device 1 does not execute the calculation processing of an accurate exponential function as in the past, but from the magnitude relationship between g k upper and g k lower expressed on a binary integer ⁇ sandwiching the true value.
  • the magnitude relationship between the classification 0 occurrence probability value and the classification 1 occurrence probability value it is possible to identify whether the observation data D1 is the classification 0 or the classification 1 by a simple interval calculation. It is possible to avoid the calculation processing of an exponential function having a complicated and large processing load of the occurrence probability value and the classification 1 occurrence probability value, and the processing load can be significantly reduced.
  • the identification device 1 can determine at high speed whether the observation data D1 is in the classification 0 or the classification 1 by the amount that the calculation cost of the exponential function can be reduced in this way.
  • the identification device 1 can identify whether the observation data D1 is either the classification 0 or the classification 1 by a simple interval calculation by improving the accuracy of the comparison operation step by step, narrowing the interval that becomes unknown, Thus, it is possible to avoid the calculation processing of the exponential function having a complicated and heavy processing load of the classification 0 occurrence probability value and the classification 1 occurrence probability value.
  • the identification device 1 if the magnitudes of g k upper and g k lower are not clear even if the refinement process is repeated until i reaches the maximum value L, g 0 pseudo and g 1 which are interval averages are not obtained.
  • the observation data D1 is finally obtained. Either classification 0 or classification 1 can be determined with certainty.
  • white indicates a skin color
  • black indicates a non-skin color
  • gray indicates an undetermined region.
  • the percentage of completion of the determination only by the basic identification process was 99.692% in the case of 2 mixing, 99.617% in the case of 3 mixing, and 99.613% in the case of 4 mixing. As described above, none of the operations required an exponential function in an area of 99% or more.
  • step SP3 and step SP5 After determining whether or not 1 lower (step SP5), it may be determined whether or not g 1 upper ⁇ g 0 lower (step SP3).
  • the identification device 1 is generally used for devices that require a function of automatically identifying an object based on observation data acquired by a sensor, such as medical / welfare equipment, disaster prevention / monitoring equipment, and automobile / industrial equipment. it can.
  • the wireless sensor network is used to construct a network by innumerable small devices called sensor nodes equipped with sensors, signal processing functions, pattern recognition functions, wireless communication functions, batteries (or independent power generation devices). Can be expected.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Complex Calculations (AREA)
  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

処理負担を格段的に低減し得る識別装置、識別方法及び識別処理プログラムを提案する。 識別装置1では、gkupper及びgklowerの大小関係から、分類0発生確率値と分類1発生確率値との大小比較を判断することができるので、簡便な区間計算で観測データD1が分類0又は分類1のいずれかであるかを識別でき、かくして、分類0発生確率値及び分類1発生確率値の複雑で処理負担が大きい指数関数の計算処理を回避でき、処理負担を格段的に低減し得る。

Description

識別装置、識別方法及び識別処理プログラム
 本発明は、識別装置、識別方法及び識別処理プログラムに関し、例えば、混合正規分布のベイズ決定則に基づいて、所定対象を識別する識別装置に適用して好適なものである。
 近年、識別対象をセンサが感知し、当該センサから得られた観測データを基に識別対象がどのようなものかを識別する手法として、確率分布モデルを仮定し、ベイズ決定則に従って識別対象を識別する手法が知られている(例えば、特許文献1参照)。
 ここで、観測データがそれぞれ単一の正規分布に従うという仮定の下では、ある定数K倍の指数関数Kexp(-z)同士を比較することでパターンを識別できる。この実現は対数を取った(lnK-z)の比較に帰着できるので、識別装置による指数関数の計算は必要ない。なお、lnKは定数である。
 ここで、単一正規分布は、多峰性の分布に従うデータには適しておらず、利用できる問題が制限されるという欠点があるものの、かかる多峰性分布の問題は、正規分布の重み付け和である次式
Figure JPOXMLDOC01-appb-M000022
 
に示す混合正規分布の導入により改善することができる。
特開2005-267570号公報
 しかしながら、混合正規分布同士の比較は、対数を取っても指数関数を省くことができないため、演算量が増大してしまう。以下、この点について具体的に説明する。
 先ず始めにここで利用されるベイズ決定則とは、予め分類(クラス)を与えておき、観測データ(特徴ベクトル)が属するクラスを判別する方法である。ベイズ決定則に用いられるベイズの定理では、例えば事象Bの発生確率がP(B)と表され、事象Aがおきた後での事象Bの発生確率がP(B|A)と表され、P(A)>0ならば、以下の式が成り立つ。
Figure JPOXMLDOC01-appb-M000023
 
 ベイズ決定則では、観測データが与えられると、例えば各クラスc0,c1の条件付確率P[C=c0|x]とP[C=c1|x]とを比較し、高い確率を与えるクラスを観測データの属するクラスとして選択する。この選択は誤り率を最小とする。条件付確率P[C|x]は、上述したベイズの定理から以下の式、
Figure JPOXMLDOC01-appb-M000024
 
で表すことができる。このようにベイズ決定則では、p(x|c)とP[c]とにより下記のような、
Figure JPOXMLDOC01-appb-M000025
 
で表される判別式の評価によって行われる。すなわち、g(x)>0ならばクラスc1と判定でき、g(x)<0ならばクラスc0と判定できる。
 ここで上述した数4の判別式を利用するためには、条件付確率密度関数p(x|C)が予め必要となる。例えばp(x|C)が多次元(ここでは例えばD次元)混合正規分布(多変量混合ガウス分布)としてモデル化される場合には、D次元混合正規分布について下記の数5のように表される。
Figure JPOXMLDOC01-appb-M000026
 
 ここで、Dは変量の数、xは観測データ(特徴ベクトル)、μはD×1平均ベクトル、ΣはD×D共分散行列(共分散とは2つのデータがどれだけ関連性・連動性があるかを示す係数)を表す。
 D次元混合正規分布モデルの確率密度関数M(x|Θ)は、上述した数5を用いて、
Figure JPOXMLDOC01-appb-M000027
 
と表される。ここで、Θはパラメータの集合であり、Θ={{αn}, {μn}, {Σn}}、Nは正規分布の混合数、αnは混合比を表す。このような数6に示す混合正規分布は、適切な混合数でモデル化することにより、複雑な形状の分布を任意の精度で近似できる。
 そして、クラスcが与えられたときの確率変数ベクトルxの条件付確率密度p(x|C)が、上述した数6に示す多変量混合正規分布モデルに従うと仮定すると、上述した数4の判別式は、
Figure JPOXMLDOC01-appb-M000028
 
Figure JPOXMLDOC01-appb-M000029
 
と表される。因みに{αk,n}は、クラスckに対して与えられるパラメータ集合であり、kはクラス(分類)を示す0又は1である。ここで、上述した数8では、複数の観測データの各確率変数ベクトルxを基に、変数箇所が変数群(z(x))として算出され、混合正規分布のパラメータを基に、定数箇所が定数群Kとして算出される(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)。
 従って、従来においては、上述したようなg(x)>0又はg(x)<0に基づいて、クラスc1又はクラスc0の判定を決定する場合、上述した数8に示したような複雑で処理負担の大きい指数関数の計算処理を正確に実行する必要がある。
 そして、このような演算量の増大は、高速性や低消費電力が要求されるシステムへの応用の妨げとなるため、かかる識別装置での処理負担を軽減することが望まれている。
 ところで、指数関数の効果的な演算方法としては、関数電卓でも利用されるCORDICアルゴリズムが知られているが、このCORDICアルゴリズムを利用しても無駄な演算が生じてしまい、高速な識別の妨げとなってしまうという問題がある。
 本発明は以上の点を考慮してなされたもので、処理負担を格段的に低減し得る識別装置、識別方法及び識別処理プログラムを提案することを目的とする。
 かかる課題を解決するため本発明の請求項1は、観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別装置であって、複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
Figure JPOXMLDOC01-appb-M000030
 
(「zloge」はzlogeの整数部である)
Figure JPOXMLDOC01-appb-M000031
 
を計算する2のべき乗倍部と、
 前記h upperと前記h lowerとを用いて、次式
Figure JPOXMLDOC01-appb-M000032
 
Figure JPOXMLDOC01-appb-M000033
 
(Nは分類kの正規分布の混合数を示す)
を計算する累積加算部と、前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較部とを備えることを特徴とする。
 また、本発明の請求項2は、次式
Figure JPOXMLDOC01-appb-M000034
 
Figure JPOXMLDOC01-appb-M000035
 
(iは0,1…,L、ここでLは任意に設定した正の整数)
を記憶した記憶部を備え、前記g upper及び前記g lowerを比較して大小関係を判定できないとき、iの値をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、前記小数点以下第i位が1のとき、前記数13のB[i]を前記h upperに乗算しh upperを更新して前記g upperを計算し、前記小数点以下第i位が0のとき、前記数14のB[i]-1を前記h lowerに乗算しh lowerを更新して前記g lowerを計算することを特徴とする。
 また、本発明の請求項3は、前記iの値が前記Lのときには、次式
Figure JPOXMLDOC01-appb-M000036
 
を計算し、
 g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理部を備えることを特徴とする。
 また、本発明の請求項4は、観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別方法であって、複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
Figure JPOXMLDOC01-appb-M000037
 
(「zloge」はzlogeの整数部である)
Figure JPOXMLDOC01-appb-M000038
 
を計算する2のべき乗倍ステップと、前記2のべき乗倍ステップで算出した前記h upperと前記h lowerとを用いて、次式
Figure JPOXMLDOC01-appb-M000039
 
Figure JPOXMLDOC01-appb-M000040
 
(Nは分類kの正規分布の混合数を示す)
を計算する累積加算ステップと、前記累積加算ステップによって算出した前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較ステップとを備えることを特徴とする。
 また、本発明の請求項5は、前記g upper及び前記g lowerを比較して大小関係を判定できないとき、iの値をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、前記小数点以下第i位が1のとき、次式
Figure JPOXMLDOC01-appb-M000041
 
(iは0,1…,L、ここでLは任意に設定した正の整数)
を前記h upperに乗算しh upperを更新して前記g upperを計算し、前記小数点以下第i位が0のとき、次式
Figure JPOXMLDOC01-appb-M000042
 
を前記h lowerに乗算しh lowerを更新して前記g lowerを計算する洗練化処理ステップを備えることを特徴とする。
 また、本発明の請求項6は、前記iの値が前記Lのときには、次式
Figure JPOXMLDOC01-appb-M000043
 
を計算し、
 g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理ステップを備えることを特徴とする。
 また、本発明の請求項7は、観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別処理プログラムであって、複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
Figure JPOXMLDOC01-appb-M000044
 
(「zloge」はzlogeの整数部である)
Figure JPOXMLDOC01-appb-M000045
 
を計算する2のべき乗倍ステップと、前記2のべき乗倍ステップで算出した前記h upperと前記h lowerとを用いて、次式
Figure JPOXMLDOC01-appb-M000046
 
Figure JPOXMLDOC01-appb-M000047
 
(Nは分類kの正規分布の混合数を示す)
を計算する累積加算ステップと、前記累積加算ステップによって算出した前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較ステップとをコンピュータに実行させることを特徴とする。
 また、本発明の請求項8は、前記g upper及び前記g lowerを比較して大小関係を判定できないとき、iの値をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、
 前記小数点以下第i位が1のとき、次式
Figure JPOXMLDOC01-appb-M000048
 
(iは0,1…,L、ここでLは任意に設定した正の整数)
を前記h upperに乗算しh upperを更新して前記g upperを計算し、前記小数点以下第i位が0のとき、次式
Figure JPOXMLDOC01-appb-M000049
 
を前記h lowerに乗算しh lowerを更新して前記g lowerを計算する洗練化処理ステップを備えることを特徴とする。
 また、本発明の請求項9は、前記iの値が前記Lのときには、次式
Figure JPOXMLDOC01-appb-M000050
 
を計算し、
 g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理ステップを備えることを特徴とする。
 本発明の請求項1の識別装置、請求項3の識別方法及び請求項7の識別処理プログラムによれば、簡便な区間計算で得られたg upper及びg lowerの大小関係から観測データを識別できるので、分類の発生確率値を算出するための複雑な指数関数の計算処理を回避でき、かくして、処理負担を格段的に低減し得る。
 また、本発明の請求項2の識別装置、請求項4の識別方法及び請求項8の識別処理プログラムによれば、段階的に比較演算の精度を向上させ、不明となる区間を狭めて簡便な区間計算で観測データの分類を行うことができ、かくして、分類の発生確率値を算出する複雑な指数関数の計算処理を回避できる。
 また、本発明の請求項3の識別装置、請求項6の識別方法及び請求項9の識別処理プログラムによれば、g upper及びg lowerの大小が明らかでなくとも、最終的に観測データの分類を確実に行うことができる。
本発明による識別装置の回路構成を示すブロック図である。 変数群(z)及び定数群(K)の説明に供する概略図である。 識別部の回路構成を示すブロック図である。 識別処理手順を示すフローチャートである。 upper及びg lowerの大きさが明らかな場合の概略図である。 upper及びg lowerの大きさが明らかでない場合に、洗練化処理をしたg upper及びg lowerを示す概略図である。 観測データたる画像と、画像内の肌色識別を行った識別結果とを示す写真である。
 以下図面に基づいて本発明の実施の形態を詳述する。
 (1)識別装置の全体構成
 図1において、1は本発明による識別装置を示し、観測データD1の分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に観測データD1を分類0又は分類1のいずれかであるかを識別し得るものである。
 なお、ここで識別結果としては、分類0又は分類1としたが、これは単に識別対象が存在するとの肯定結果や、識別対象が存在しないとの否定結果を示すに過ぎないものである。
 具体的に説明すると、例えばテレビジヨンカメラで撮像された画像中に目標物体が存在するか否か、すなわち各画素が背景画像(分類0とする)又は人(分類1とする)のいずれかに属するか否かを識別させるとした場合、識別装置1は、テレビジョンカメラから得た画像データが観測データD1として特徴抽出部2に入力される。
 特徴抽出部2は、所定の画像処理を施し、例えば各画素毎の画像平面内の位置を表す座標軸(x,y)と、当該画素の輝度値や色等の各種画素情報とからなる特徴ベクトルD2を算出し、これを二次形式演算部3へ送出する。
 肌色識別への応用例では、識別装置1が背景画像の中から人を識別するために、各画素を肌色(分類1)と非肌色(分類0)とに分類する。この場合、特徴ベクトルD2は、画素の位置を示す座標データと、当該座標データで表した画素におけるR(赤)、G(緑)及びB(青)の各値を示すデータとから構成される。
 このとき、この識別装置1は、観測データD1の分布が混合正規分布に従うと仮定し、画素集合の分布から得られた複数個の成分からなるM次元の混合正規分布パラメータ群D3を二次形式演算部3及び重み係数演算部4へ送出する。
 二次形式演算部3は、特徴ベクトルD2及び混合正規分布パラメータ群D3に基づいて変数のみを抜き出して変数群(z)を算出し、これを識別部5へ送出する。一方、このとき重み係数演算部4は、受け取った混合正規分布パラメータ群D3を基に定数のみを抜き出して定数群(K)を算出し、これを識別部5へ送出する。
 具体的に変数群(z)及び定数群(K)としては、図2に示すように、上述した従来における数8のうち、変数箇所ER1が変数群(z)として算出され、定数箇所ER2が定数群(K)として算出される。なお、図2においては、変数群(z(x))と表してあるが、変数xの関数であることが明らかなため、以下、説明の便宜上、単に変数群(z)とする。
 ここで、識別部5は、分類0となる確率(以下、これを分類0発生確率と呼ぶ)を示す次式
Figure JPOXMLDOC01-appb-M000051
 
の指数関数を実際に計算することなく、所定の識別処理を実行して、分類0発生確率値よりも小さく指数関数の計算を必要としない下限値(以下、これを分類0発生下限値と呼ぶ)と、分類0発生確率値よりも大きく指数関数の計算を必要としない上限値(以下、これを分類0発生上限地と呼ぶ)とを算出する。
 また、識別部5は、分類1となる確率(以下、これを分類1発生確率と呼ぶ)を示す次式
Figure JPOXMLDOC01-appb-M000052
 
の指数関数を実際に計算することなく、所定の識別処理を実行して、分類1発生確率値よりも小さく指数関数の計算を必要としない下限値(以下、これを分類1発生下限値と呼ぶ)と、分類1発生確率値よりも大きく指数関数の計算を必要としない上限値(以下、これを分類1発生上限値と呼ぶ)とを算出する。なお、Kは正の定数であり、zは正の変数である。
 そして、識別部5は、分類0発生上限値と分類1発生下限値とを比較し、或いは分類1発生上限値と分類0発生下限値とを比較することにより、分類0発生確率値と分類1発生確率値とのいずれが大きいか判断する。
 その結果、分類0発生確率値が分類1発生確率値よりも明らかに大きいときには、観測データD1が分類0であると識別する。一方、分類1発生確率値が分類0発生確率値よりも明らかに大きいときには、観測データD1が分類1であると識別する。
 かくして、識別部5は、指数関数の複雑な計算を行わずに簡単な計算で算出できるこれら分類0発生上限値と、分類0発生下限値と、分類1発生上限値と、分類1発生下限値とを用いて、分類0発生確率値と分類1発生確率値との大小比較を行うようにしたことで、簡便な区間計算で観測データD1が分類0又は分類1のいずれかであるかを識別し得るようになされている。
 また、識別部5は、分類0発生確率値と分類1発生確率値との大小が不明なときには、分類0発生確率値と分類1発生確率値との大小関係が明らかになるまで、分類0発生上限値と、分類0発生下限値と、分類1発生上限値と、分類1発生下限値とを段階的に狭めて比較精度を洗練してゆき、指数関数の計算を行わない簡便な区間計算で観測データD1が分類0又は分類1のいずれかであるかを識別し得るようになされている。
 (2)識別部の回路構成
(2-1)基本識別処理
 ここで識別部5により実行される識別処理は、基本識別処理と洗練化処理とがあり、先ず始めに、図3及び図4を用いて識別処理のうち基本識別処理について以下説明する。
 図3は、識別処理を実行する識別部5の回路構成を示すものであり、図4は識別処理手順を示すフローチャートである。
 識別部5は、重み係数演算部4からの定数群(K)を2のべき乗倍部10に送出する。ここで、この実施の形態の場合、kは分類0を示す0、或いは分類1を示す1とし、nは、n=1…,N(すなわち、nは、k=0のときn=1…,N、k=1のときn=1…,N)とする。なお、N及びNは正規分布の混合数である。
 また、この実施の形態の場合、識別部5において識別処理の過程で用いられるlogeや、後述する(2-2)洗練化処理で用いる次式の数32及び数33は予め計算されて、その結果が記録されており、計算処理の負担軽減が図られている。
Figure JPOXMLDOC01-appb-M000053
 
Figure JPOXMLDOC01-appb-M000054
 
 なお、iの最大値は予め任意の数値が設定されており、この実施の形態の場合は、i=0,1,…,Lである。
 実際上、この識別部5は、二次形式演算部3からの変数群(z)を乗算部11へ送出して、変数群(z)に定数logeを乗算し、これにより得られた複数の(zloge)を分割部12へ送出する。
 分割部12は、各(zloge)を整数部分と小数部分とに分割し、これら整数部分を整数部群(「zloge」)として2べき乗倍部に送出する。なお、次式の数34から得た小数部分は、後述する洗練化処理の際に用いるために小数部群(β)として洗練化処理部13のB[i]選択部14及び第1選択部15へそれぞれ送出する。なお、上述した整数部群の「」の記号は整数部分であることを示すものである。
Figure JPOXMLDOC01-appb-M000055
 
 2べきの乗倍部10は、定数群(K)と整数部群(「zloge」)とを用い、kが0のときのn=1…,N全てについて次式の数35及び数36からh upperとh lowerとをそれぞれ算出し(ステップSP1)、これらnを1…,Nまで順次変えて算出した複数のh upperとh lowerとを選択部16を介して累積加算部17へ送出する。
Figure JPOXMLDOC01-appb-M000056
 
Figure JPOXMLDOC01-appb-M000057
 
 また、2べきの乗倍部10は、定数群(K)と整数部群(「zloge」)とを用い、kが1のときのn=1…,N全てについて上述した数35及び数36からh upperとh lowerとをそれぞれ算出し(ステップSP1)、これらnを1…,Nまで順次変えて算出した複数のh upperとh lowerとを選択部16を介して累積加算部17へ送出する。
 累積加算部17は、kを0としてnを1…,Nまで順次変えて算出した複数のh upperを、次式の数37によって累積加算してゆき、分類0発生上限値となるg upperを算出し(ステップSP2)、これを比較部18に送出する。
 
 また、累積加算部17は、kを0としてnを1…,Nまで順次変えて算出した複数のh lowerを、次式の数38によって累積加算してゆき、分類0発生下限値となるg lowerを算出し(ステップSP2)、これを比較部18に送出する。
Figure JPOXMLDOC01-appb-M000059
 
 同様にして、累積加算部17は、kを1としてnを1…,Nまで順次変えて算出した複数のh upperを、上述した数37によって累積加算してゆき、分類1発生上限値となるg upperを算出し(ステップSP2)、これを比較部18に送出する。また、累積加算部17は、kを1としてnを1…,Nまで順次変えて算出した複数のh lowerを、上述した数38によって累積加算してゆき、分類1発生下限値となるg lowerを算出し(ステップSP2)、これを比較部18に送出する。
 比較部18は、g upper及びg lowerを比較して、図5(A)に示すように、その数値から明らかにg upper≦g lowerであるか否かを判断する(ステップSP3)。そして、比較部18は、分類0発生確率値が分類1発生確率値よりも明らかに大きいことを示すg upper≦g lowerであると判断すると分類0と判定し(ステップSP4)、その判定結果を表示部(図示せず)に送出する。
 これに対して比較部18は、数値から明らかにg upper≦g lowerではないと判断すると、g upper及びg lowerを比較して、図5(B)に示すように、その数値から明らかにg upper≦g lowerであるか否かを判断する(ステップSP5)。そして、比較部18は、分類1発生確率値が分類0発生確率値よりも明らかに大きいことを示すg upper≦g lowerであると判断すると分類1と判定し(ステップSP6)、その判定結果を表示部に送出する。
 かくして、表示部は、比較部18から受け取った判定結果を画像を介して表示する等することによりユーザに通知し得る。肌色識別への応用例では、各画素毎に肌色(分類1)又は非肌色(分類0)に判定された結果を基に、例えば肌色(分類1)の画素を白色とし、非肌色(分類0)の画素を黒色として分類0及び分類1毎に各画素を色分けすることにより、背景画像と人とを識別した画像を生成してユーザに通知し得るようになされている。なお、後述する洗練化処理が必要な画素については、灰色に色分けされ、ユーザに対して洗練化処理が実行されたこと、或いは上述した基本識別処理が実行されていないことが通知され得る。
 (2-2)洗練化処理
 ここで、比較部18は、上述した基本識別処理によって、g upper及びg lowerの数値を比較し、或いはg upper及びg lowerの数値を比較し、図6(A)に示すように、これらの大小関係を判定できなかったときには、その判定不可結果を示す再処理信号を洗練化処理部13に送出して、洗練化処理を実行し得るようになされている。
 ここで洗練化処理部13は、上述した数32及び数33のような関係が対応付けているルックアップテーブル(Lookup table;LUT)を記憶した記憶部20を備えており、比較部18から再処理信号D5を受け取ると、iの値をi+1に更新する。
 ここで実際上、iは、g upper及びg lowerと、g upper及びg lowerの大小関係を判定できなかったとき(ステップSP5で否定結果が得たとき)、1ずつ加算されてゆくが、その最大値がLに設定されていることから、先ず始めに現時点でiがLであるか否かを判断し(ステップSP7)、iが未だLに到達していないときに、iの値をi+1に更新する(ステップSP8)。
 ここで、上述した数34により分割部12で算出された小数部群(β)について、小数部群(β)を構成する各小数部の小数点以下第i位が1であるか、或いは0であるかによって、各小数部に対するそれぞれ個別の処理が異なり、これら異なる処理を行って更新した各h lower及びh upperを用いて、累積加算部17においてg upper及びg lowerを算出するようになされている。
 以下、小数点以下第i位が1のときの小数部(以下、これを単に1小数部と呼ぶ)に対する処理と、小数点以下第i位が0のときの小数部(以下、これを単に0小数部と呼ぶ)に対する処理について、分けて説明する。
 (2-2-1)小数部の小数点以下第i位が1の場合
 ここで、洗練化処理部13のB[i]選択部14は、上述した数34により分割部12で算出された小数部群(β)の各小数部について、それぞれ個別に小数点以下第i位が1であるか否かを判断する(ステップSP9)。ここで、B[i]選択部14は、小数部群(β)のうち、1小数部が存在すると判断すると、その1小数部の処理時に記憶部20からB[i]を読み出して乗算部21へ送出する。
 このとき、洗練化処理部13の上下限値分割部22は、この1小数部が求められた変数の整数部により算出した対応するh lower(以下、これを1対応h lowerと呼ぶ)と、同じくこの1小数部が求められた変数の整数部により算出した対応するh upper(以下、これを1対応h upperと呼ぶ)とを選択部16から受け取る。
 上下限値分割部22は、これら1対応h lower及び1対応h upperを分割して、1対応h upperを第1選択部15及び第2選択部23に送出すると共に、1対応h lowerも第1選択部15及び第2選択部23へ送出する。
 ここで、第1選択部15は、分割部12から受け取った小数部群(β)を基に、現在処理されている小数部が1小数部であることを認識し、1対応h upperを選択して乗算部21に送出すると共に、1対応h lowerを破棄する。
 また、この際、第1選択部15は、第2選択部23に対して1対応h lowerを選択するように選択信号を送出する。これにより第2選択部23は、1対応h lowerを選択してこれを更新値生成部25に送出し、1対応h upperを破棄する。
 乗算部21は、1対応h upperにB[i]を乗算し、1対応h upperのみを更新し(ステップSP10)、この結果得られた1対応h upperB[i](以下、これを更新h upperと呼ぶ)を更新値生成部25に送出する。
 更新値生成部25は、更新h upperを受け取ると、更新h upperと1対応h lowerとを対とし、選択部16を経由して累積加算部17へ送出する。
 (2-2-2)小数部の小数点以下第i位が0の場合
 一方、B[i]選択部14は、小数部群(β)のうち、0小数部が存在すると判断すると、その0小数部の処理時にB[i]-1を乗算部21へ送出する。
 このとき、洗練化処理部13の上下限値分割部22は、この0小数部が求められた変数の整数部により算出した対応するh lower(以下、これを0対応h lowerと呼ぶ)と、同じくこの0小数部が求められた変数の整数部により算出した対応するh upper(以下、これを0対応h upperと呼ぶ)とを選択部16から受け取る。
 上下限値分割部22は、これら0対応h lower及び0対応h upperを分割して、0対応h lowerを第1選択部15及び第2選択部23に送出すると共に、0対応h upperも第1選択部15及び第2選択部23に送出する。
 ここで、第1選択部15は、上下限値分割部22から受け取った小数部群(β)を基に、現在処理されている小数部が0小数部であることを認識し、0対応h lowerを選択して乗算部21に送出すると共に、0対応h upperを破棄する。
 また、この際、第1選択部15は、第2選択部23に対して0対応h upperを選択するように選択信号を送出する。これにより第2選択部23は、0対応h upperを選択してこれを更新値生成部25に送出し、0対応h lowerを破棄する。
 乗算部21は、対応h lowerにB[i]-1を乗算し、h lowerのみを更新し(ステップSP11)、この結果得られた0対応h lowerB[i]-1(以下、これを更新h lowerと呼ぶ)を更新値生成部25に送出する。
 更新値生成部25は、更新h lowerを受け取ると、この更新h lowerと0対応h upperとを対とし、選択部16を経由して累積加算部17へ送出する。
 (2-2-3)累積換算処理
 累積加算部17は、更新h upper及び0対応h upperも含めて、上述した数37によって累積加算してg upperを再び算出し(ステップSP2)、この更新したg upperを比較部18に送出する。
 また、累積加算部17は、更新h lower及び1対応h lowerも含めて、上述した数38によって累積加算してg lowerを再び算出し(ステップSP2)、この更新したg lowerを比較部18に送出する。
 比較部18は、更新したg upper及び更新したg lowerを比較して、その数値から明らかにg upper≦g lowerであるか否かを判断する(ステップSP3)。比較部は、区間を狭めたことで、g upper≦g lowerであると判断できると分類0と判定し(ステップSP4)、その判定結果を表示部に送出する。
 これに対して比較部18は、数値から明らかにg upper≦g lowerではないと判断すると、g upper及びg lowerを比較して、その数値から明らかにg upper≦g lowerであるか否かを判断する(ステップSP5)。比較部は、図5(B)に示すように、区間を狭めたことで、g upper≦g lowerであると判断できると分類1と判定し(ステップSP6)、その判定結果を表示部に送出する。
 そして、洗練化処理部13は、g upper及びg lowerの数値を比較し、或いはg upper及びg lowerの数値を比較してこれらの大小関係を判定できなかったときには、iの値をi+1に更新し、洗練化処理を再実行して上述した処理を繰り返す。
 このようにして、洗練化処理部13は、g upper及びg lowerの数値、或いはg upper及びg lowerの数値の大小関係を判定できるまで、iの値をi+1に更新し、iの最大値であるLまで上述した処理を繰り返す。
 ここで、洗練化処理部13は、iの値をi+1に更新してゆき最大値であるLまで上述した処理を繰り返しても、g upper及びg lowerの数値、或いはg upper及びg lowerの数値の大小関係を判定できない場合には、区間平均判定部27によって後述する区間平均処理を実行して、分類1又は分類0のいずれかであるかを最終的に判別し得るようになされている。
 実際上、区間平均判定部27は、kが0のときの更新後の区間平均であるg pseudoと、kが1のときの更新後の区間平均であるg pseudoを、次式の数39により算出する(ステップSP12)。
Figure JPOXMLDOC01-appb-M000060
 
 そして、区間平均判定部27は、g pseudoとg pseudoとの大小関係を判断し(ステップSP13)、g pseudo<g pseudoと判断すると、分類0と判定する(ステップSP14)。一方、区間平均判定部27は、g pseudo<g pseudoの大小関係が成立しないと判断すると、g pseudo<g pseudoと判断し、観測データD1を分類1と判定し(ステップSP15)する。このようにして、区間平均判定部27は、観測データD1を分類0又は分類1のいずれかであるかを判定し、その判定結果を表示部に送出して当該表示部を介してユーザに通知し得るようになされている。
 (3)動作及び効果
 以上の構成において、識別装置1では、変数群(z)に定数logeを乗算する乗算処理と、nを1…,Nまで順次変えて複数のh upperとh lowerを算出する2のべき乗倍処理と、複数のh upperとh lowerとをそれぞれ累積加算してg upper及びg lowerを求める加算処理とを実行するようにした。
 これにより、識別装置1では、従来のような正確な指数関数の計算処理を実行することなく、真値を挟む2進数の整数冪上で表現されるg upper及びg lowerの大小関係から、分類0発生確率値と分類1発生確率値との大小関係を判断することで、簡便な区間計算で観測データD1が分類0又は分類1のいずれかであるかを識別でき、かくして、分類0発生確率値及び分類1発生確率値の複雑で処理負担が大きい指数関数の計算処理を回避でき、処理負担を格段的に低減し得る。
 さらに、識別装置1では、このように指数関数の演算コストを削減できた分だけ、観測データD1が分類0又は分類1のいずれかであるかの判定を高速に行うことできる。
 これに加えて、この識別装置1では、g upper及びg lowerの大小が明らかではない場合についても、小数部群(β)のビットパターンに応じたB[i]とh upperの乗算、或いはB[i]-1とh lowerの乗算を実行し、これら更新したh upperとh lowerとを用いてg upper及びg lowerの計算処理を実行するようにした。
 これにより、識別装置1は、段階的に比較演算の精度を向上させ、不明となる区間を狭めて簡便な区間計算で観測データD1が分類0又は分類1のいずれかであるかを識別でき、かくして、分類0発生確率値及び分類1発生確率値の複雑で処理負担が大きい指数関数の計算処理を回避できる。
 さらに、識別装置1では、洗練化処理をiが最大値Lになるまで繰り返しても、g upper及びg lowerの大小が明らかではない場合には、区間平均であるg pseudoとg pseudoとを算出してこの大小関係から擬似的に判定するようにしたことにより、上述した洗練化処理によってもg upper及びg lowerの大小が明らかでなくとも、最終的に観測データD1を分類0又は分類1のいずれか確実に判定することができる。
 (4)実施例
 本発明による識別装置1を画像の肌色識別に応用した例を示す。この実施例では、図7(A)に示すような人物が撮像された画像の肌色識別をするために、上述した基本識別処理のみを行った。その結果、正規分布が2混合のときには図7(B)に示すような識別結果を得た。また、正規分布が3混合のときには、図7(C)に示すような識別結果を得、正規分布が4混合のときには、図7(D)に示すような識別結果を得た。
 ここで、図7(B)、(C)及び(D)において、白は肌色を示し、黒は非肌色を示し、灰は未判定領域を示すものである。
 基本識別処理によってのみ判定が完了した割合は、2混合の場合99.692%、3混合の場合99.617%及び4混合の場合99.613%であった。このように、いずれも99%以上の領域で指数関数の演算を必要としなかった。
 また、この実施例では、洗練化処理へ進んだのは観測データの1%にも満たないことが確認できた。なお,倍精度の演算で判定が100%完了するまでに要した繰返し回数は、2混合の場合には7回、3混合の場合には10回、4混合の場合には8回であった。
 なお、本発明は、本実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形実施が可能であり、例えば、ステップSP3及びステップSP5において、最初にg upper≦g lowerであるか否かを判断(ステップSP5)した後、g upper≦g lowerであるか否かを判断(ステップSP3)するようにしても良い。
 また、本発明による識別装置1は、例えば医療・福祉機器、防災・監視機器、自動車・産業機器などセンサによって取得される観測データに基づき、その対象を自動的に識別する機能を要する機器一般に利用できる。
 特に、センサ、信号処理機能、パターン認識機能、無線通信機能、バッテリー(或いは自立発電装置)を搭載したセンサーノードと呼ばれる小型機器を無数に散りばめてネットワークを構成するワイヤレスセンサーネットワーク(WSN)での利用に期待できる。
 

Claims (9)

  1.  観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別装置であって、
     複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
    Figure JPOXMLDOC01-appb-M000001
     
    (「zloge」はzlogeの整数部である)
    Figure JPOXMLDOC01-appb-M000002
     
    を計算する2のべき乗倍部と、
     前記h upperと前記h lowerとを用いて、次式
    Figure JPOXMLDOC01-appb-M000003
     
    Figure JPOXMLDOC01-appb-M000004
     
    (Nは分類kの正規分布の混合数を示す)
    を計算する累積加算部と、
     前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較部と
     を備えることを特徴とする識別装置。
  2.  次式
    Figure JPOXMLDOC01-appb-M000005
     
    Figure JPOXMLDOC01-appb-M000006
     
    (iは0,1…,L、ここでLは任意に設定した正の整数)
    を記憶した記憶部を備え、
     前記g upper及び前記g lowerを比較して大小関係を判定できないとき、前記iの値をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、
     前記小数点以下第i位が1のとき、前記数5のB[i]を前記h upperに乗算しh upperを更新して前記g upperを計算し、
     前記小数点以下第i位が0のとき、前記数6のB[i]-1を前記h lowerに乗算しh lowerを更新して前記g lowerを計算する
     ことを特徴とする請求項1記載の識別装置。
  3.  前記iの値が前記Lのときには、次式
    Figure JPOXMLDOC01-appb-M000007
     
    を計算し、
     g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理部を備える
     ことを特徴とする請求項2記載の識別装置。
  4.  観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別方法であって、
     複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
    Figure JPOXMLDOC01-appb-M000008
     
    (「zloge」はzlogeの整数部である)
    Figure JPOXMLDOC01-appb-M000009
     
    を計算する2のべき乗倍ステップと、
     前記2のべき乗倍ステップで算出した前記h upperと前記h lowerとを用いて、次式
    Figure JPOXMLDOC01-appb-M000010
     
    Figure JPOXMLDOC01-appb-M000011
     
    (Nは分類kの正規分布の混合数を示す)
    を計算する累積加算ステップと、
     前記累積加算ステップによって算出した前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較ステップと
     を備えることを特徴とする識別方法。
  5.  前記g upper及び前記g lowerを比較して大小関係を判定できないとき、iの値(iは0,1…,L、ここでLは任意に設定した正の整数)をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、
     前記小数点以下第i位が1のとき、次式
    Figure JPOXMLDOC01-appb-M000012
     
    を前記h upperに乗算しh upperを更新して前記g upperを計算し、
     前記小数点以下第i位が0のとき、次式
    Figure JPOXMLDOC01-appb-M000013
     
    を前記h lowerに乗算しh lowerを更新して前記g lowerを計算する洗練化処理ステップを備える
     ことを特徴とする請求項4記載の識別方法。
  6. 前記iの値が前記Lのときには、次式
    Figure JPOXMLDOC01-appb-M000014
     
    を計算し、
     g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理ステップを備える
     ことを特徴とする請求項5記載の識別方法。
  7.  観測データの分布が混合正規分布に従うと仮定し、混合正規分布パラメータを基に前記観測データを分類する識別処理プログラムであって、
     複数の前記観測データの各特徴ベクトルを基に得た変数群z(kは分類を表す1又は0、nは各分類に仮定される正規分布の分布番号を示す)と、前記混合正規分布パラメータを基に得た定数群Kとを用いて、次式
    Figure JPOXMLDOC01-appb-M000015
     
    (「zloge」はzlogeの整数部である)
    Figure JPOXMLDOC01-appb-M000016
     
    を計算する2のべき乗倍ステップと、
     前記2のべき乗倍ステップで算出した前記h upperと前記h lowerとを用いて、次式
    Figure JPOXMLDOC01-appb-M000017
     
    Figure JPOXMLDOC01-appb-M000018
     
    (Nは分類kの正規分布の混合数を示す)
    を計算する累積加算ステップと、
     前記累積加算ステップによって算出した前記g upper及び前記g lowerを比較して、g upper≦g lowerと、g upper≦g lowerとによって前記観測データを分類する比較ステップと
     をコンピュータに実行させることを特徴とする識別処理プログラム。
  8.  前記g upper及び前記g lowerを比較して大小関係を判定できないとき、iの値(iは0,1…,L、ここでLは任意に設定した正の整数)をi+1に更新し、zlogeの小数部の小数点以下第i位が1であるか、或いは0であるかを判断し、
     前記小数点以下第i位が1のとき、次式
    Figure JPOXMLDOC01-appb-M000019
     
    を前記h upperに乗算しh upperを更新して前記g upperを計算し、
     前記小数点以下第i位が0のとき、次式
    Figure JPOXMLDOC01-appb-M000020
     
    を前記h lowerに乗算しh lowerを更新して前記g lowerを計算する洗練化処理ステップを備える
     ことを特徴とする請求項7記載の識別処理プログラム。
  9. 前記iの値が前記Lのときには、次式
    Figure JPOXMLDOC01-appb-M000021
     
    を計算し、
     g pseudo<g pseudoと、g pseudo<g pseudoとによって前記観測データを分類する平均値処理ステップを備える
     ことを特徴とする請求項8記載の識別処理プログラム。
PCT/JP2009/050529 2008-01-23 2009-01-16 識別装置、識別方法及び識別処理プログラム WO2009093525A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2009550502A JP5112454B2 (ja) 2008-01-23 2009-01-16 識別装置、識別方法及び識別処理プログラム
US12/811,006 US8321368B2 (en) 2008-01-23 2009-01-16 Identification device, identification method, and identification processing program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008012678 2008-01-23
JP2008-012678 2008-01-23

Publications (1)

Publication Number Publication Date
WO2009093525A1 true WO2009093525A1 (ja) 2009-07-30

Family

ID=40901033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/050529 WO2009093525A1 (ja) 2008-01-23 2009-01-16 識別装置、識別方法及び識別処理プログラム

Country Status (3)

Country Link
US (1) US8321368B2 (ja)
JP (1) JP5112454B2 (ja)
WO (1) WO2009093525A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015156894A (ja) * 2014-02-21 2015-09-03 学校法人日本大学 医用画像処理装置、その医用目的領域抽出方法及び医用目的領域抽出処理プログラム
JP2016021880A (ja) * 2014-07-17 2016-02-08 国立大学法人 新潟大学 抗菌効果判定システム、抗菌効果判定方法及び抗菌効果判定プログラム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187229A (ja) * 2001-12-14 2003-07-04 Nec Corp 顔メタデータ生成方法および装置、並びに顔類似度算出方法および装置
JP2005267570A (ja) * 2004-03-22 2005-09-29 Mitsubishi Electric Corp 車両認識方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080011B2 (en) * 2000-08-04 2006-07-18 International Business Machines Corporation Speech label accelerators and techniques for using same
US6785645B2 (en) * 2001-11-29 2004-08-31 Microsoft Corporation Real-time speech and music classifier
KR100568237B1 (ko) * 2004-06-10 2006-04-07 삼성전자주식회사 비디오 영상으로부터 이동 물체를 추출하는 장치 및 방법
US7756341B2 (en) * 2005-06-30 2010-07-13 Xerox Corporation Generic visual categorization method and system
US8107541B2 (en) * 2006-11-07 2012-01-31 Mitsubishi Electric Research Laboratories, Inc. Method and system for video segmentation
US7933454B2 (en) * 2007-06-25 2011-04-26 Xerox Corporation Class-based image enhancement system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187229A (ja) * 2001-12-14 2003-07-04 Nec Corp 顔メタデータ生成方法および装置、並びに顔類似度算出方法および装置
JP2005267570A (ja) * 2004-03-22 2005-09-29 Mitsubishi Electric Corp 車両認識方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SHOGO MURAMATSU ET AL.: "Kukan Keisan ni yoru Kongo Gauss Bunpu Model no Kokateki Hanbetsuho", IEICE TECHNICAL REPORT, vol. 107, no. 475, 24 January 2008 (2008-01-24), pages 55 - 60 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015156894A (ja) * 2014-02-21 2015-09-03 学校法人日本大学 医用画像処理装置、その医用目的領域抽出方法及び医用目的領域抽出処理プログラム
JP2016021880A (ja) * 2014-07-17 2016-02-08 国立大学法人 新潟大学 抗菌効果判定システム、抗菌効果判定方法及び抗菌効果判定プログラム

Also Published As

Publication number Publication date
US8321368B2 (en) 2012-11-27
US20100287133A1 (en) 2010-11-11
JP5112454B2 (ja) 2013-01-09
JPWO2009093525A1 (ja) 2011-05-26

Similar Documents

Publication Publication Date Title
WO2022199583A1 (zh) 图像处理方法、装置、计算机设备和存储介质
CN114186632B (zh) 关键点检测模型的训练方法、装置、设备、存储介质
CN110197716B (zh) 医学影像的处理方法、装置及计算机可读存储介质
CN108230233A (zh) 数据增强、处理方法和装置、电子设备和计算机存储介质
EP2927864A1 (en) Image processing device and image processing method
US7136540B2 (en) Picture region extraction method and device
CN113988357B (zh) 基于深度学习的高层建筑风致响应预测方法及装置
CN111583274A (zh) 图像分割方法、装置、计算机可读存储介质及电子设备
CN111382791B (zh) 深度学习任务处理方法、图像识别任务处理方法和装置
CN112330671A (zh) 细胞分布状态的分析方法、装置、计算机设备和存储介质
EP4343616A1 (en) Image classification method, model training method, device, storage medium, and computer program
JP5112454B2 (ja) 識別装置、識別方法及び識別処理プログラム
CN113158860B (zh) 基于深度学习多维度输出人脸质量评估方法与电子设备
CN112070162A (zh) 多类别处理任务训练样本构建方法、设备及介质
CN116993577A (zh) 图像处理方法、装置、终端设备以及存储介质
CN113780555B (zh) 基于数据增强的模型训练方法、装置、设备及存储介质
CN115439916A (zh) 面部识别方法、装置、设备及介质
CN115712763A (zh) 基于人工智能和大数据的网络数据处理方法和平台
CN110889635B (zh) 一种用于对食品安全事件的处理进行应急演练的方法
CN114693697A (zh) 图像处理方法、装置、设备及计算机可读存储介质
WO2020040007A1 (ja) 学習装置、学習方法及び学習プログラム
CN113643219B (zh) 一种基于三光融合的图像成像方法及装置
Merzougui Multi-measures fusion based on multi-objective genetic programming for full-reference image quality assessment
CN115035395B (zh) 用于机场航站楼场景的安全分析装置方法及装置
CN115408552B (zh) 显示调整方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09704788

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2009550502

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 12811006

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09704788

Country of ref document: EP

Kind code of ref document: A1