Computer and Robot Vision II Chapter 20 Accuracy Presented by: 傅楸善 & 王林農 0917 533843 指導教授 : 傅楸善 博士.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Estimation of Means and Proportions
Hypothesis testing Another judgment method of sampling data.
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Chapter 7 Statistical Data Treatment and Evaluation
Sampling: Final and Initial Sample Size Determination
Chapter Seventeen HYPOTHESIS TESTING
Chapter 6 Introduction to Sampling Distributions
Chapter 7 Sampling and Sampling Distributions
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 6 Introduction to Sampling Distributions.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Evaluating Hypotheses
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
CHAPTER 6 Statistical Analysis of Experimental Data
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
IENG 486 Statistical Quality & Process Control
Inferences About Process Quality
Lehrstuhl für Informatik 2 Gabriella Kókai: Maschine Learning 1 Evaluating Hypotheses.
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
Statistical Modeling and Analysis of Scientific Inquiry: The Basics of Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
AM Recitation 2/10/11.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Overview of Statistical Hypothesis Testing: The z-Test
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Statistical Significance Hypothesis Testing.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
STA Lecture 161 STA 291 Lecture 16 Normal distributions: ( mean and SD ) use table or web page. The sampling distribution of and are both (approximately)
Random Sampling, Point Estimation and Maximum Likelihood.
Lecture 12 Statistical Inference (Estimation) Point and Interval estimation By Aziza Munir.
Chapter 8 Introduction to Hypothesis Testing
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
LECTURER PROF.Dr. DEMIR BAYKA AUTOMOTIVE ENGINEERING LABORATORY I.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Inference and Inferential Statistics Methods of Educational Research EDU 660.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Lecture 4: Statistics Review II Date: 9/5/02  Hypothesis tests: power  Estimation: likelihood, moment estimation, least square  Statistical properties.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Education 793 Class Notes Decisions, Error and Power Presentation 8.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Statistical Significance Hypothesis Testing.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Chapter 13 Understanding research results: statistical inference.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
Hypothesis Tests. An Hypothesis is a guess about a situation that can be tested, and the test outcome can be either true or false. –The Null Hypothesis.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 6 Sampling and Sampling Distributions
L Berkley Davis Copyright 2009 MER301: Engineering Reliability Lecture 8 1 MER301: Engineering Reliability LECTURE 8: Chapter 4: Statistical Inference,
Chapter Nine Hypothesis Testing.
Statistical Significance (Review)
LECTURE 32: STATISTICAL SIGNIFICANCE AND CONFIDENCE
LECTURE 33: STATISTICAL SIGNIFICANCE AND CONFIDENCE (CONT.)
Ch3: Model Building through Regression
Statistics in Applied Science and Technology
Statistical Process Control
Chapter 9 Hypothesis Testing.
Introduction to Instrumentation Engineering
Discrete Event Simulation - 4
Interval Estimation and Hypothesis Testing
Computer Vision Chapter 4
LECTURE 25: STATISTICAL SIGNIFICANCE AND CONFIDENCE
Computer Vision II Chapter 20 Accuracy
Presentation transcript:

Computer and Robot Vision II Chapter 20 Accuracy Presented by: 傅楸善 & 王林農 指導教授 : 傅楸善 博士

DC & CV Lab. CSIE NTU 20.1 Introduction accurately characterizing performance: important aspect of vision system

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error position on digital grid: has inherent quantizing error due to discreteness B: coordinate of line’s right endpoint spacing between pixel centers q: uniform random variable,

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’) relationship between the line segment end and the digital grid

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’)

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’) : digital coordinate of the lines rightmost pixel natural quantizing model: letting x be a random variable where

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’) restate the quantizing model:

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’)

DC & CV Lab. CSIE NTU 20.2 Mensuration Quantizing Error (cont’) A: lines left endpoint handled in a similar way

DC & CV Lab. CSIE NTU 20.3 Automated Position Inspection: False-Alarm and Misdetection Rates in industrial position inspection: mechanism machines part to specification Inspection: ensures machining or part placement is correct automated inspector consists of machine identifying critical object points t: known number for relative position x: actual position x: Gaussian distribution with mean t and standard deviation

