Carlos Noriega
2011-06-07 00:53:03 UTC
Hi everybody
guidata and guiqwt are great tools that I believe will simplify my
life a lot, thanks Pierre.
However, I am still trying to grasp the basic concepts of them.
In my application, I basically want to load an image, transform it,
digitize some coordinates and draw some objects (circle, lines, etc)
on the image.
It seems I could easily do that once I learn guidata and guiqwt!
My first problem is that when I load an image with guiqwt
(builder.make.image(), following your examples), even if I do not
declare a colormap (or declare it as None), the image colors are
changed.
So, how do I load an image with its native colors?
Should I load the image using PyQt.QImage or convert it to a numpy
array using your function and then plot the image?
Thanks the great Spyder, guidata and guiqwt!
Carlos
guidata and guiqwt are great tools that I believe will simplify my
life a lot, thanks Pierre.
However, I am still trying to grasp the basic concepts of them.
In my application, I basically want to load an image, transform it,
digitize some coordinates and draw some objects (circle, lines, etc)
on the image.
It seems I could easily do that once I learn guidata and guiqwt!
My first problem is that when I load an image with guiqwt
(builder.make.image(), following your examples), even if I do not
declare a colormap (or declare it as None), the image colors are
changed.
So, how do I load an image with its native colors?
Should I load the image using PyQt.QImage or convert it to a numpy
array using your function and then plot the image?
Thanks the great Spyder, guidata and guiqwt!
Carlos