planetary crater detection and registration using …...1 planetary crater detection and...

30
1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based Analysis David Solarna², Gabriele Moser², Jacqueline Le Moigne¹, and Sebastiano B. Serpico² ¹ NASA Goddard Space Flight Center ² University of Genoa IGARSS 2017, Fort Worth, Texas, July 2017 https://ntrs.nasa.gov/search.jsp?R=20170007323 2020-04-28T04:07:32+00:00Z

Upload: others

Post on 26-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

1

Planetary Crater Detect ion and Registrat ion Using

Marked Point Processes, Mult iple Birth and Death

Algorithms, and Region-based Analysis

David Solarna², Gabriele Moser²,

Jacqueline Le Moigne¹, and Sebast iano B. Serpico²

¹ NASA Goddard Space Flight Cent er

² Universit y of Genoa

IGARSS 2017, Fort Wort h, Texas, July 2017

https://ntrs.nasa.gov/search.jsp?R=20170007323 2020-04-28T04:07:32+00:00Z

Page 2: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

2

Content

Introduction

Crater Detection

– Marked Point Process Model

– Energy Function

– Multiple Birth and Death Algorithm

– Region-of-Interest Approach

– Experimental Results

Image Registration

– 2-step Approach

– Experimental Results

Conclusion

Page 3: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

3

Content

Introduction

Crater Detection

– Marked Point Process Model

– Energy Function

– Multiple Birth and Death Algorithm

– Region-of-Interest Approach

– Experimental Results

Image Registration

– 2-step Approach

– Experimental Results

Conclusion

Page 4: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

4

Introduct ion

Objective• Crater detection in planetary images

• Development of an image registration method based on the

extracted features

Original

Data Set

Crater

Detection

Crater

Detection

Crater

Map

Crater

Map

Registration

Need for automated methods

for image registration

Launch of several

planetary missions

Design of new and

powerful sensors

Large data

setsMultitemporal

Multisensor

Both

Page 5: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

5

Content

Introduction

Crater Detection

– Marked Point Process Model

– Energy Function

– Multiple Birth and Death Algorithm

– Region-of-Interest Approach

– Experimental Results

Image Registration

– 2-step Approach

– Experimental Results

Conclusion

Page 6: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

6

Marked Point Processes

Crater detection based on a marked point process (MPP) model

MPP: Stochastic ProcessConfigurations of objects, each

described by a marked point

Realizations

Mathematical Formulation

A point process 𝑋, defined over a bounded subset 𝑃 of ℝ2 maps from a

probability space to a configuration of points in 𝑃.

Realizations of the process 𝑋 are random configurations 𝑥 of points, 𝑥 = 𝒙1, … , 𝒙𝑛 ,

where 𝒙𝑖 is the location of the 𝑖th point in the image plane (𝒙𝑖 ∈ 𝑃)

A configuration of an MPP consists of a point process whose points are enriched with

additional parameters, called marks and aimed at parameterizing objects linked to the points.

Bayesian approach: Maximum a posteriori (MAP) rule to fit the model to the image is equivalent

to minimizing an energy function (computationally challenging)

Page 7: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

7

Modelling

Crater Ellipse

Distribution of craters

on the surface

Distribution of ellipses

on the image plane

Craters

Center: (𝑥0, 𝑦0)

Major Axis: 𝑎

Minor Axis: 𝑏

Orientation: 𝜃

Point

Marks

Realization Example

Point Process

𝑥 = 𝒙1, … , 𝒙7

Parameters

𝒙𝑖 = 𝑥0𝑖 , 𝑦0𝑖 , 𝑎𝑖 , 𝑏𝑖 , 𝜃𝑖

Marked Point Process for Crater Detect ion

Page 8: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

8

Crater Detect ion – Energy Funct ion

Prior Likelihood

𝑈𝑃 𝑋 =1

𝑛

𝒙𝑖∧𝒙𝑗>0

𝒙𝑖 ∧ 𝒙𝑗

𝒙𝑖 ∨ 𝒙𝑗

Repulsion coefficient based on the

overlapping of the ellipses (overlapping

craters are quite unlikely)

Two terms, one based on a correlation measure, the other based on

a distance measure (fit between contours and realization of 𝑋)

𝑈𝐿 𝐶|𝑋 =

𝑖=1

