Perfectly Clear SDK Documentation  9.1.1.325
Perfectly Clear SDK v9
sdk-icon.png

Welcome to the Perfectly Clear SDK!. This guide will explain how to use the Perfectly Clear SDK to enable fully-automatic or interactive image corrections in your applications. In the Table of Contents on the left, the first several pages provide an overview of the SDK. Next you'll find several examples for various platforms, and finally a full reference section.

Version 9 has just been released. This includes a large set of image quality improvements, as well as new functions, file support, and a pre-build command line application included with each SDK license.

Quick Introduction

Applying the Perfectly Clear corrections will require the following steps:

  1. Enabling License setup with PFC_SetProtectionPath
  2. Loading image data into a PFCIMAGE (either directly from existing memory raster data, or using PFCImageFile)
  3. Setting the corrections you want to apply in a PFCPARAM (detailed here)
  4. Apply the corrections with PFC_AutoCorrect(), or separately call PFC_Calc() and then PFC_Apply() functions
  5. Reading the corrected data out of the PFCIMAGE, or again using PFCImageFile to write the results to a JPEG or PNG file

There are three main functional reference sections - one for the standard C library (PerfectlyClearPro.h), one for .NET development platform (PerfectlyClearAdapter.cs), and one for Android (V9.java). The function names are very similar, and the calling patterns are nearly identical. They are easy to confuse when looking back and forth through examples and this document. The correction parameter structures are also slightly different across the three platforms. Our Workbench application allows exporting these parameters into code ready to copy/paste into your projects.

There are sample projects (Linux & OSX Sample Code, Windows Sample Code, C# Sample Code) that show this in all platforms we support. Our sample applications also read and write from JPEG and PNG image files, and can read .preset files, as exported from our Desktop Applications, to make setting the correction parameters as easy as possible.

This was build from 003bb0b8375cd8d4a453bc2635c9487cfa1ef2c5 on Mon Feb 1 20:35:13 UTC 2021