22 lines
998 B
C#
22 lines
998 B
C#
using Aurora.Api.DataType;
|
|
using System.Collections.Generic;
|
|
using System.Windows;
|
|
|
|
namespace VisionCommon {
|
|
public interface IIpEnvironment {
|
|
void ClearImage(object image);
|
|
int FreeImage(object image);
|
|
int SaveImage(string filePath, object image);
|
|
object LoadImage(string filePath);
|
|
object LoadImage(string filePath, eBoardType boardType, eBoardSlotPos boardSlotPos);
|
|
ImageSize GetImageSize(object image);
|
|
ImagePoint GetImageCenter(object image);
|
|
bool ImageSizeEquals(ImageSize imageSize1, ImageSize imageSize2);
|
|
int GetSharpnessWithCropRoi(object image, Rect cropRoi);
|
|
int GetSharpnessWithCropRoi(object image, ROI cropRoi);
|
|
int SaveScreenShot(string filePath, List<FovInfo> fovInfos, eDisplayType displayType, object image = null);
|
|
bool IsFlipEnabled(CamConfig camConfig);
|
|
bool IsRotationEnabled(CamConfig camConfig);
|
|
bool IsHeightLongerThanWidth(CamConfig camConfig);
|
|
}
|
|
} |