𝑛𝑑ℋ(𝑥𝑖

0, 𝐶)

𝑛𝑎𝑖−

𝑥𝑖0 ∩ 𝐶

𝐶

𝑑ℋ 𝐴, 𝐵 = max sup inf𝛼∈𝐴 𝛽∈𝐵

𝑑(𝛼, 𝛽) ; sup inf𝛽∈𝐵 𝛼∈𝐴

𝑑(𝛼, 𝛽)

𝒙𝑖 ∨ 𝒙𝑗= area of union of ellipses 𝒙𝑖 and 𝒙𝑗𝒙𝑖 ∧ 𝒙𝒋= area of intersection of 𝒙𝑖 and 𝒙𝑗

𝑥𝑖0 = set of pixels corresponding to ellipse 𝒙𝑖 in the image plane

𝑑ℋ 𝑥𝑖0, 𝐶 = Hausdorff distance between ellipse 𝒙𝑖 and the contours:

Classical distance between sets 𝑑 𝐴, 𝐵 = 0

Energy function of the configuration 𝑋 = {𝒙𝑖 , 𝒙2, … , 𝒙𝑛} wrt the

extracted set 𝐶 of contour pixels (Canny):

𝑈 𝑋|𝐶 = 𝑈𝑃 𝑋 + 𝑈𝐿 𝐶|𝑋

Page 9: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

9

Computation of Death Probability and Death Phase according to Likelihood

Contour Extraction (Canny) and Parameter Initialization

Generation of the Birth Map used to speed up the convergence

Computation of the Birth Probabilities for each pixel

Birth Phase

Energy Computation for all the ellipses

Configuration refinement according to Prior

Convergence Test

Initialization

Birth Step

Death Step

Update

Markov chain Monte Carlo-type method

Simulated Annealing scheme

Markov chain sampled by a

multiple birth and death

(MBD) algorithm

Crater Detect ion – Energy Minimizat ion

Page 10: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

10

Birth Step Death Step

For each pixel 𝑠 in the image, compute the

birth probability as min{𝛿 ∙ 𝐵 𝑠 , 1}, where:

𝐵 𝑠 =𝑏 𝑠

𝑠 𝑏 𝑠

𝑏 𝑠 is the birth map computed from the

contour map using generalized Hough transform

and Gaussian filtering

For each ellipse 𝒙𝑖 in the configuration,

compute the death probability as 𝑑 𝒙𝑖 :

𝑑 𝒙𝑖 =𝛿 ∙ 𝑎 𝒙𝑖

1 + 𝛿 ∙ 𝑎 𝒙𝑖

𝑎 𝒙𝑖 = exp −𝛽 𝑈𝐿 𝑋\{𝒙𝑖}|𝐶 − 𝑈𝐿 𝑋|𝐶

MBD – Birth and Death Steps

Page 11: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

11

Region Based Flowchart and Example

Initialization

Detection of regions on interest based on the birth map

MBD in each region

Aggregation

Why?Region-Based Approach

• MBD is computationally heavy

• Computational burden increases

with image size

Crater Detect ion – Region Based Approach

Page 12: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

12

Crater Detect ion – Data Sets

• 6 THEMIS (Thermal Emission Imaging System)

images, TIR, 100m resolution, Mars Odissey mission

• 7 HRSC (High Resolution Stereo Color) images, VIS,

~20m resolution, Mars Express mission

• Image sizes from 1581 × 1827 to 2950 × 5742 pixels

Quantitative Performance Assessment of the crater detection algorithm: Detection Percentage (𝑫), Branching Factor (𝑩), and Quality Percentage (𝑸)

Data 𝑫 =𝑻𝑷

𝑻𝑷 + 𝑭𝑵𝑩 =

𝑭𝑷

𝑻𝑷𝑸 =

𝑻𝑷

𝑻𝑷 + 𝑭𝑷 + 𝑭𝑵

Avg on all THEMIS 0.91 0.10 0.83

Avg on all HRSC 0.89 0.06 0.85

Avg on all images 0.90 0.09 0.84

Page 13: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

13

Crater geometric properties extracted by the proposed method

Crater 𝑪 = 𝒙𝟎, 𝒚𝟎 Semi-axes 𝒂, 𝒃 Orientation 𝜽

Crater 1 139, 393 35, 33 64°

