Lynkeos
Classes | Macros | Enumerations | Functions | Variables
LynkeosProcessing.h File Reference

Image list processing protocol. More...

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#include <LynkeosCore/LynkeosCommon.h>
Include dependency graph for LynkeosProcessing.h:
This graph shows which files directly or indirectly include this file:

Classes

protocol  <LynkeosProcessingParameter>
 Processing parameter. More...
 
protocol  <LynkeosAlignResult>
 The alignment result for an image. More...
 
class  LynkeosImageProcessingParameter
 Processing parameter for image processing. More...
 
protocol  <LynkeosProcessable>
 This protocol is implemented by the classes which store and provide parameters. More...
 
protocol  <LynkeosProcessableItem>
 This protocol is implemented by the classes that can be the target of a processing. More...
 
protocol  <LynkeosImageList>
 Base protocol for an image list. More...
 
protocol  <LynkeosDocument>
 This protocol gathers the methods provided to the processing classes by the document. More...
 
protocol  <LynkeosProcessing>
 Common protocol for all processing classes. More...
 

Macros

#define GET_SAMPLE(s, p, x, y, w)
 Convenience macro for accessing a sample plane with the required precision. More...
 
#define SET_SAMPLE(s, p, x, y, w, v)
 Convenience macro for accessing a sample plane with the required precision. More...
 

Enumerations

enum  floating_precision_t { SINGLE_PRECISION, DOUBLE_PRECISION }
 Floating point precision of images.
 

Functions

u_short adjustFFTside (u_short n)
 Adjust a value to the nearest power of 2, 3, 5, 7 for efficient FFT. More...
 
void adjustFFTrect (LynkeosIntegerRect *r)
 Adjust a rectangle size for efficient FFT (keeping the same center) More...
 

Variables

const floating_precision_t LynkeosProcessingPrecision
 Get which processing precision this application was compiled with.
 
u_short numberOfCpus
 The number of CPUs to use in parallelizable processings.
 
u_char hasSIMD
 Whether the CPU has SIMD instructions.
 
NSString *const LynkeosAlignRef
 Process string for the align result.
 
NSString *const LynkeosAlignResultRef
 Reference for reading/setting the alignment result.
 
Notifications

Processing notifications.

NSString *const LynkeosProcessStartedNotification
 When a process is started. More...
 
NSString *const LynkeosProcessEndedNotification
 When a process ends. More...
 
NSString *const LynkeosUserInfoProcess
 The key for retrieving the process class from the user info.
 
NSString *const LynkeosProcessStackEndedNotification
 When all the image processings attached to an item are applied. More...
 
NSString *const LynkeosItemChangedNotification
 When an item of the document is changed. More...
 
NSString *const LynkeosUserInfoItem
 The key to retrieve the item from the user info.
 
NSString *const LynkeosItemWasProcessedNotification
 When an item was used by a list process. More...
 
NSString *const LynkeosItemAddedNotification
 When an item is added to a list. More...
 
NSString *const LynkeosItemRemovedNotification
 When an item is added or removed to/from a list. More...
 
NSString *const LynkeosListChangeNotification
 When the current list is changed.
 
NSString *const LynkeosDataModeChangeNotification
 When the current data mode changes.
 

Detailed Description

Image list processing protocol.

This protocol will be conformed to, by the classes which implements the processing of an image or a list of images.

Variable Documentation

NSString* const LynkeosProcessStartedNotification

When a process is started.

The object is the document, the user info contains the processing class.