Hello,
I have QML Image element in view.
What I want to do is onPress event I want to read pixel value of the loaded image.
How should I proceed with QtQuick2?
Regards
Hello,
I have QML Image element in view.
What I want to do is onPress event I want to read pixel value of the loaded image.
How should I proceed with QtQuick2?
Regards
In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
The advance of computerization however, has not yet wiped out nations and ethnic groups.
So in that case, how to interact with pixels from QtQuick2. Lets say I want to get value of the pixel on the image that user click on.
In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
The advance of computerization however, has not yet wiped out nations and ethnic groups.
Maybe you could calculate the position of the x, y of mouse from qml
then use Qt/c++ to load the image and print out the value according to the x, y position
Last edited by stereoMatching; 3rd June 2013 at 09:10.
Bookmarks