Crater 2 258, 756 51, 50 115°

Crater 3 343, 23 13, 12 180°

Crater 4 591, 215 19, 18 31°

Crater 5 919, 157 15, 14 106°

HRSC SensorTHEMIS Sensor

HR

SC

Se

nso

rCrater Detect ion – Results

Page 14: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

14

Content

Introduction

Crater Detection

– Marked Point Process Model

– Energy Function

– Multiple Birth and Death Algorithm

– Region-of-Interest Approach

– Experimental Results

Image Registration

– 2-step Approach

– Experimental Results

Conclusion

Page 15: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

15

Image Registrat ion – 2-Step Optimizat ion

Why a 2-step Optimization?

Feature-based registration

• Min Hausdorff distance (𝑑ℋ) between extracted

craters through genetic algorithm

• Fast but sensitive to accuracy of crater maps

Area-based registration

• Max Mutual Information (𝑀𝐼) through genetic

algorithm

• Highly accurate but computationally heavy

Initialization

Fast registration based on

extracted craters 𝒑

Refinement: registration based on

mutual information in a

neighborhood of 𝒑 𝒑∗

RST (Rotation-Scale-Translation)

transforms 𝒑 = (𝑡𝑥, 𝑡𝑦, 𝜃, 𝑘)

Page 16: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

16

Image Registrat ion – Region of Interest

Transformation derived for the entire

Image 𝑝𝐴∗

𝑝𝐴 = (𝑇𝑥 , 𝑇𝑦, 𝛽, 𝛼)

Transformation found for an interactively

selected region of interest 𝑝𝐵∗

𝑝𝐵 = (𝑡𝑥 , 𝑡𝑦 , 𝜃, 𝑘)

𝑝𝐴∗ =

−𝑘 cos 𝜃 𝑥0− 𝑘 sin 𝜃 𝑦0+ 𝑡𝑥 + 𝑥0𝑘 sin 𝜃 𝑥0− 𝑘 cos 𝜃 𝑦0+ 𝑡𝑦 + 𝑦0

𝜃𝑘

reference image Superposition of Reference and Input

Input image

Page 17: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

17

Image Registrat ion – Data Sets

Semi-simulated image pairs

20 pairs composed of one real

THEMIS or HRSC image and of an

image obtained by applying a

synthetic transform and AWGN

Quantitative validation with respect to

the true transform (RMSE)

Real multi-temporal

image pairs

Real multi-temporal

pair of LROC (Lunar

Reconnaissance

Orbiter Camera)

images

100m resolution

Only qualitative visual

analysis is available,

as no ground truth is

available

Page 18: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

18

Registrat ion Results with Semi-synthet ic

Data

Data set RMSE [pixel]

THEMIS (10 data sets) 0.31

HRSC (10 data sets) 0.22

Average (20 data sets) 0.26

Lef t Image Right Image

𝑝𝐺𝑇 7.05, 35.91, 0.18°, 1.071 76.59, 19.96, 2.17°, 1.031

𝑝∗ 7.04, 35.92, 0.19°, 1.071 76.41, 20.06, 2.18°, 1.031

RMSE 1st Step 0.79 0.51

RMSE 2nd Step 0.16 0.33

1396×2334 HRSC

1581×1827 THEMIS

RGB of original non-

registered data

RGB of registered data

Page 19: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

19

Registrat ion Results with Real Data

Visually accurate matching between

reference and registered images in

the real multitemporal data set

( 1 )

( 2-3 ) ( 2-3 )

Checkerboard

representation of

the registered

images (zoom on

details)

Page 20: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

20

Registrat ion Results with Real Data

( 2-3 ) ( 2-3 )

( 1 )

Visually accurate matching between

reference and registered images in

the real multitemporal data set

Page 21: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

21

Content

Introduction

Crater Detection

– Marked Point Process Model

– Energy Function

– Multiple Birth and Death Algorithm

– Region-of-Interest Approach

– Experimental Results

Image Registration

– 2-step Approach

– Experimental Results

Conclusion

Page 22: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

22

Conclusions and Future Developments

Conclusions

• Accurate crater maps, useful for both

image registration and planetary science,

were obtained from data from different

sensors.

• Higher accuracy as compared to

previous work on crater detection (not

shown for brevity)

• Reduced time for convergence thanks to

