MATLAB Answers

0

Feature Based Panoramic Image Stitching

Asked by Axel veillon on 29 Feb 2016
Latest activity Edited by Axel veillon on 4 Mar 2016
Hi everybody
I would like to do the same work but I also need functions that are supported for C and C++. For some of them in the example, they are not supported by Matlab Coder.
I am looking for alternative for this functions: - Fullfile - SetImage - read - step
if you have any idea do not hesitate.
Thank you

  1 Comment

Hi
I have an other issue, as I want a vertical stitching (it's an horizontal in the example), I want to modify the parameter TransformType of EstimateGeometricTransform. I have three possibilties, 'Similarity', 'Projective' and 'Affine'. I know that similarity contains the rotation, translation and uniform scaling transformations.
For my work I need only the 'translation' transformation.
Is threre any way to get just the translation transformation with estimateGeometricTransform ?
if you have any idea do not hesitate.
Thank you

Sign in to comment.

1 Answer

Answer by Dima Lisin
on 29 Feb 2016
 Accepted Answer

Hi Alex,
fullfile is a function to create a path to your image folder. It simply concatenates the strings you give it with the OS-appropriate separator. You can easily write your own code to do that.
imageSet is an object, which manages a collection of image files, and read is one of its methods, which ultimately calls imread. Unfortunately, imread does not yet support code generation. So you would need to refactor the code in the example to separate reading of the image files from the actual stitching, and handle the reading of the files yourself.
The only step method used in this example belongs to the vision.AlphaBlender system object, and that is supported by MATLAB Coder.

  0 Comments

Sign in to comment.