Support Center

Request sample for get region of interest coordinates

Rex Chan Aug 04, 2015 05:06AM EDT

hello!

Is there any sample program to get region of interest image coordinate by using "selected" tools from viewer ?


Thanks,
Rex Chan

2 Data Techniques Responses and 1 Community Responses

Up 1 Rated Down
DTI Support  Data Techniques Employee Aug 04, 2015 09:33AM EDT

Hello,

Yes, you can set either the LeftMouseBehavior or RightMouseBehavior properties to Select, then in the viewer's SelectionChanged event you can add code to get the .Selection property which contains the coordinates of the selected area. You can also control whether the select rectangle remains in the screen using the Persist property.

You can see more details at http://www.data-tech.com/help/imnet/webframe.html#topic60.html

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
John
Data Techniques Support

Up 0 Rated Down
Rex Chan  Data Techniques Employee Aug 05, 2015 09:58AM EDT

Thanks I got it.

How to I redraw region of interest rectangle when I reload image again ?

Thanks,
Rex Chan

Up 0 Rated Down
DTI Support  Data Techniques Employee Aug 05, 2015 04:15PM EDT

Hi,

You can set the properties for the region in the Selected rectangle object on the viewer control after you load the new image,

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us