Comments (16)
I probably got it! Thanks for your answer!
from apap-image-stitching.
Hello.
You're right. According to the formula (8), np.sqrt is optional(redundant).
In my opinion, however, this is an MSE or RMSE difference(scale difference), not a major part.
Also, due to the problem of scale normalization(related to hyperparameters) in experience, it may have different results.
from apap-image-stitching.
Thanks for your reply, now here I understand, and I have a new question.
Hello. You're right. According to the formula (8), np.sqrt is optional(redundant). In my opinion, however, this is an MSE or RMSE difference(scale difference), not a major part. Also, due to the problem of scale normalization(related to hyperparameters) in experience, it may have different results.
from apap-image-stitching.
When performing local transformations, the direct understanding is to mesh SRC, and the points in each mesh share a local transformation array, and each distorted square after the transformation shares a reverse local transformation array (as shown in each green grid in the figure).
from apap-image-stitching.
But reverse warp is generally used(ensure that all points are mapped), and it does in your code. So the canvas is meshed,
and each regular small square in the canvas corresponds to a local transformation array (as shown in the figure).
That is, the grid of the image after warp is regular, while the mesh before warp is distorted.
1.Am I right to understand that?
from apap-image-stitching.
This is the warped SRC in the canvas, and each adjacent point with the same pixel value in the figure corresponds to the same local transformation array
from apap-image-stitching.
Well, According to the code, I divided the source image regularly into the meshes and warp the superpixels using the calculated local homography.
Therefore, the result is warped by local homography.
And I guess that you visualized the warped source(warped by local homographies) and divided it into the regular meshes.
I'm not sure your way, It is just a guessing.
Your visualization is interesting.
from apap-image-stitching.
Aha? In this diagram, I just visualized the meshing in your code.=。=
And doesn't the next line of your code indicate the mesh of the canvas instead of the source image? =。=
mesh = get_mesh((final_w, final_h), mesh_size + 1)
from apap-image-stitching.
Doesn't "final_xx" indicate the size of the canvas?
from apap-image-stitching.
As you know, Since the transformation is processed by the inverse homography, I think that mesh visualization should be on the source image.
This is just my way of implementation and I would appreciate it if you could show me the APAP code that warps from source to target in Python.
from apap-image-stitching.
My description above should be fixed. right?
from apap-image-stitching.
My description above should be fixed. right?
Sorry, I can't understand I can't understand this sentence.
from apap-image-stitching.
Well, According to the code, I divided the source image regularly into the meshes and warp the superpixels using the calculated local homography. Therefore, the result is warped by local homography. And I guess that you visualized the warped source(warped by local homographies) and divided it into the regular meshes. I'm not sure your way, It is just a guessing. Your visualization is interesting.
I mean this description.
from apap-image-stitching.
My description above should be fixed. right?
=.=What does ”fixed“ mean?
from apap-image-stitching.
As you know, Since the transformation is processed by the inverse homography, I think that mesh visualization should be on the source image.
This is just my way of implementation and I would appreciate it if you could show me the APAP code that warps from source to target in Python.
Yes, I agree with your statement. And I can't write APAP code that warps from source to target.
from apap-image-stitching.
My description above should be fixed. right?
=.=What does ”fixed“ mean?
never mind about this.
from apap-image-stitching.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apap-image-stitching.