Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » image viewer
Re: image viewer [message #3106 is a reply to message #3094] Sun, 07 May 2006 15:14 Go to previous messageGo to previous message
mjkoskin is currently offline  mjkoskin
Messages: 5
Registered: May 2006
Promising Member
thanks,

scrollable area works, I'm able to view a complete image by srolling with sliders. (Though the sliders are both horizontal Sad

The image read by opencv consists of array of chars, B G R B G R ... and aligned with 4 byte boundaries. It's bit tricky to get the value: img->imageData[x+y*img->widthStep] returns the pixel (one color) at (x,y). So a routine to set a pixel in Image is needed.

thanks
-matti
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Encoding an image in base64
Next Topic: It can't dispay chinese characters properly
Goto Forum:
  


Current Time: Thu May 09 00:30:11 CEST 2024

Total time taken to generate the page: 0.01926 seconds