Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8649241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:30:43+00:00 2026-06-12T13:30:43+00:00

I am new to OpenCV and I am learning to do some image processing.

  • 0

I am new to OpenCV and I am learning to do some image processing. As a part of my project, I have a problem of warping an image patch in form of an ellipse into a destination ellipse. As far as I understand, I would need to calculate the affine transform between the two patches, and then warp this transformation into the destination patch. Browsing the internet for help, I didn’t find a way to calculate affine transforms between two elliptical patches. Am I on the right track? I would be grateful if you could give me some suggestions how to proceed or where to look for more information.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:30:44+00:00Added an answer on June 12, 2026 at 1:30 pm

    The fact that your elements are ellipses is not relevant to the calculating of the transform. Transforms work equally well on arbitrary shapes. Say you have affine transforms [A] and [B] with respect to some origin O, you want the transform between [A] and [B]. There are several ways of thinking about doing this, the simplest one, is to get the transform from [A] to O, then from O to [B] and combine them. [A] to O is simply the inverse of [A] and O to [B] is just [B] so

    final_transform = [B]*inverse([A]);
    

    here is a similar question, solving with vector representations is equally valid.

    To do the actual warping you can use cv::warpAffine

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to OpenCV and image processing in general. I have photos taken with
I'm new to opencv and I have a problem when writing into a video
i'm new to image processing and opencv, but so far the easy to understand
I'm new to OpenCv and have been using it for a small project. I
I am new to opencv and I have a doubt with one of the
I am new to OpenCV and I have only Tiny C compiler configured on
I have been developing some computer vision tools with openCV, but every time that
I have some (OpenCV) code that generates images. I'm displaying these using OpenGL. When
I have modified the OpenCV demo application matching_to_many_images.cpp to query a image (left) to
I am new to learning openCV and was trying to reproduce an online example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.