control point selection tool like function or code

3 visualizaciones (últimos 30 días)
Muhammad Abir
Muhammad Abir el 22 de Abr. de 2021
Hello,
I would like to create a window similar to what cpselect function can do in matlab. I was using cpselect for image registation but later found that the cpselect function cannot be added in the executalbe software that I built, so I am sort of stuck in the image registration process.
The main feature that I want to develop in the following:
  1. The draggable rectangle that actually zooms the image on top of the original image similar to what cpselect does
  2. Perform similar coordinate selection as cpselct does from the zoomed images
I can develop the rest of the process but I am currently struggling in these two steps. I just have no idea how to start this.
I would really appreaciate someone can help me out.
FixedImage= imread('cameraman.tif');
MovingImage= imrotate (FixedImage, -10, 'bilinear', 'crop');
[selectedMovingPoints,selectedFixedPoints]= cpselect(FixedImage,MovingImage, 'wait', true);

Respuestas (0)

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by