LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

default number of pixels of a cursor

Hi, I have a question about the a lab view program written on IMAC. I placed the cursor on the image and it will analyze an area centered around the cursor. I want to know whether there is a default number of pixels for that area centered around the cursor. Thanks! 
0 Kudos
Message 1 of 9
(3,594 Views)
Hello,

I'm not sure which image and cursor you're referring to here.  If this is a built application that is running on the machine, and that application was written to do image  analysis, then you'd probably want to consult with the person who created the application.  If you could post back with some more details about what you're asking, we might be able to help you out a bit more.  Also, this IMAC of which you speak, is this an Apple iMac computer, or are you possibly using our image acquisition (IMAQ) tools in the program?
Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 2 of 9
(3,568 Views)

thanks for your reply. Sorry for the confusion. I do not know much about programming. The IMAC means the image acquisition tools. Another person wrote the application software long time ago and he could not find the settings for the nubmer of pixel size. It is most likely the default number. The software was written using lab view. I used it to acquire images and analyze them. When I analyzed the image, I usually selected an area by placing the cursor on it. The program will anaylze an area centered around the cursor with certain number of pixels. I wonder if the lab view/IMAC has default nubmer for that.

 

 

0 Kudos
Message 3 of 9
(3,559 Views)
The problem is there a multiple ways to do what you are asking about.  There is no one function that does it.  The easiest way to do it would be to use the point selection tool on the image control, get the coordinates of it, and then create an oval ROI with an IMAQ Construct ROI.  You cannot just leave it with the default though because it is zero.  Perhaps if you attach your program I can take a look at it and see how the size of the ROI is determined.
 
Christopher W.
0 Kudos
Message 4 of 9
(3,536 Views)
Could you give email address so that I can send you the program?  I can not post it on the forum since it is for internal use only. Thanks!
0 Kudos
Message 5 of 9
(3,528 Views)

I can't post my email on the forums.  Can the person who wrote the VI not figure out how the size of the ROI?  I would look for a VI like ROI Construct.vi and see what the input is to the ROI Descriptor.  It should contain the size and shape of the ROI. If he can't figure out how the size is determined maybe he or you could write a simple VI that does the same thing that you could post on the forums.

Christopher W.

0 Kudos
Message 6 of 9
(3,520 Views)
My boss wrote the program for lab use quite some time ago and he could not figure out the settings now.  I will leave my email address here.   celli@21cn.com
 
If you can, I would like to directly send you  the program. thanks
0 Kudos
Message 7 of 9
(3,508 Views)

It does not appear that you are even using any IMAQ.  The program is using the cursors from a graph as inputs to determine the area of interest.  There is no VI that does this nor any default values for this operation, it is going to be however your boss coded it.  Since I cannot run the program nor do I know what to expect I can't figure out how the size is determined.  I think that your boss is the only one who will be able to figure it out since he wrote the code.

Christopher W.

0 Kudos
Message 8 of 9
(3,489 Views)
thanks
0 Kudos
Message 9 of 9
(3,486 Views)