a region-based approach

• Sub-pixel accuracy and visual

precision in registration: effectiveness of

the proposed 2-step registration method

Future Developments

• Test in conjunction with a parallel

implementation (e.g. computer cluster)

• Validation with multi-sensor real

images

• Extension to other applications

requiring the extraction of ellipsoidal or

circular features, e.g. optical Earth

observation images or medical images

Page 23: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

23

Short Bibliography

• G. Troglio, J. A. Benediktsson, G. Moser and S. B. Serpico, "Crater Detection Based on Marked Point

Processes," in Signal and Image Processing for Remote Sensing, CRC Press, 2012, p. 325–338.

• G. Troglio, J. Le Moigne, J. A. Benediktsson and G. S. S. B. Moser, "Automatic Extraction of

Ellipsoidal Features for Planetary Image Registration," IEEE Geoscience and Remote Sensing

Letters, vol. 9, pp. 95-99, 2012.

• S. Descamps, X. Descombes, A. Bechet and J. Zerubia, "Automatic Flamingo detection using a

multiple birth and death process," in IEEE International Conference on Acoustics, Speech and Signal

Processing, Las Vegas, NV, 2008.

• X. Descombes, R. Minlos and E. J. Zhizhina, "Object Extraction Using a Stochastic Birth-and-Death

Dynamics in Continuum," Journal of Mathematical Imaging and Vision, vol. 33, p. 347–359, 2009.

• E. Zhizhina and X. Descombes, "Double Annealing Regimes in the Multiple Birth-and-Death

Stochastic Algorithms," Markov Processes and Related Fields, Polymath, vol. 18, pp. 441-456, 2012.

• J. Le Moigne, N. S. Netanyahu and R. D. Eastman, Image Registration for Remote Sensing,

Cambridge University Press, 2011.

• I. Zavorin and J. Le Moigne, "Use of multiresolution wavelet feature pyramids for automatic

registration of multisensor imagery," IEEE Transactions on Image Processing, vol. 14, no. 6, pp. 770 -

782, 2005.

• J. M. Murphy, J. Le Moigne and D. J. Harding, "Automatic Image Registration of Multimodal Remotely

Sensed Data With Global Shearlet Features," IEEE Transactions on Geoscience and Remote

Sensing, vol. 54, no. 3, pp. 1685 - 1704, 2016.

• J. H. Holland, Adaptation in natural and artificial systems: an introductory analysis with applications to

biology, control, and artificial intelligence, University of Michigan Press, 1975, p. 183.

Page 24: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

24

Appendix

Page 25: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

25

MBD – Birth Step

For each pixel in the image compute the Birth Probability as min{𝛿 ∙ 𝐵 𝑠 , 1}, where:

𝐵 𝑠 =𝑏 𝑠

𝑠 𝑏 𝑠

Being 𝑏 𝑠 the Birth Map computed from the Canny Contour Map

Page 26: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

26

MBD – Death Step

For each ellipse 𝑥𝑖 in the configuration compute the Death Probability as 𝑑 𝑥𝑖 , where

𝑑 𝑥𝑖 =𝛿 ∙ 𝑎 𝑥𝑖

1 + 𝛿 ∙ 𝑎 𝑥𝑖

The complete Flowchart of the Death Step is as follows:

𝑎 𝑥𝑖 = 𝑒−𝛽 𝑈𝐿 {𝑥\𝑥𝑖}|𝐼𝑔 −𝑈𝐿 𝑥|𝐼𝑔 = 𝑒𝛽∙𝑈𝐿

𝑖 𝑥𝑖|𝐼𝑔and

Computation of the Energy Terms

Computation of Death Prob. based on Likelihood

Elimination of ellipses with prob. 𝑑 𝑥𝑖

Configuration refinement thanks to Prior term

Page 27: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

27

Similarity Measures

Hausdorff Distance Mutual Information

𝑆𝑖𝑚𝑖𝑙𝑎𝑟𝑖𝑡𝑦 = 𝑚𝑒𝑎𝑛𝑐

𝑖=1

𝑁𝑐

𝑡=1

𝑃

𝑑𝐻 𝑥𝑖𝑐 , 𝑥𝑡

c = craters in Input ImageNc = sum(pixels in crater c in Input Image)P = sum(craters′border pixels in Ref Image)xic = coord of pixel i in crater c in Input Image

