OC support for multiple ROI intensity profiles for image window

Version: 2023b

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-26201

1.Added ImageLayer::GetFrameData() to get data by ROI.

BOOL GetFrameData(vector& vData, int nIndex = 0, const ROIInfo* proiInfo = NULL, DWORD dwCtrl = 0, vector<int>* pvnColIndices = NULL, vector<int>* pvnRowIndices = NULL);

2.Added ImageLayer::GetWeightedPointsByROI() to get weighted points by ROI.

BOOL GetWeightedPointsByROI(vector<UINT>& vnIndices, vector<double>& vAreas, const ROIInfo* proiInfo, double dMinPercentArea);

3.Added ImageLayer::PixelToXY() to convert pixel to XY value.

bool PixelToXY(int nPixelX, int nPixelY, double& dX, double& dY);