2026-01-26 14:51:28 +09:00

27 lines
1.1 KiB
C#

/*
* Copyright (c) 2025 LG Electronics Inc.
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
*/
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, CamConfig camConfig);
object CropImage(object image, ROI cropRoi);
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);
}
}