Definitions

ImebraAgeUnit_t

enum ImebraAgeUnit_t

Used by ImebraAge::setAge() and ImebraAge::getAge() to specify the unit of the age value.

Values:

ImebraDays = (char)'D'

Days.

ImebraWeeks = (char)'W'

Weeks.

ImebraMonths = (char)'M'

Months.

ImebraYears = (char)'Y'

Years.

ImebraImageQuality_t

enum ImebraImageQuality_t

This enumeration specifies the quality of the compressed image when a lossy compression format is used.

Values:

ImebraQualityVeryHigh = 0

the image is saved with very high quality. No subsampling is performed and no quantization

ImebraQualityHigh = 100

the image is saved with high quality. No subsampling is performed. Quantization ratios are low

ImebraQualityAboveMedium = 200

the image is saved in medium quality. Horizontal subsampling is applied. Quantization ratios are low

ImebraQualityMedium = 300

the image is saved in medium quality. Horizontal subsampling is applied. Quantization ratios are medium

ImebraQualityBelowMedium = 400

the image is saved in medium quality. Horizontal and vertical subsampling are applied. Quantization ratios are medium

ImebraQualityLow = 500

the image is saved in low quality. Horizontal and vertical subsampling are applied. Quantization ratios are higher than the ratios used in the belowMedium quality

ImebraQualityVeryLow = 600

the image is saved in low quality. Horizontal and vertical subsampling are applied. Quantization ratios are high

ImebraBitDepth_t

enum ImebraBitDepth_t

Defines the size of the memory allocated for each pixel’s color component and its representation (signed/unsigned).

This enumeration does not specify the highest bit used: in order to retrieve the highest used bit call Image::getHighBit().

The lower bit of the enumerations is 1 if it represents a signed depth, 0 if it represents an unsigned depth,

Values:

ImebraBitDepthU8 = 0

8 bit integer, unsigned

ImebraBitDepthS8 = 1

8 bit integer, signed

ImebraBitDepthU16 = 2

16 bit integer, unsigned

ImebraBitDepthS16 = 3

16 bit integer, signed

ImebraBitDepthU32 = 4

32 bit integer, unsigned

ImebraBitDepthS32 = 5

32 bit integer, signed

ImebraDirectoryRecordType_t

enum ImebraDirectoryRecordType_t

Specifies the directory item’s type.

Values:

ImebraDicomDirPatient
ImebraDicomDirStudy
ImebraDicomDirSeries
ImebraDicomDirImage
ImebraDicomDirOverlay
ImebraDicomDirModality_lut
ImebraDicomDirVoi_lut
ImebraDicomDirCurve
ImebraDicomDirTopic
ImebraDicomDirVisit
ImebraDicomDirResults
ImebraDicomDirInterpretation
ImebraDicomDirStudy_component
ImebraDicomDirStored_print
ImebraDicomDirRt_dose
ImebraDicomDirRt_structure_set
ImebraDicomDirRt_plan
ImebraDicomDirRt_treat_record
ImebraDicomDirPresentation
ImebraDicomDirWaveform
ImebraDicomDirSr_document
ImebraDicomDirKey_object_doc
ImebraDicomDirSpectroscopy
ImebraDicomDirRaw_data
ImebraDicomDirRegistration
ImebraDicomDirFiducial
ImebraDicomDirMrdr
ImebraDicomDirEndOfDirectoryRecordTypes

ImebraCodecType_t

enum ImebraCodecType_t

Defines the data stream & images codec.

Values:

ImebraCodecTypeDicom = 0

DICOM codec.

ImebraCodecTypeJpeg = 1

JPEG codec.

ImebraTagVR_t

enum ImebraTagVR_t

Enumerates the DICOM VRs (data types).

Values:

ImebraAE = 0x4145

Application Entity.

ImebraAS = 0x4153

Age String.

ImebraAT = 0x4154

Attribute Tag.

ImebraCS = 0x4353

Code String.

ImebraDA = 0x4441

Date.

ImebraDS = 0x4453

Decimal String.

ImebraDT = 0x4454

Date Time.

ImebraFL = 0x464c

Floating Point Single.

ImebraFD = 0x4644

Floating Point Double.

ImebraIS = 0x4953

Integer String.

ImebraLO = 0x4c4f

Long String.

ImebraLT = 0x4c54

Long Text.

ImebraOB = 0x4f42

Other Byte String.

ImebraSB = 0x5342

Non standard. Used internally for signed bytes.

ImebraOD = 0x4f44

Other Double String.

ImebraOF = 0x4f46

Other Float String.

