#import <LynkeosProcessing.h>


Public Member Functions | |
| (u_short) | - numberOfPlanes |
| Get the number of color planes. | |
| (MyIntegerSize) | - imageSize |
| Read the image size. | |
| (NSImage *) | - getNSImage |
| Returns an NSImage for displaying. | |
| (void) | - getImageSample:inRect: |
| Read a calibrated sample from an image. | |
| (void) | - getFourierTransform:forRect:prepareInverse: |
| Access to the Fourier transform of the image. | |
| (void) | - setFourierTransform: |
| Set the fourier transform after processing. | |
| (void) | - setImage: |
| Save the resulting image. | |
| (void) | - setOriginalImage: |
| Save the resulting image as the original image. | |
| (void) | - revertToOriginal |
| Delete any processing result and go back to using the "original" image. | |
| (BOOL) | - isOriginal |
| Wether the image is the original or has been processed. | |
| (void) | - setBlackLevel:whiteLevel:gamma: |
| Sets the levels for image visualization. | |
| (BOOL) | - getBlackLevel:whiteLevel:gamma: |
| (BOOL) | - getMinLevel:maxLevel: |
| - (u_short) numberOfPlanes |
Get the number of color planes.
| - (MyIntegerSize) imageSize |
Read the image size.
| - (NSImage*) getNSImage |
| - (void) getImageSample: | (MyImageBuffer **) | buffer | ||
| inRect: | (MyIntegerRect) | rect | ||
Read a calibrated sample from an image.
| buffer | The image or Fourier buffer to fill, if nil it is created | |
| rect | The rectangle in which to extract the sample (it shall be entirely inside the image) *buffer can be nil, in which case it will be allocated by the called method. The precision of the buffer is implied by the "processing" method ; because Lynkeos provides only buffers of its compiled precision. |
| - (void) getFourierTransform: | (MyFourierBuffer **) | buffer | ||
| forRect: | (MyIntegerRect) | rect | ||
| prepareInverse: | (BOOL) | prepareInverse | ||
Access to the Fourier transform of the image.
| buffer | The buffer in which to put the transform | |
| rect | The rectangle from which the data to transform is extracted | |
| prepareInverse | Wether to prepare the buffer for an inverse transform |
| - (void) setFourierTransform: | (MyFourierBuffer *) | buffer |
Set the fourier transform after processing.
| buffer | The processed fourier transform The processable item makes the inverse transform when appropriate |
| - (void) setImage: | (MyImageBuffer *) | buffer |
Save the resulting image.
| buffer | The buffer containing the image processing result. |
| - (void) setOriginalImage: | (MyImageBuffer *) | buffer |
Save the resulting image as the original image.
| buffer | The buffer containing the image processing result. |
| - (void) revertToOriginal |
Delete any processing result and go back to using the "original" image.
| - (BOOL) isOriginal |
Wether the image is the original or has been processed.
| - (void) setBlackLevel: | (double) | black | ||
| whiteLevel: | (double) | white | ||
| gamma: | (double) | gamma | ||
Sets the levels for image visualization.
| black | The level below which only black is diplayed | |
| white | The level above which white is displayed | |
| gamma | The gamma correction |
1.5.4