h005-07-halcon-calibration-theory(基础学习资料)_第1页
h005-07-halcon-calibration-theory(基础学习资料)_第2页
h005-07-halcon-calibration-theory(基础学习资料)_第3页
h005-07-halcon-calibration-theory(基础学习资料)_第4页
h005-07-halcon-calibration-theory(基础学习资料)_第5页
已阅读5页,还剩23页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

MVTec

Software

GmbH

is

a

leadinginternational

manufacturer

of

software

for

machine

visionused

in

all

demanding

areas

of

imaging:

semi-conductor

industry,

web

inspection,

quality

control

and

inspection

applications

ingeneral,

medicine,

surveillance

etc.MVTec"s

innovative

work

is

driven

by

a

commitment

to

be

the

number

one

supplier

for

sophisticated

technologies

in

machine

vision.

MVTec

is

engaged

in

sponsoring

various

activities

in

universities,

thus

participating

in

the

challenging

process

of

understanding

how

machines

can

be

taught

to

see.HALCON

is

the

comprehensive

standard

software

for

machine

vision

withan

integrated

development

environment

(IDE)

that

is

usedworldwide.It

leads

to

cost

savings

and

improved

time

to

market:

HALCON"s

flexible

architecture

facilitates

rapid

development

of

machine

vision,

medicalimaging,

and

image

analysis

applications.

HALCON

provides

outstandingperformance

and

a

comprehensive

support

of

multi-core

platforms,MMX

and

SSE2,

as

well

as

GPU

acceleration.

Itserves

all

industries

with

alibrary

of

more

than

1600

operators

for

blob

analysis,

morphology,matching,

measuring,

identification,

and

3D

vision,

to

name

just

afew.

HALCON

secures

your

investment

by

supporting

a

wide

range

of

operating

systems

and

providing

interfaces

to

hundreds

of

industrial

cameras

and

frame

grabbers,

including

GenICam,

GigE

Vision,

and

IIDC1394.VTec

Software

Gmb

HCamera

Calibration

TheoryModel

for

a

Pinhole

CameraxwywsycxcysxPwzwCamera

coordinate

system

(CCS)

(x,y,z)World

coordinate

system

(WCS)

(xw,yw,zw)Image

coordinates

(Pixels)

(r,c)Image

plane

coordinate

system

(r,c)R

+

TzxyfcPuvrCamera

Model:

Virtual

Image

PlanesycxcysxsysxcycxPwvfrcuPyxzrcvuPfProjection

from

World

to

Camera:

PoseTransformation

from

the

world

coordinate

system

(WCS)

into

the

cameracoordinate

system

(CCS):

rigid

mapping

with

6

degrees

of

freedom

(3rotations,

3

translations)Outer

orientation

of

the

camera

relative

to

the

WCSPose

and

RotationszxcrbyagxzxzyyabgThe

pin

hole

camera

is

used

as

model:

perspective

projectionmodels

the

real

focal

length

of

the

camera

(i.e.,

it

isnot

an

exactrepresentation

of

the

real

world)is

the

distance

from

the

cameraProjection

for

cameras

with

telecentric

lenses:

ParallelprojectionNo

focal

length

for

telecentric

lensesDistance

from

the

camera

has

no

influence

on

the

position

in

the

image

Nperspective

distortionsProjection

from

Camera

to

Image

PlaneDivision

Model

for

the

Radial

DistortionsDistortions

are

modeled

as

a

transformation

within

the

image

planecoordinate

systemIn

most

cases

of

2D

sensors

the

radial

distortions

are

a

good

approximatiofor

typical

lensesAdvantage

of

this

definition:

It

allows

a

fast

calculation

by

inverting

thfunction:The

simpler

divisionmodel

only

models

radial

distortions

as

they

are

knownas

"barrel"

and

"pin

cushion"

distortion.The

division

modelis

suitable

for

simple

radial

distortionsBarrelPin

cushionIf

the

lens

distortions

are

more

complex

than

just

"barrel"

or

"pin

cushion"

distortions,

the

divisionmodel

is

no

longer

valid.

This

figure

shows

theeffects

of

complexdistortions

that

can

be

modeled

withthe

polynomial

model.The

polynomial

modelis

suitable

for

complex

distortionsThis

figure

shows

the

transformationfrom

the

distorted

image

coordinates

to

corrected

image

coordinates

(the

transformationto

v

is

analog,

fordetails

refer

to

the

reference

of

camera_calibration

or

the

Solution

Guide

IIIc

on

3D

visionchapter

2.2).As

you

can

easily

see,

the

division

model

only

uses

asingle

parameter

(kappa),

while

the

polynomial

model

uses5

parameters,

where

K1,

K2,K3

model

the

radial

distortion,

and

P1,

P2

model

the

decentering

distortion.Comparison

of

the

distortion

modelslDlDivision

mPolynomiafodel:KRadial

distortion

paral

model:metersDecentering

distortion

parameterscorrected

image

pointdistorted