ImebraOL = 0x4f4c

Other Long String.

ImebraOW = 0x4f57

Other Word String.

ImebraPN = 0x504e

Person Name.

ImebraSH = 0x5348

Short String.

ImebraSL = 0x534c

Signed Long.

ImebraSQ = 0x5351

Sequence of Items.

ImebraSS = 0x5353

Signed Short.

ImebraST = 0x5354

Short Text.

ImebraTM = 0x544d

Time.

ImebraUC = 0x5543

Unlimited characters.

ImebraUI = 0x5549

Unique Identifier.

ImebraUL = 0x554c

Unsigned Long.

ImebraUN = 0x554e

Unknown.

ImebraUR = 0x5552

Unified Resource Identifier.

ImebraUS = 0x5553

Unsigned Short.

ImebraUT = 0x5554

Unlimited Text.

ImebraDrawBitmapType_t

enum ImebraDrawBitmapType_t

Defines the type of the bitmap generated by ImebraDrawBitmap.

Values:

ImebraDrawBitmapRGB = 0

Generates a BMP image where each pixel contains 3 bytes (R, G and B)

ImebraDrawBitmapBGR = 1

Generates a BMP image where each pixel contains 3 bytes (B, G and R)

ImebraDrawBitmapRGBA = 2

Generates a BMP image where each pixel contains 4 bytes (R, G, B and A)

ImebraDrawBitmapBGRA = 3

Generates a BMP image where each pixel contains 4 bytes (B, G, R and A)

ImebraAge

class ImebraAge : public NSObject

Specifies an age, in days, weeks, months or years.

Public Functions

id ImebraAge::initWithAge:units:(unsigned int initialAge, ImebraAgeUnit_t initialUnits)

Constructor.

Parameters
  • initialAge: the initial age to assign to the object, in days, weeks, months or years, depending on the parameter initialUnits
  • initialUnits: the units of the value in initialAge

Property

property ImebraAge::years

Return the age in years.

Return
the stored age converted to years.

property ImebraAge::age

Return the age in the units returned by the property units.

Return
the stored age, speficied using the stored units.

property ImebraAge::units

Return the age’s units.

Return
the age’s units

ImebraDate

class ImebraDate : public NSObject

Public Functions

id ImebraDate::initWithYear:month:day:hour:minutes:seconds:nanoseconds:offsetHours:offsetMinutes:(unsigned int initialYear, unsigned int initialMonth, unsigned int initialDay, unsigned int initialHour, unsigned int initialMinutes, unsigned int initialSeconds, unsigned int initialNanoseconds, int initialOffsetHours, int initialOffsetMinutes)

Constructor.

Initialize the Date structure with the specified values.

Parameters
  • initialYear: year (0 = unused)
  • initialMonth: month (1…12, 0 = unused)
  • initialDay: day of the month (1…31, 0 = unused)
  • initialHour: hour (0…23)
  • initialMinutes: minutes (0…59)
  • initialSeconds: seconds (0…59)
  • initialNanoseconds: nanoseconds
  • initialOffsetHours: hours offset from UTC
  • initialOffsetMinutes: minutes offset from UTC

Property

property ImebraDate::year

Year (0 = unused)

property ImebraDate::month

Month (1…12, 0 = unused)

property ImebraDate::day

Day (1…12, 0 = unused)

property ImebraDate::hour

Hours.

property ImebraDate::minutes

Minutes.

property ImebraDate::seconds

Seconds.

property ImebraDate::nanoseconds

Nanoseconds.

property ImebraDate::offsetHours

Offset hours from UTC.

property ImebraDate::offsetMinutes

Offset minutes from UTC.

ImebraVOIDescription

class ImebraVOIDescription : public NSObject

ImebraDimseCommandType_t

enum ImebraDimseCommandType_t

DIMSE command types.

Values:

ImebraDimseCStore = 0x1

C-STORE.

ImebraDimseCGet = 0x10

C-GET.

ImebraDimseCFind = 0x20

C-FIND.

ImebraDimseCMove = 0x21

C-MOVE.

ImebraDimseCCancel = 0xfff

C-CANCEL.

ImebraDimseCEcho = 0x30

C-ECHO.

ImebraDimseNEventReport = 0x100

N-EVENT_REPORT.

ImebraDimseNGet = 0x110

N-GET.

ImebraDimseNSet = 0x120

N-SET.

ImebraDimseNAction = 0x130

N-ACTION.

ImebraDimseNCreate = 0x140

N-CREATE.

ImebraDimseNDelete = 0x150

N-DELETE.

ImebraDimseCommandPriority_t

