12-18-2008 04:06 AM
i am really tired of this useless piece of junk which is the image display window, as seen when using the imaqDisplayImage() function call.
WILL YOU EVER BRING US SOMETHING USABLE ?
- no possibility to integrate this display into a CVI panel, apart from a hack which you can find somewhere around this forum.
- event callback missing a way to receive some user data (like other CVI controls)
- event callbacks which does not fire any events if no tool is selected, rendering this display useless for standard user interaction, like selecting an object in the image
- awful ROI management: when creating and deleting contours using the tool window, contours IDs of untouched contours are modified, keeping track of which contour is which is a nightmare.
- missing a delete contour event ! how can we know if a user deletes a contour ?
- no way to restrict user actions, like disabling the delete key, so that user stops deleting contours.
- no mouse move event, thus no lightweight way to show the user the color value of the pixel under the mouse.
- no way to swallow an event in the event callback.
the list keeps on growing...
but of course, there is no way available to properly display the contours overlaid on an image without using this piece of crap ! i already asked here about overlay display, noone ever answered. also, i am a CVI user and i don't want to instantiate a heavyweight ActiveX control like those in Measurement Studio.
WILL YOU EVER CONSIDER REWORKING THIS IMAGE DISPLAY WINDOW ?
12-18-2008 05:03 PM
Hi,
The short answer to your questions is: we are reading your complaints and we are looking into it.
We essentially agree that our current image display solution is not optimal and we can improve upon it. Since there haven't been many complaints in the past about this it has not made it into our list of priorities, but we are always looking for feedback and are taking this feedback seriously.
I understand your frustration and assure you that there are internal talks on how to deal with this issue.
Thanks,
Carlos
12-24-2008 10:07 AM
I'm working on a program (LabView 7 with IMAQ Vision, so I may be a bit dated) on Windows XP). I read an image in from a file, display it on the image indicator, and the user can select multiple ROI's for further processing. So far so good, except:
* I can read the mouse location using the event capture facility, but it gives me the location in indicator window coordinates, and there's no good way to map that to image coordinates. I'd have to hack how wide the frame is, and so forth. The indicator property node doesn't give the mouse location in image coordinates.
* I figured out that one can combine the ROI's into a group (PLEASE DOCUMENT THIS SOMEWHERE IN THE HELP FILE!!! - for that matter, please document the ROI itself somewhere) and display multiple rectangular ROI's on the indicator. However there's no indication as to which one is currently being manipulated by the user or was last changed. There's no change in the ROI output from the indicator, unless I resize one, and no property to indicate which one is currently active.
* The indicator lets me add ROI's, using the rectangle tool, and select, resize, and move them, using the selection tool. However there's no way to delete an ROI. Neither Backspace nor Delete do anything.
- so, how can I delete a specific ROI if I can't explicitely delete it and can't figure out which ROI the mouse was in when the delete key was pressed?