welch / rasl

Python implementation of RASL image alignment algorithm
MIT License
53 stars 13 forks source link

about data #1

Open liangjiubujiu opened 6 years ago

liangjiubujiu commented 6 years ago

和图片放在一起的.mat矩阵是什么,如何得来的呢/ what is the meaning of the matrix (point.mat)? and how to determine the value of it? thx

rickllyxu commented 6 years ago

The matrix contains 3 (x,y) coordinates of the according image. These 3 points determine the initial state of the image.

liangjiubujiu commented 6 years ago

but these coordinates(x,y) are not the integer numbers that are float numbers ,so I guess that the coordinates may be transformed by a rule .I want to know something about the rule

rickllyxu commented 6 years ago

By my experiment two years ago, these coordinates make up a triangle if you connect each other. You will be surprised that this triangle describes the initial rotation of the object in the picture. Note that the object in the paper is faces or windows of a build. I'd like to point out the .mat file is just used to initialize the a rotation parameter in ADMM algorithm. I think you would better focus on how to formulate the problem, and understand its optimization technique and algorithms. Any question about the paper is welcome. btw, I am from uestc, too.

liangjiubujiu commented 6 years ago

great! I have a batch of images about light field, how can I get these corresponding .mat. I want to get .mat ,can you give me some advices?

liangjiubujiu commented 6 years ago

just require these coordinates to make up a trangle ? I use opencv and python to find the character points, I am not sure if these character points can replace the points in .mat? or if you have time now, can you give me more details

liangjiubujiu commented 6 years ago

rotation parameter in ADMM algorithm is not random right? cause I want to test if the RASL can use to slove the processing of light field images.

rickllyxu commented 6 years ago

Right! just pick three coordinates whose triangle covers the object in picture. For example, the point located on the forehead and two located on the lower jaws are a reasonable coordinates combination.

liangjiubujiu commented 6 years ago

I send e-mail to you rickllykqxu@gmail.com,can we talk in Chinese?HAHA~ my mailbox is 13792590613@163.com

liangjiubujiu commented 6 years ago

I find the datas in .mat is not like (1,3),(4,6)... but (44.12,65.32) I wonder why one coordinate are not an integer but a decimal?

liangjiubujiu commented 6 years ago

if objects in my images are not windows or faces, does RASL work?

liangjiubujiu commented 6 years ago

image I found the Matlab code about RASL, In this picture, what does the parameter raslpara.canonicalCoords mean? how to determine it?

liangjiubujiu commented 6 years ago

I notice that only two points in .mat,how to determine the other point to make up a triangle?

rickllyxu commented 6 years ago

the variable canonicalImageSize describes the length and width of the retangle which can cover the whole object. Sorry I forget the meaning of the canonicalCoords.