enum ImebraDimseCommandPriority_t

Values:

ImebraPriorityLow = 0x2

Low priority.

ImebraPriorityMedium = 0

Medium priority.

ImebraPriorityHigh = 0x1

High priority.

ImebraDimseStatusCode_t

enum ImebraDimseStatusCode_t

The DICOM response status code.

Values:

ImebraDimseSuccess = 0

Success.

ImebraDimseUnsupportedOptionalAttributes = 0x0001

Requested optional Attributes are not supported.

ImebraDimseCannotUpdateperformedProcedureStepObject = 0x0110

Performed Procedure Step Object may no longer be updated.

ImebraDimseUnsupportedSOPClass = 0x0122

SOP Class not Supported.

ImebraDimseOutOfResources = 0xa700

Refused: Out of resources.

ImebraDimseOutOfResourcesCannotCalculateNumberOfMatches = 0xa701

Refused: Out of Resources - Unable to calculate number of matches.

ImebraDimseOutOfResourcesCannotPerformSubOperations = 0xa702

Refused: Out of Resources - Unable to perform sub-operations.

ImebraDimseMoveDestinationUnknown = 0xa801

Refused: Move Destination unknown.

ImebraDimseIdentifierDoesNotMatchSOPClass = 0xa900

Identifier does not match SOP Class.

ImebraDimseSubOperationCompletedWithErrors = 0xb000

Sub-operations Complete - One or more Failures.

ImebraDimseElementDiscarded = 0xb006

Element discarded.

ImebraDimseDatasetDoesNotMatchSOPClass = 0xb007

Data Set does not match SOP Class.

ImebraDimseUPSAlreadyCanceled = 0xb304

The UPS is already in the requested state of CANCELED.

ImebraDimseCoercedInvalidValuesToValidValues = 0xb305

Coerced invalid values to valid values.

ImebraDimseUPSStateAlreadyCompleted = 0xb306

The UPS is already in the requested state of COMPLETED.

ImebraDimseUnableToProcess = 0xc000

Unable to process.

ImebraDimseMoreThanOneMatchFound = 0xc100

More than one match found,.

ImebraDimseCannotSupportRequestedTemplate = 0xc200

Unable to support requested template.

ImebraDimseUPSNotUpdated = 0xc300

Refused: The UPS may no longer be updated.

ImebraDimseTransactionUIDNotProvided = 0xc301

Refused: The correct Transaction UID was not provided.

ImebraDimseUPSAlreadyInProgress = 0xc302

Refused: The UPS is already IN PROGRESS.

ImebraDimseCanScheduleOnlyWithNCreate = 0xc303

Refused: The UPS may only become SCHEDULED via N-CREATE, not N-SET or N-ACTION.

ImebraDimseUPSCannotChangeState = 0xc304

Refused: The UPS has not met final state requirements for the requested state change.

ImebraDimseInstanceUIDDoesNotExist = 0xc307

Specified SOP Instance UID does not exist or is not a UPS Instance managed by this SCP.

ImebraDimseUnknownAETitle = 0xc308

Receiving AE-TITLE is Unknown to this SCP.

ImebraDimseUPSNotSchedule = 0xc309

Refused: The provided value of UPS State was not SCHEDULED.

ImebraDimseUPSNotInProgress = 0xc310

Refused: The UPS is not yet in the “IN PROGRESS” state.

ImebraDimseUPSAlreadyCompleted = 0xc311

Refused: The UPS is already COMPLETED.

ImebraDimsePerformerCannotBeContacted = 0xc312

Refused: The performer cannot be contacted.

ImebraDimsePerformerDoesNotCancel = 0xc313

Refused: Performer chooses not to cancel.

ImebraDimseUnappropriateActionForInstance = 0xc314

Refused: Specified action not appropriate for specified instance.

ImebraDimseSCPDoesNotSupportEventReports = 0xc315

Refused: SCP does not support Event Reports.

ImebraDimseCanceled = 0xfe00

Terminated due to Cancel request.

ImebraDimsePending = 0xff00

Pending.

ImebraDimsePendingWithWarnings = 0xff01

Pending with warnings.

ImebraDimseStatus_t

enum ImebraDimseStatus_t

Simplified DIMSE response status code, derived from dimseStatusCode_t.

Values:

ImebraDimseStatusSuccess = 0

The operation was completed succesfully.

ImebraDimseStatusWarning = 1

The operation was completed with warnings.

ImebraDimseStatusFailure = 2

The operation failed.

ImebraDimseStatusCancel = 3

The operation was canceled.

ImebraDimseStatusPending = 4

The operation is still running.