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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:19:27+00:00 2026-05-26T18:19:27+00:00

I am trying to do some manipulations on images using OpenCV. I am receiving

  • 0

I am trying to do some manipulations on images using OpenCV.

I am receiving a stream of images in RGB 5-6-5 and I would like to rotate them 90 clockwise and 90 counter-clockwise.

I have written code to convert it from RGB 5-6-5 to ARGB 8-8-8-8 (32 bits) so that I can load into a Mat of CV_8UC4 but after the rotation, it looks a bit jerky.

Does anyone have a good solution on how I could rotate a 5-6-5 image please? I am always rotating by 90 degress or -90 (width becomes height and vice versa), so I should stay the same quality.

Thank you very much.

EDIT:

I figured out a nice solution: choosing CV_16UC1 works fine. I can then do a transpose() followed by a flip(). Works like a charm!

  • 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-26T18:19:28+00:00Added an answer on May 26, 2026 at 6:19 pm

    I figured out a nice solution: choosing CV_16UC1 works fine. I can then do a transpose() followed by a flip(). Works like a charm!

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

Sidebar

Related Questions

I'm using ImageMagick to do some image manipulation. I'm trying to stream a file
I'm trying to rename some files in a directory using Python. Say I have
I'm trying to get a Python 3 program to do some manipulations with a
I'm using Emgu.CV to perform some basic image manipulation and composition. My images are
I'm trying to flatten some images I get from a server down to 40
I'm trying to do some simple manipulations with variables in MySQL 5.0 but I
I'm trying to do some data manipulation in R. I have 2 data frames,
Basically, I'm trying to do some string manipulation to edit directories. I found some
I'm trying to write a simple AppleScript to do some text manipulation on the
I'm trying some iOS test applications on the new Mac mini, that supports Bluetooth

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.