ALROISpec Class Reference

Inherits from NSObject
Declared in ALROISpec.h

Overview

The Spec file where the unique features of the ROI are specified.

  size

The size to which the ROI should be normalized. The text/digit to read areas are specified relative to this size.

@property (nonatomic, assign) CGSize size

Declared In

ALROISpec.h

  dataPoints

All the defined regions in the ROI where the information to read is.

@property (nonatomic, strong) NSArray *dataPoints

Declared In

ALROISpec.h

– initWithDataPoints:size:

Init method for the ALROISpec.

- (instancetype)initWithDataPoints:(NSArray *)dataPoints size:(CGSize)size

Parameters

dataPoints

All the defined regions in the ROI where the information to read is.

size

The size of the ROI.

Return Value

A new instance of the ROI Specs.

Declared In

ALROISpec.h

– initWithDictionary:

Init method for the ALROISpec

- (instancetype)initWithDictionary:(NSDictionary *)dictionary

Parameters

dictionary

A dictionary representing an ALROISpec object.

Return Value

A new instance of the ROI Specs.

Declared In

ALROISpec.h

– initWithJSonFileName:

Init method for the ALROISpec.

- (instancetype)initWithJSonFileName:(NSString *)filename

Parameters

filename

A json file name which has to be in the NSBundle with the .json file ending

Return Value

A new instance of the ROI Specs.

Declared In

ALROISpec.h

– initWithJSonString:

Init method for the ALROISpec.

- (instancetype)initWithJSonString:(NSString *)jsonString

Parameters

jsonString

A json string representing an ALROISpec object

Return Value

A new instance of the ROI Specs.

Declared In

ALROISpec.h

– initWithJSonData:

Init method for the ALROISpec.

- (instancetype)initWithJSonData:(NSData *)jsonData

Parameters

jsonData

Json data representing an ALROISpec object.

Return Value

A new instance of the ROI Specs.

Declared In

ALROISpec.h

– dataPointsForLine:

Returns all the datapoints for a defined line number.

- (NSArray *)dataPointsForLine:(NSInteger)line

Parameters

line

The line number for the datapoints to return.

Return Value

An array of all the datapoints in the line. Note that there is no sort order garanteed.

Declared In

ALROISpec.h

– lineNumbers

- (NSArray *)lineNumbers