DC & CV Lab. CSIE NTU 20.3 Automated Position Inspection: False-Alarm and Misdetection Rates (cont’) : tolerance interval centered around position t : position is good : position is bad actual position x: not known measurement y: obtained by observing actual position and measuring it measurement y: noisy and not equal to x

DC & CV Lab. CSIE NTU 20.3 Automated Position Inspection: False-Alarm and Misdetection Rates (cont’) y given x: Gaussian distribution with mean x and standard deviation y : acceptance interval for decision that actual position in tolerance : inspection system decides the position is good : inspection system decides the position is bad

DC & CV Lab. CSIE NTU 20.3 Automated Position Inspection: False-Alarm and Misdetection Rates (cont’) false alarm: good position falsely called bad Misdetection: bad position missed and incorrectly called good false-alarm rate is the conditional probability: misdetection rate is the conditional probability:

DC & CV Lab. CSIE NTU 20.3 Automated Position Inspection: False-Alarm and Misdetection Rates (cont’) entire probability model: characterized by five parameters problem: how to compute false-alarm and misdetection probabilities

DC & CV Lab. CSIE NTU Analysis P(x): probability density function for actual position x P(y|x): conditional probability density function for y given x with Gaussian distribution assumption:

DC & CV Lab. CSIE NTU Analysis (cont’) conditional probability closely related to false-alarm probability: now

DC & CV Lab. CSIE NTU Analysis (cont’) inherent invariance of false-alarm and misdetection probabilities to the scale define relative precision r of the measurement:

DC & CV Lab. CSIE NTU Analysis (cont’) ==========Gareld 17:67=============

DC & CV Lab. CSIE NTU Discussion when large acceptance interval large large: all good positions are accepted large: false-alarm rate small large: bad positions will also be accepted large: high rate of misdetection small: acceptance interval relatively small small: all bad positions expected not to be accepted

DC & CV Lab. CSIE NTU Discussion (cont’) small: misdetection rate small small: good positions will also not be accepted small: high rate of false alarm false alarm rate and misdetection rate approximately inverse proportional three operating curves for a fixed failure rate of 0.05 top operating curve: relative precision of 0.1

DC & CV Lab. CSIE NTU Discussion (cont’) middle operating curve: relative precision of bottom operating curve: relative precision of 0.05

DC & CV Lab. CSIE NTU Discussion (cont’)

DC & CV Lab. CSIE NTU Discussion (cont’) three operating curves for a fixed failure rate of 0.01 top operating curve: relative precision of 0.1 middle operating curve: relative precision of bottom operating curve: relative precision of 0.05

DC & CV Lab. CSIE NTU Discussion (cont’)

DC & CV Lab. CSIE NTU Discussion (cont’) fix failure rate and misdetection rate: as relative precision r better, tolerance interval i.e. st. dev. of measurements smaller operating curves for smaller values of relative precision below larger ones fix relative precision and misidentification rate: as failure rate increases false-alarm rate increases

DC & CV Lab. CSIE NTU Discussion (cont’) three operating curves for a fixed relative precision of top operating curve: failure rate of 0.02 middle operating curve: failure rate of 0.01 bottom operating curve: failure rate of 0.005

DC & CV Lab. CSIE NTU Discussion (cont’)

DC & CV Lab. CSIE NTU Discussion (cont’) operating curves for larger failure rates uniformly above smaller ones for failure rate to increase when relative precision fixed, tolerance interval must remain the same while st. dev. of actual position increase if acceptance interval does not change, misidentification rate decreases

DC & CV Lab. CSIE NTU 20.4 Experimental Protocol controlled experiments: important component of computer vision experimental protocol: so experiment can be repeated and evidence verified by another researcher

DC & CV Lab. CSIE NTU 20.4 Experimental Protocol (cont’) experiment protocol states quantity (or quantities) to be measured accuracy of measurement population of scenes/images or artificially generated data protocol: gives experimental design and data analysis plan

