MATLAB Answers

"vision.Ge​ometricTra​nsformer" Object

57 views (last 30 days)
Itai Kadosh
Itai Kadosh on 25 Oct 2016
Edited: Walter Roberson on 9 May 2020
Hi, My code supposed to make correction (in video) by using Affine transform in the location of ROI that carried out in him a displacement and rotation. I used in “estimateGeometricTransform” function for make the Affine transform, but I would like to use in Object called "vision.GeometricTransformer" instead. How can I use this Object in order to make correction to displacement and rotation image by using the "vision.GeometricTransformer" Object with an emphasis on making this by Affine transform?
Thanks, Itai

  0 Comments

Sign in to comment.

Accepted Answer

Swarooph
Swarooph on 26 Oct 2016
Edited: Walter Roberson on 9 May 2020
Why do you like to use the vision.GeometricTransformer object? The documentation says "The vision.GeometricTransformer System object will be removed in a future release. Use the imwarp function with equivalent functionality instead." Here is an example that uses estimateGeometricTransform and imwarp with a similarity transform instead of affine. But the workflow for affine is similar. You just need to set the estimateGeometricTransform transformProperty input argument to affine.

  1 Comment

Itai Kadosh
Itai Kadosh on 27 Oct 2016
Hi Swarooph, First Thanks! I understood that if I would like to convert my Matlab code to C code maybe that can be a problem using "estimateGeometricTransform". This is correct? can I use the "estimateGeometricTransform" and convert the code to C? "estimateGeometricTransform" function is supported for generate C code from Matlb code? Thanks, Itai

Sign in to comment.

More Answers (1)

Fareez Fauzi
Fareez Fauzi on 11 Nov 2019
hello, can i know example algorithm of object detection removal and occlusion. because im doing my final project but i cant still find it in mathworks.

  0 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!