EyeQ Docs

API Reference

Complete API reference for the Perfectly Clear SDK, covering C and .NET interfaces.

The Perfectly Clear SDK provides two main functional interfaces for integrating image correction capabilities into your applications.

C API

The native C library defined in PerfectlyClearPro.h provides the core SDK functionality and is the primary interface used across all platforms including Linux, macOS, and Windows.

  • Functions — Core functions for image correction, engine management, and analysis
  • Enums — Enumerations for pixel formats, correction modes, and status codes
  • Structs — Parameter structures for configuring corrections
  • Error Codes — Status codes and decode macros for error handling

.NET API

The .NET wrapper defined in PerfectlyClearAdapter.cs provides a managed interface for Windows development using C#, with function names and calling patterns that closely mirror the C API.

  • Overview — .NET API overview and quick start
  • Classes — Main classes and their methods
  • Error Handling — Patterns for handling errors in .NET
  • Exceptions — Exception types thrown by the SDK

Data Structures

These core types are documented in the C API structs page.

  • StructsPFCIMAGE, PFCENGINE, PFCIMAGEPROFILE, geometry types, and correction parameter structs

Choosing an Interface

This table helps you select the appropriate interface based on your application requirements.

Use CaseRecommended Interface
Linux or macOS server-side processingC API
Cross-platform desktop applicationsC API
Windows-only .NET applications.NET API
Unity or other C# game engines on Windows.NET API

Both interfaces provide identical correction capabilities, and the .NET API is a wrapper around the C library so performance characteristics are equivalent.

PFC-SDK Version 10.7.3.1317 built from df9dbc8727c92fb9b1d2c68b21e60ea9c7229e1a on 03-23-2026.

Copyright © 2026 EyeQ Imaging Inc. All rights reserved.

On this page