DC & CV Lab. CSIE NTU 20.4 Experimental Protocol (cont’) The experimental design describes how a suitably random, independent, and representative set of images from the specified population is to be sampled, generated, or acquired accuracy criterion: how comparison between true, measured values evaluated experimental data analysis plan: how hypothesis meets specified requirement experimental data analysis plan: how observed data analyzed experimental data analysis plan: detailed enough for another researcher analysis plan: supported by theoretically developed statistical analysis

DC & CV Lab. CSIE NTU 20.5 Determining the Repeatability of Vision Sensor Measuring Positions vision sensors: measure position or location in 1D, 2D, 3D to determine repeatability of vision sensor: some number of points, times

DC & CV Lab. CSIE NTU The Model N: number of points to be measured actual but unknown positions of these points M: number of times each point is measured K: each point is K-dimensional : mth measurement of the nth point

DC & CV Lab. CSIE NTU The Model (cont’) assumption: measurements independent assumption: difference between actual and measured positions r: standard deviation describing repeatability of vision sensor

DC & CV Lab. CSIE NTU Derivation mean observed positions: sum of norms squared of differences between observed positions and mean:

DC & CV Lab. CSIE NTU Derivation (cont’) We need to determine the relationship between

DC & CV Lab. CSIE NTU 20.6 Determining the Positional Accuracy of Vision Sensors vision sensors may measure position in 1D, 2D, 3D To determine the accuracy of the vision sensor (after it has been suitably calibrated), an experiment must be performed in which some number of points in known positions are exposed to the sensor, the measured positions are compared with the known positions, and the accuracy is computed in terms of the degree to which the actual and measured positions agree.

DC & CV Lab. CSIE NTU 20.6 Determining the Positional Accuracy of Vision Sensors (cont’) positions of points: random and not follow regular pattern number of points measured large enough: variance of accuracy small

DC & CV Lab. CSIE NTU The Model N: number of points to be measured actual but unknown positions of these points unknown expected positions of these points N points: independent N points: deviations between actual and nominal position

DC & CV Lab. CSIE NTU The Model (cont’) M: number of times each point is measured K: each point is K-dimensional measurement of nth point assumption: measurements independent difference between bias vector positional accuracy of vision sensor: described by

DC & CV Lab. CSIE NTU The Model (cont’) The purpose of the experiment is to estimate by using a large enough number of samples so that the unbiased estimate is guaranteed to be sufficiently close to

DC & CV Lab. CSIE NTU Derivation sum of norms squared of differences between observed and known positions: We need to determine the relationship between

DC & CV Lab. CSIE NTU 20.7 Performance Assessment of Near-Perfect Machines machines in recognition and defect inspection : required to be nearly flawless error rate: fraction of time that machine’s judgment incorrect error rate: contains false detection and misdetection errors false-detection rate: false-alarm rate: unflawed part judged flawed misdetection rate: flawed part judged unflawed

DC & CV Lab. CSIE NTU Derivation consider false-alarm errors; misdetection errors similar N: sampling size total number of parts observed K: number of false-alarm judgements observed to occur in acceptance test machine performance specification of false-alarm fraction maximum likelihood estimate based on

DC & CV Lab. CSIE NTU Derivation (cont’) machine passes acceptance test machine fails acceptance test f : true error rate random variable taking value 1 for false alarm, 0 otherwise in maximum-likelihood technique compute estimate maximizing:

DC & CV Lab. CSIE NTU Balancing the Acceptance Test If the buyer and seller balance their own self- interests exactly in a middle compromise, the operating point chosen for the acceptance test will be the one for which the false- acceptance rate (which the buyer wants to be small) equals the missed-acceptance rate (which the seller wants to be small).

DC & CV Lab. CSIE NTU Lot Assessment In the usual lot inspection approach, a quality control inspector makes a complete inspection on a randomly chosen small sample from each lot. reason for not inspecting all of the lot: cost more than specified number of defective products found: entire lot rejected

DC & CV Lab. CSIE NTU 20.8 Summary mensuration quantizing error model: computes variance due to random error

DC & CV Lab. CSIE NTU Joke