I am working on this currently. See:
https://github.com/campagnola/pyqtgraph/tree/image-alignment

For images it seems to work; for ROIs there are still some issues.
I also have pending PRs that add unit tests for ImageItem and ROI that need
to go in before this one.

On Mon, Jul 4, 2016 at 9:48 AM, Vincent Le Saux <[email protected]>
wrote:

> Hi,
>
> To my knowledge, not yet.
>
> Vincent
>
> Le lundi 4 juillet 2016 16:02:42 UTC+2, Nicolas Coquelle a écrit :
>>
>> Hello Luke,
>>
>> I was wondering if this option (interpret axes in the opposite order) is
>> available in the current pyqtgraph version.
>> (Did not find in the documentation).
>>
>> Thanks in advance,
>>
>> Nico.
>>
>> On Thursday, March 6, 2014 at 2:19:04 AM UTC+1, Luke Campagnola wrote:
>>>
>>> Probably the image was transposed, not rotated. PyQtGraph interprets the
>>> axes of image data as [width, height], which is the opposite of most other
>>> standards. Unfortunately this behavior must be kept for backward
>>> compatibility, but I will be adding a config option soon that will cause it
>>> to interpret axes in the opposite order.
>>>
>>> For now, simply transposing the image data before giving it to pyqtgraph
>>> should suffice:   pg.image( img_data.T )
>>> This operation does not incur any performance overhead.
>>>
>>>
>>> On Wed, Mar 5, 2014 at 7:36 PM, <[email protected]> wrote:
>>>
>>>> Hi, I am newbie to pyqtgraph.I opened the image file with
>>>> scipy.misc.imread which stored the image data into numpy array and then
>>>> attached the numpy array to the imageItem. Then, I found that the image was
>>>> displayed with 90 degree rotation counter-clockwise. If I used the
>>>> matplotlib.imshow, the image would be displayed correctlly. Is there any
>>>> difference between the imageItem and the imshow function in matplotlib?
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "pyqtgraph" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/pyqtgraph/c126bba3-1a44-4759-a50e-f36e811c3ade%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/pyqtgraph/c126bba3-1a44-4759-a50e-f36e811c3ade%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "pyqtgraph" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyqtgraph/e17b11b1-f680-4322-870e-0c8f851b7af4%40googlegroups.com
> <https://groups.google.com/d/msgid/pyqtgraph/e17b11b1-f680-4322-870e-0c8f851b7af4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CACZXET_QHMsP7ndDVP503xeF-bzOLf1iMX6iUXyYHWgjXB6Uhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to