xt = coord of pixel t in Ref Image′s craters

𝑀𝐼 𝑋, 𝑌 =

𝑥∈𝑋

𝑦∈𝑌

𝑝𝑋,𝑌 𝑥, 𝑦 𝑙𝑜𝑔𝑝𝑋,𝑌 𝑥, 𝑦

𝑝𝑋 𝑥 𝑝𝑌 𝑦

𝑋: pixel intensity in Reference Image

𝑌: pixel intensity in Input Image

𝑝𝑋 𝑥 : probability density function (pdf) of 𝑋𝑝𝑌 𝑦 : probability density function (pdf) of 𝑌𝑝𝑋,𝑌 𝑥, 𝑦 : joint pdf of 𝑋 and 𝑌

𝑝𝑋 𝑥 𝑝𝑌 𝑦 𝑝𝑋,𝑌 𝑥, 𝑦

estimated through

the corresponding

image histograms

Page 28: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

28

RST Transformation

Rotation – Scale – Translation Transformation

Transformation vector

𝑝 = 𝑡𝑥 , 𝑡𝑦 , 𝜃, 𝑘

𝑡𝑥 , 𝑡𝑦 : Translations in 𝑥 and 𝑦

𝜃: Rotation angle

𝑘: Scaling Factor

Matrix Formulation

