I have seen the attached file, my output is almost same. I am just thinking is such results can be true. Because they are looking very strange. This was one reason so I still think its not working.
Hi Alexia,
Not working for these points ...
This is not a very specific description of you problem. It depends entirely on what you want: A glance over the documentation on FindGeometricTransform reveals that one has different choices of transformation, using the option TransformationClass (see in "Details and Options"). Obviously only with the setting "Perspective" (adopted here by the algorithm automatically) it is possible to meet the conditions for all your four points . But that leads apparently to a unwanted or unexpected result. The transformation as such is working, see my attached notebook.
FindGeometricTransform
TransformationClass
Regards -- Henrik
Thanks all. Not working for these points
coordimg1 = {{309., 174.}, {252., 98.}, {113., 116.}, {181., 161.}}
, 174.
, 98.
, 116.
, 161.
coordimg2 = {{314., 145.}, {267., 120.}, {159., 129.}, {215., 161.}}
, 145.
, 120.
, 129.
Here the markers are solid. Try this:
In[82]:= Union[ PixelValue[image, PixelValuePositions[ColorDistance[image, Green], Black, .1]]] Out[82]= {{0., 0.976471, 0., 1.}}
With highlight function can we also make the crossmarker solid. The marker does not looks so solid. I tried but it seems its not avilable with this.
Thank you so much.
I think your problem can nicely be solved: The function FindGeometricTransform is made for this kind of task. The crucial thing is to re-oder one of the sets of points, so that there is a correspondence between the points of both sets - see attached notebook. Hope that helps!