Good afternoon,
In MATLAB, I have several pairs of images of various designs. Images in pairs are received by different cameras. Images are in different orientations, although I created transformations (for each pair of images) that can be applied to correct it. Their borders contain the same physical region, but one image has smaller dimensions (i.e. 50x50 versus 250x250). Furthermore, the smaller image is not in a consistent place in the large image. However, the smaller image is within the boundaries of the larger image.
I would like to do the following: after applying my predefined transform to a larger image, I want to crop a portion of the larger image that has the same thing as the smaller image.
I know that I can point to XDataand YDatathe application of my transformation to output the converted image subset, but I do not know how to link it to larger image location. (Note: Transformations were created from breakpoint structures)
XData
YData
Please let me know if something is unclear.
Any help is greatly appreciated.
, , , , . , , imtransform .
imtransform
imtransform :
[out, xdata, ydata] = imtransform(in, tform);
in , tform , , , . XData YData. XData YData , . , , . , .
in
tform
out - , tform. XData YData - x y , . , , , . , , , .
out
x
y
NB: XData YData . , , ( , ), . , , , .
Source: https://habr.com/ru/post/1541295/More articles:how to apply apple iphone effect to menu list? - jqueryIs there a way to compare jQuery objects ignoring the attributes of the ORDER HTML code? - javascriptВозврат списка без использования объекта NHibernate - c#How to pass gulp frontmatters output to another plugin in gulp? - javascriptWhat happens if permission is declared in multiple manifests? - androidGIT + cocos2d-x: What files can be added to gitignore? - gitAfter impersonating a domain user in windows, an application running as an administrator cannot load a profile - impersonationИспользование вложенных запросов против CTE и производительности - sqlDo I need a recursive CTE to update a table that relies on itself? - sqlCan pop_back () ever reduce the capacity of a vector? (C ++) - c ++All Articles