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 7670185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:45:51+00:00 2026-05-31T15:45:51+00:00

I recently shifted my project library from Emgu CV to OpenCVSharp. The code for

  • 0

I recently shifted my project library from Emgu CV to OpenCVSharp.
The code for flipping the image(using pictureBox) in Emgu CV was:

Image<Bgr,Byte> f = _capture.QueryFrame().Flip(Emgu.CV.CvEnum.FLIP.HORIZONTAL)

I tried using the Flip(CvArr dst, FlipMode flip_mode) method in OpenCVSharp, but in vain.
I am no sure what to use for dst.

  • 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-05-31T15:45:52+00:00Added an answer on May 31, 2026 at 3:45 pm

    The Flip method in OpenCVSharp is declared here.

    The Flip method in EmguCV is declared on Line 4162 here. It sets dst to null (IntPtr.Zero in by its definition).

    The original OpenCV documentation on flip is here.

    For dst either specify a cvArr (whether IplImage or cvMat the same size as the cvArr you are calling Flip on.

    This means that the flipped array will be placed in the cvArr you pass in as dst and your source array src in OpenCV and this in OpenCVSharp will remain unchanged.

    If dst is null, then the array will be flipped in place. This means your source array will be changed to be the flipped array.

    If you want the same behaviour as you had as before, you can safely call myImage.Flip(null, FlipMode.Y); where myImage is your given IplImage or cvMat.

    If you are using an older version OpenCVSharp , then Flip takes the source argument as well, instead of getting it from the calling object. E.g Flip(img, null, FlipMode FlipMode.Y);

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

Sidebar

Related Questions

I shifted my hosting from Hostgator Shared to FDC Dedicated recently. But since then
I am a newbie at J2ME. Recently, I've shifted from Netbeans to Eclipse because
Recently downloaded some code for a minor open-source project related to a small webgame
I recently shifted from JAVA development environment to .net development environment. I am developing
Recently I've spotted a very disturbing issue. I've got the following python code: for
Recently I just got assigned a project to develop a web application/site that uses
Recently, sometimes (rarely) when we export data from our application, the export log contains
Recently I've wanted to do a number of things using CSS only to find
I recently shifted to a new organization that follow Agile mode of development. The
We have recently shifted to asp.net mvc, but we still need to support some

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.