a reference struct to gather information for image transformationas 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_s * | viewport |
double | resolution_x |
double | resolution_y |
oyPixel_t * | layout_ |
oyCHANNELTYPE_e * | channel_layout |
int | width |
int | height |
oyOptions_s * | options_ |
oyProfile_s * | profile_ |
int | display_pos_x |
int | display_pos_y |
oyStruct_s * | pixel_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_s * | user_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_s * | oyImage_Create (int width, int height, oyPointer channels, oyPixel_t pixel_layout, oyProfile_s *profile, oyObject_s object) |
collect infos about a image | |
oyImage_s * | oyImage_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_s * | oyImage_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 |
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().
Should oyImage_s become internal and we provide a user interface?
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().
data height
Referenced by oyImage_FillArray(), oyImage_Release(), and oyPixelAccess_s::oyPixelAccess_CalculateNextStartPixel().
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().
struct used by each subsequent call of g/set* pixel acessors
Referenced by oyImage_DataSet(), oyImage_GetArray2dLineContinous(), oyImage_GetArray2dLinePlanar(), oyImage_GetArray2dPointContinous(), oyImage_GetArray2dPointPlanar(), and oyImage_Release().
image profile
Referenced by oyFilterNode_s::oyFilterNode_ConnectorMatch(), oyImage_CreateForDisplay(), oyImage_Release(), and oyImage_SetCritical().
oyStruct_Release_f oyImage_s::release |
release function
Referenced by oyImage_Create().
double oyImage_s::resolution_x |
resolution in horizontal direction
double oyImage_s::resolution_y |
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().
uint16_t oyImage_s::subsampling[2] |
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