Copy measurement table results in another variable
Hello,
is it possible to store the measurement results in a variable? I use following code to get the data:
Dim dataImgA As MediaCy.Addins.Measurements.McMMData = Nothing
With MediaCy.Automation.measure.MeasurementsCommands.GetData(Nothing) .Run(imgA, dataImgA) End With
I want to copy var "dataImgA" to "tmpDataImgA". But there is no ".Duplicate()" or ".Copy()" method available.
How can I solve this?
Thank you in advance
fsup
0
Comments
The class McMMData contains multiple functions and properties that exposes measurements on the image. It's not a data table.
How do you want to use this data? There could be different solutions, depending on what you want to do with the data. (it's possible to copy measurements to another image, get all results as statistics and so on). Let us know.
Yuri
You can save iqm file and also save results data table to a TXT or XLS file (just record a macro to see the commands).
Though I would recommend using Data Collector for that purpose: you can collect data from your polylines to Data Collector (from individual lines or statistics per image), delete, draw new, collect again (data collection can be a part of the macro) and all data will be preserved in data collector.
Yuri