This paper introduces an affine invariant of trapezia, and the explicit constraint equation between the intrinsic matrix of a camera and the similarity invariants of a trapezium are established using the affine invariant. By this constraint, the inner parameters, motion parameters of the cameras and the similarity invariants of trapezia can be linearly determined using some prior knowledge on the cameras or the trapezia. The proposed algorithms have wide applicability since parallel lines are not rare in many scenes. Experimental results validate the proposed approaches. This work presents a unifying framework based on the parallelism constraint, and the previous methods based on the parallelograms or the parallelepipeds can be integrated into this framework.
Key words: invariant parallelism constraint camera calibration 3D reconstruction
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_藥品庫(kù)存_藥品資料]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE [dbo].[藥品庫(kù)存] DROP constraint FK_藥品庫(kù)存_藥品資料
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_門診劃價(jià)明細(xì)_門診劃價(jià)]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE [dbo].[門診劃價(jià)明細(xì)] DROP constraint FK_門診劃價(jià)明細(xì)_門診劃價(jià)
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_門診掛號(hào)_門診掛號(hào)類型]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE [dbo].[門診掛號(hào)] DROP constraint FK_門診掛號(hào)_門診掛號(hào)類型
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[產(chǎn)地]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[產(chǎn)地]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[醫(yī)生資料]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[醫(yī)生資料]
if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_帳單明細(xì)_入住單]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1)
ALTER TABLE [dbo].[帳單明細(xì)] DROP constraint FK_帳單明細(xì)_入住單
GO
if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_入住單_客房信息]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1)
ALTER TABLE [dbo].[入住單] DROP constraint FK_入住單_客房信息
GO
if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_客房信息_客房類型]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1)
ALTER TABLE [dbo].[客房信息] DROP constraint FK_客房信息_客房類型