oyImage_s Struct Reference
[Image API]

a reference struct to gather information for image transformation

as we dont target a complete imaging solution, only raster is supported More...

#include <oyranos_alpha.h>


Data Fields

oyOBJECT_e type_
oyStruct_Copy_f copy
oyStruct_Release_f release
oyObject_s oy_
oyRegion_sviewport
double resolution_x
double resolution_y
oyPixel_tlayout_
oyCHANNELTYPE_echannel_layout
int width
int height
oyOptions_soptions_
oyProfile_sprofile_
int display_pos_x
int display_pos_y
oyStruct_spixel_data
oyImage_GetPoint_f getPoint
oyImage_GetLine_f getLine
oyImage_GetTile_f getTile
oyImage_SetPoint_f setPoint
oyImage_SetLine_f setLine
oyImage_SetTile_f setTile
int tile_width
int tile_height
uint16_t subsampling [2]
int sub_positioning
oyStruct_suser_data

Related Functions

(Note that these are not member functions.)

oyPointer oyImage_GetArray2dPointContinous (oyImage_s *image, int point_x, int point_y, int channel, int *is_allocated)
 standard continous layout pixel accessor
oyPointer oyImage_GetArray2dLineContinous (oyImage_s *image, int point_y, int *height, int channel, int *is_allocated)
 standard continous layout line accessor
oyPointer oyImage_GetArray2dPointPlanar (oyImage_s *image, int point_x, int point_y, int channel, int *is_allocated)
 standard planar layout pixel accessor
oyPointer oyImage_GetArray2dLinePlanar (oyImage_s *image, int point_y, int *height, int channel, int *is_allocated)
 standard continus layout line accessor
oyImage_soyImage_Create (int width, int height, oyPointer channels, oyPixel_t pixel_layout, oyProfile_s *profile, oyObject_s object)
 collect infos about a image
oyImage_soyImage_CreateForDisplay (int width, int height, oyPointer channels, oyPixel_t pixel_layout, const char *display_name, int display_pos_x, int display_pos_y, oyObject_s object)
 collect infos about a image for showing one a display
oyImage_soyImage_Copy (oyImage_s *image, oyObject_s object)
 copy a image
int oyImage_Release (oyImage_s **obj)
 release a image
int oyImage_SetCritical (oyImage_s *image, oyPixel_t pixel_layout, oyProfile_s *profile, oyOptions_s *options)
 set a image
int oyImage_DataSet (oyImage_s *image, oyStruct_s **pixel_data, oyImage_GetPoint_f getPoint, oyImage_GetLine_f getLine, oyImage_GetTile_f getTile)
 set a custom image data backend
int oyImage_FillArray (oyImage_s *image, oyRegion_s *region, int do_copy, oyArray2d_s **array, oyObject_s obj)
 creata a array from a image and fill with data


Detailed Description

a reference struct to gather information for image transformation

as we dont target a complete imaging solution, only raster is supported

Resolution is in pixel per centimeter.

Requirements:

To set a image data backend use oyImage_DataSet().

inline_dotgraph_16.dot

Should oyImage_s become internal and we provide a user interface?

Version:
Oyranos: 0.1.8
Since:
2007/11/00 (Oyranos: 0.1.8)
Date:
2008/08/23

Field Documentation

non profile described channels

Referenced by oyFilterNode_s::oyFilterNode_ConnectorMatch(), and oyImage_Release().

oyStruct_Copy_f oyImage_s::copy

copy function

Possibly this can be part of the output profile; upper position on display of image

Referenced by oyImage_CreateForDisplay().

left position on display of image

Referenced by oyImage_CreateForDisplay().

the line interface

Referenced by oyImage_DataSet(), and oyImage_FillArray().

the point interface

Referenced by oyImage_DataSet(), and oyImage_FillArray().

the tile interface

Referenced by oyImage_DataSet(), and oyImage_FillArray().

samples mask; the oyPixel_t pixel_layout variable passed during oyImage_Create is stored in position 0

Referenced by oyFilterNode_s::oyFilterNode_ConnectorMatch(), oyImage_FillArray(), oyImage_GetArray2dLinePlanar(), oyImage_GetArray2dPointContinous(), oyImage_GetArray2dPointPlanar(), and oyImage_Release().

channel layout (? undecided)

Referenced by oyImage_SetCritical().

base object

Referenced by oyImage_Copy(), oyImage_Release(), and oyImage_SetCritical().

oyStruct_Release_f oyImage_s::release

release function

Referenced by oyImage_Create().

resolution in horizontal direction

resolution in vertical direction

oyImage_SetLine_f oyImage_s::setLine

the line interface

oyImage_SetPoint_f oyImage_s::setPoint

the point interface

oyImage_SetTile_f oyImage_s::setTile

the tile interface

0 None, 1 Postscript, 2 CCIR 601-1

Referenced by oyFilterNode_s::oyFilterNode_ConnectorMatch().

1, 2 or 4

needed by the tile interface

needed by the tile interface

struct type oyOBJECT_IMAGE_S

Referenced by oyImage_Copy(), oyImage_DataSet(), oyImage_FillArray(), and oyImage_Release().

user provided pointer

Referenced by oyImage_Release().

intented viewing area, normalised to the pixel width == 1.0


Generated on Tue Mar 10 09:45:19 2009 for Oyranos by  doxygen 1.5.8