𝑇𝑝 𝑥, 𝑦 =)𝑘 co s( 𝜃 )𝑘 si n( 𝜃 𝑡𝑥)−𝑘 si n( 𝜃 )𝑘 co s( 𝜃 𝑡𝑦

𝑥𝑦1

Original Rotation Scaling Translation

Page 29: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

29

Region of Interest Approach

𝐼𝐴 𝑋, 𝑌 , 𝐼𝐵 𝑥, 𝑦 : Two Images

𝐼𝐵: sub-image of 𝐼𝐴 such that 𝐼𝐵 0,0 = 𝐼𝐴 𝑥0, 𝑦0

𝑝𝐴 = (𝑇𝑥, 𝑇𝑦, 𝛽, 𝛼): RST transformation vector transforming 𝐼𝐴 into 𝐼𝐴𝑡𝑟

𝑝𝐵 = (𝑡𝑥 , 𝑡𝑦, 𝜃, 𝑘): RST transformation vector transforming 𝐼𝐵 into 𝐼𝐵𝑡𝑟

𝐼𝐵𝑡𝑟 0,0 = 𝐼𝐴

𝑡𝑟 𝑥0, 𝑦0

Given: 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛: 𝑝𝐵

𝑅𝑒𝑓𝑒𝑟𝑒𝑛𝑐𝑒 𝑜𝑓 𝑅𝑒𝑔𝑖𝑜𝑛: 𝑥0, 𝑦0Find: 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛: 𝑝𝐴

From the image

𝑋 = 𝑥 + 𝑥0𝑌 = 𝑦 + 𝑦0

Expressing the transformation in Matrix Form

𝑇𝑝𝐴 =𝛼 cos(𝛽) 𝛼 sin(𝛽) 𝑇𝑥−𝛼 sin(𝛽) 𝛼 cos(𝛽) 𝑇𝑦

∶ 𝑇𝑝𝐴 𝑋, 𝑌 = (𝑋′, 𝑌′)

𝑇𝑝𝐵 =𝑘 cos(𝜃) 𝑘 sin(𝜃) 𝑡𝑥−𝑘 sin(𝜃) 𝑘 cos(𝜃) 𝑡𝑦

∶ 𝑇𝑝𝐵 𝑥, 𝑦 = (𝑥′, 𝑦′)

This should also hold𝑇𝑝𝐴 𝑥 + 𝑥0, 𝑦 + 𝑦0 = (𝑥′ + 𝑥0, 𝑦′ + 𝑦0)

Plugging 𝑇𝑝𝐴 into this equation and replacing

𝑥′ and 𝑦′ according to 𝑇𝑝𝐵𝑘 cos 𝜃 𝑥 + 𝑘 sin 𝜃 𝑦 + 𝑡𝑥 + 𝑥0 =

𝛼 cos 𝛽 𝑥 + 𝑥0 + 𝛼 sin 𝛽 𝑦 + 𝑦0 + 𝑇𝑥

−𝑘 sin 𝜃 𝑥 + 𝑘 cos 𝜃 𝑦 + 𝑡𝑦 + 𝑦0 =

−𝛼 sin(𝛽) 𝑥 + 𝑥0 + 𝛼 cos(𝛽) 𝑦 + 𝑦0 + 𝑇𝑦

Knowing 𝛼 = 𝑘 and solving in 𝑃1 = (0,0) and 𝑃2 = −𝑥0, −𝑦0

𝑝𝐴 =

−𝑘 cos 𝜃 𝑥0− 𝑘 sin 𝜃 𝑦0+ 𝑡𝑥 + 𝑥0𝑘 sin 𝜃 𝑥0− 𝑘 cos 𝜃 𝑦0+ 𝑡𝑦 + 𝑦0

𝜃𝑘

Page 30: Planetary Crater Detection and Registration Using …...1 Planetary Crater Detection and Registration Using Marked Point Processes, Multiple Birth and Death Algorithms, and Region-based

30

RMS Error Computat ion

ComputedTransformation𝑝 = 𝑡𝑥, 𝑡𝑦 , 𝜃, 𝑘 𝑇𝑝 𝑥, 𝑦 = 𝑄𝑝 ∙ [𝑥, 𝑦, 1]𝑇

Ground Truth Transformation𝑝𝐺𝑇 = 𝑡𝑥1, 𝑡𝑦1, 𝜃1, 𝑘1 𝑇𝑝𝐺𝑇 𝑥, 𝑦 = 𝑄𝑝𝐺𝑇 ∙ [𝑥, 𝑦, 1]𝑇

Erorr Transformation

𝑝𝑒 = 𝑡𝑥𝑒, 𝑡𝑦𝑒 , 𝜃𝑒 , 𝑘𝑒 𝑄𝑃𝑒 = 𝑄𝑝 ∙ 𝑄𝑝𝐺𝑇−1

𝑘𝑒 =𝑘2𝑘1

, 𝜃𝑒 = 𝜃2 − 𝜃1

𝑡𝑥𝑒 = 𝑡𝑥2 − 𝑘𝑒 𝑡𝑥1 cos 𝜃𝑒 + 𝑡𝑦1 sin 𝜃𝑒

𝑡𝑦𝑒 = 𝑡𝑦2 − 𝑘𝑒 𝑡𝑦1 cos 𝜃𝑒 − 𝑡𝑥1 sin 𝜃𝑒

𝑥, 𝑦 ∈ Image, 𝑥′, 𝑦′, 1 𝑇 = 𝑄𝑃𝑒]∙ [𝑥, 𝑦, 1 𝑇 𝑥′

𝑦′ = 𝑘𝑒cos 𝜃𝑒 sin 𝜃𝑒−sin 𝜃𝑒 cos 𝜃𝑒

𝑥𝑦 +

𝑡𝑥𝑒𝑡𝑦𝑒

RMS Error: 𝐸 𝑝𝑒 =1

𝐴𝐵 0𝐴 0𝐵𝑥′ − 𝑥 2 + 𝑦′ − 𝑦 2𝑑𝑥𝑑𝑦, 𝛼 = 𝐴2 + 𝐵2

𝐸2 𝑝𝑒 =1

𝐴𝐵 0

𝐴

0

𝐵

𝑘𝑒 cos 𝜃𝑒 𝑥 + 𝑘𝑒 sin 𝜃𝑒 𝑦 + 𝑡𝑥𝑒 − 𝑥 2 + −𝑘𝑒 sin 𝜃𝑒 𝑥 + 𝑘𝑒 cos 𝜃𝑒 𝑦 + 𝑡𝑦𝑒 − 𝑦2𝑑𝑥𝑑𝑦

𝐸2 𝑝𝑒 =𝛼

3𝑘𝑒2 − 2𝑘𝑒 cos 𝜃𝑒 + 1 + 𝑡𝑥𝑒

2 + 𝑡𝑦𝑒2 − 𝐴𝑡𝑥𝑒

2 + 𝐵𝑡𝑦𝑒2 1 − 𝑘𝑒 cos 𝜃𝑒 − 𝑘𝑒 𝐴𝑡𝑦𝑒 − 𝐵𝑡𝑥𝑒 sin 𝜃𝑒