image

pointImage

Coordinate

SystemTransformation

from

the

image

plane

to

image

coordinates:

Principal

pointCenterof

the

radial

distortionsPoint

where

the

line

of

sight

and

the

image

plane

are

perpendicular:

Scaling

factorsStandard

lenses:

Distance

of

CCD

elements

on

the

sensorTelecentric

lenses:

Pixel

size

in

world

coordinates:

Camera

parameters

with

standard

lenses:

Camera

parameters

with

telecentric

lensesCalibration

Process

with

One

Image

IDetermine

the

correspondence

between

the

circles

of

the

model

and

thecircles

in

the

imageLet

be

the

3D-position

of

circle

and

its

2D-image

coordinate,

i.e.forstandardlensesfor

telecentric

lensis

determined

as

the

solution

of

the

following

nonlinearminimizationproblemCalibration

Process

with

one

Image

IIForstandard

lenses

,

and

cannot

be

determined

at

the

same

timebecause,

e.g.,

a

change

of

can

be

compensated

by

andhas

to

be

determined

from

the

specification

of

the

CCD-Sensorcan

be

assumed

fixedbecausethe

frame

grabber

digitizes

the

signal

linsynchronouslycannot

be

used

from

the

specification

with

analog

frame

grabbersbecause

the

frame

grabberdoesnot

digitize

the

signal

pixel-synchronouslyProblem:

with

oneplanarcalibration

platenotall

parameters

of

the

camerparameters

and

the

pose

can

be

determinedMultiple

calibration

images

are

needed

todetermineall

parameters

at

tsame

timeExample

for

the

Indeterminationfo2o2fMulti

Image

Calibration

ProcessCalibration

uses

images,

where

the

calibration

plate

uses

all

degrees

ofreedom

(positions

and

angles)Especially

all

poses

must

not

be

parallelsets

of

posesfor

standardlensesfor

telecentric

lensesis

determined

as

the

solution

of

the

following

nonlinearminimizationproblemCalculation

of

World

Coordinates

Prerequisite

for

the

reconstruction

with

standard

lenses:

All

pointsto

be

in

the

same

plane

(e.g.,

a

conveyor

belt)Only

x-y-positions

in

plane

can

be

determinedIdea:

Intersection

of

the

line

of

sight

with

the

reference

planeThe

referenceplanecan

be

derived

from

the

poseFor

telecentric

lenses:

The

points

do

not

have

to

be

within

one

planeOnly

the

x-y-positions

within

the

CCS

can

be

determinedCalculation

of

World

CoordinatesFor

telecentric

lenses

the

distance

of

the

object

cannot

be

determinedThe

x-

and

y-Coordinates

of

an

object

in

CCS

can

easily

be

determined

Typically

the

objects

are

aligned

parallel

to

the

camera

coordinatethe

CCS

are

treated

as

world

coordinates

The

calculation

of

coordinates

in

the

CCS

is

done

by

inverting

themappings:·

The

calculation

corresponds

to

the

intersection

of

the

line

of

sightwith

theplaneCalculation

of

World

Coordinates

For

standard

cameras

the

same

principle

of

intersecting

a

line

of

sighwiththe

reference

plane

is

appliedIn

this

case

the

lines

of

sight

have

the

following

form

The

plane

is

defined

by

the

parameters

of

the

referencepose

Its

equation

in

the

CCS

is

very

complicated,

but

in

WCS

it

isvery

simple:

To

calculate

the

intersection,

the

line

of

sight

must

be

transformed

ithe

WCS

The

transformation

is

defined

as

the

inversion

of

the

mapping

from

theWCS

into

the

CCS:Calculation

of

World

CoordinatesTransformation

of

the

optical

centerTransformation

the

point

into

the

image

planeThe

Equation

of

the

line

of

sight

in

the

WCSIntersection

of

the

line

of

sight

with

the

plane

in

the

WCSExamples

for

World

CoordinatesExamples

for

World

CoordinatesCalibration

process

with

one

Image

Problem:

Not

all

parameters

can

be

determined

when

using

only

onecalibration

image

In

the

plane

defined

by

the

poseof

the

reference

image

one

can

measureaccurately

becausefor

each

combination

of

parameters

of

the

cameraparameters

and

poses

theplaneis

consistently

defined

But

in

this

case

one

cannotdeterminea

stable

calibrationwith

thestandard7 7

circles

on

a

calibration

plate

becausetoo

few

points

areavailable

Therefore

it

is

important

to

have

much

more

points,

e.g.,

15

15,

todetermine

all

parameters

reliablyMultiple

Image

CalibrationTestApply

the

calibration

witha

varying

number

of

imagesUse

different

combinations

of

calibration

images

Check

the

variation

of

the

calibration

parameters

depending

on

thenumber

andcombinationof

calibration

images

Display

the

relation

between

the

number

of

images

and

theparameters

asgraphsResultsThe

deviation

becomes

smallerwith

increasing

number

of

images

The

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论