Fulguro Logo Support This Project

Array Manipulation
[Core]


Detailed Description

Main functions to allocate and manipulate 2D Array.


Functions

FLGR_Ret flgr1d_clear_all (FLGR_Data1D *data)
FLGR_Data1Dflgr1d_create (int length, int spp, FLGR_Type type, FLGR_Shape shape)
FLGR_Data1Dflgr1d_create_from (FLGR_Data1D *dat)
FLGR_Data1Dflgr1d_create_neighborhood (int length, int spp, FLGR_Type type, FLGR_Shape shape)
FLGR_Data1Dflgr1d_create_neighborhood_from (FLGR_Data1D *dat)
FLGR_Data1Dflgr1d_create_signal (int length, int spp, FLGR_Type type)
FLGR_Data1Dflgr1d_create_signal_from (FLGR_Data1D *dat)
int flgr1d_data_is_shape (FLGR_Data1D *data, FLGR_Shape shape)
int flgr1d_data_is_type (FLGR_Data1D *data, FLGR_Type type)
FLGR_Ret flgr1d_data_set_shape (FLGR_Data1D *dat, FLGR_Shape shape)
FLGR_Ret flgr1d_destroy (FLGR_Data1D *dat)
FLGR_Ret flgr1d_get_data_no_norm_ptr (FLGR_Data1D *dat, int pos, void *value)
FLGR_Ret flgr1d_get_data_ptr (FLGR_Data1D *dat, int pos, void *value)
FLGR_Ret flgr1d_get_data_vector (FLGR_Data1D *dat, int pos, FLGR_Vector *vct)
FLGR_Ret flgr1d_get_data_vector_no_norm (FLGR_Data1D *dat, int pos, FLGR_Vector *vct)
FLGR_Ret flgr1d_is_data_same_attributes (FLGR_Data1D *data1, FLGR_Data1D *data2, const char *callingFunction)
FLGR_Ret flgr1d_is_data_same_length (FLGR_Data1D *dat1, FLGR_Data1D *dat2)
FLGR_Ret flgr1d_is_data_same_spp (FLGR_Data1D *dat1, FLGR_Data1D *dat2)
FLGR_Ret flgr1d_is_data_same_type (FLGR_Data1D *dat1, FLGR_Data1D *dat2)
FLGR_Ret flgr1d_set_data_ptr (FLGR_Data1D *dat, int pos, void *value)
FLGR_Ret flgr1d_set_data_str (FLGR_Data1D *dat, int pos, char *value)
FLGR_Ret flgr1d_set_data_vector (FLGR_Data1D *dat, int pos, FLGR_Vector *vct)
FLGR_Ret flgr2d_clear_all (FLGR_Data2D *data)
FLGR_Data2Dflgr2d_create_neighborhood (int size_y, int size_x, int spp, FLGR_Type type, FLGR_Shape shape, FLGR_Connexity connexity)
FLGR_Data2Dflgr2d_create_neighborhood_from (FLGR_Data2D *nhbsrc)
FLGR_Data2Dflgr2d_create_neighborhood_from_connexity (int spp, FLGR_Type type, FLGR_Connexity connexity)
FLGR_Data2Dflgr2d_create_pixmap (int size_y, int size_x, int spp, FLGR_Type type)
FLGR_Data2Dflgr2d_create_pixmap_from (FLGR_Data2D *imgsrc)
FLGR_Data2Dflgr2d_create_pixmap_link (FLGR_Data2D *datain, int partsNumber, int partIndex, int overlapSize)
int flgr2d_data_is_connexity (FLGR_Data2D *data, FLGR_Connexity connexity)
int flgr2d_data_is_shape (FLGR_Data2D *data, FLGR_Shape shape)
int flgr2d_data_is_type (FLGR_Data2D *data, FLGR_Type type)
FLGR_Ret flgr2d_data_set_connexity (FLGR_Data2D *dat, FLGR_Connexity connexity)
FLGR_Ret flgr2d_data_set_shape (FLGR_Data2D *dat, FLGR_Shape shape)
FLGR_Ret flgr2d_destroy (FLGR_Data2D *dat)
FLGR_Ret flgr2d_destroy_link (FLGR_Data2D *dat)
FLGR_Ret flgr2d_get_data_no_norm_ptr (FLGR_Data2D *dat, int row, int col, void *value)
FLGR_Ret flgr2d_get_data_ptr (FLGR_Data2D *dat, int row, int col, void *value)
FLGR_Ret flgr2d_get_data_vector (FLGR_Data2D *dat, int row, int col, FLGR_Vector *vct)
FLGR_Ret flgr2d_get_data_vector_no_norm (FLGR_Data2D *dat, int row, int col, FLGR_Vector *vct)
FLGR_Ret flgr2d_is_data_same_attributes (FLGR_Data2D *data1, FLGR_Data2D *data2, const char *callingFunction)
FLGR_Ret flgr2d_is_data_same_size (FLGR_Data2D *data1, FLGR_Data2D *data2)
FLGR_Ret flgr2d_is_data_same_spp (FLGR_Data2D *dat1, FLGR_Data2D *dat2)
FLGR_Ret flgr2d_is_data_same_type (FLGR_Data2D *data1, FLGR_Data2D *data2)
FLGR_Ret flgr2d_set_data_ptr (FLGR_Data2D *dat, int row, int col, void *value)
FLGR_Ret flgr2d_set_data_str (FLGR_Data2D *dat, int row, int col, char *value)
FLGR_Ret flgr2d_set_data_vector (FLGR_Data2D *dat, int row, int col, FLGR_Vector *vct)
int flgr_normalize_coordinate (int axis_coord, int axis_length)


Function Documentation

FLGR_Ret flgr1d_clear_all ( FLGR_Data1D data  ) 

Set to zero the whole image

Parameters:
data : a pointer to a FLGR_Data1D
Returns:
FLGR_RET_OK, ...

Definition at line 520 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create ( int  length,
int  spp,
FLGR_Type  type,
FLGR_Shape  shape 
)

Allocate a FLGR_Data1D structure

Parameters:
length : an integer for array length
type : a string for data type
spp : Samples per pixel
shape : shape
Returns:
FLGR_Data1D pointer

Definition at line 177 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create_from ( FLGR_Data1D dat  ) 

Allocate a FLGR_Data1D structure from another one. Just allocation is performed, no copy.

Parameters:
dat : FLGR_Data1D pointer
Returns:
FLGR_Data1D pointer

Definition at line 201 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create_neighborhood ( int  length,
int  spp,
FLGR_Type  type,
FLGR_Shape  shape 
)

Allocate a FLGR_Data1D structure representing a neighborhood.

Parameters:
length : an integer for array length
type : a string for data type
shape : shape
spp : Samples Per Pixel
Returns:
FLGR_Data1D pointer

Definition at line 250 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create_neighborhood_from ( FLGR_Data1D dat  ) 

Allocate a FLGR_Data1D structure representing a neighborhood from another one

Parameters:
dat : FLGR_Data1D pointer
Returns:
FLGR_Data1D pointer

Definition at line 278 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create_signal ( int  length,
int  spp,
FLGR_Type  type 
)

Allocate a FLGR_Data1D structure

Parameters:
length : an integer for array length
spp : Samples per pixel
type : a string for data type
Returns:
FLGR_Data1D pointer

Definition at line 219 of file flgrCoreData.c.

FLGR_Data1D* flgr1d_create_signal_from ( FLGR_Data1D dat  ) 

Allocate a FLGR_Data1D structure from another one. Just allocation is performed, no copy.

Parameters:
dat : FLGR_Data1D pointer
Returns:
FLGR_Data1D pointer

Definition at line 231 of file flgrCoreData.c.

int flgr1d_data_is_shape ( FLGR_Data1D data,
FLGR_Shape  shape 
)

Test if a FLGR_Data1D correspond to a given shape

Parameters:
data : a pointer to FLGR_Data1D
shape 
Returns:
boolean

Definition at line 438 of file flgrCoreData.c.

int flgr1d_data_is_type ( FLGR_Data1D data,
FLGR_Type  type 
)

Test if a FLGR_Data1D correspond to a given type

Parameters:
data : a pointer to FLGR_Data1D
type : type
Returns:
boolean

Definition at line 483 of file flgrCoreData.c.

FLGR_Ret flgr1d_data_set_shape ( FLGR_Data1D dat,
FLGR_Shape  shape 
)

Change the shape string of a FLGR_Data2D (No modification of neighborhood definition or pixel array)

Parameters:
dat : a pointer to FLGR_Data2D
shape : a string for shape
Returns:
nothing

Definition at line 500 of file flgrCoreData.c.

FLGR_Ret flgr1d_destroy ( FLGR_Data1D dat  ) 

Unallocate a FLGR_Data1D structure

Parameters:
dat : a pointer to FLGR_Data1D
Returns:
FLGR_Data1D

Definition at line 295 of file flgrCoreData.c.

EXPORT_LIB FLGR_Ret flgr1d_get_data_no_norm_ptr ( FLGR_Data1D dat,
int  pos,
void *  value 
)

get a value at a specific position in an 1D Array

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
value : pointer to a value
Returns:
FLGR_RET_OK, ...

Definition at line 800 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr1d_get_data_ptr ( FLGR_Data1D dat,
int  pos,
void *  value 
)

get a value at a specific position in an 1D Array. If the position is out of the matrix, pos will be recalculated to reflect a signal unfolded

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
value : pointer to a value
Returns:
FLGR_RET_OK, ...

Definition at line 695 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr1d_get_data_vector ( FLGR_Data1D dat,
int  pos,
FLGR_Vector vct 
)

Get a vector at a specific position in an 1D Array

The position in the array is normalized (eg if pos==-2 then pos=1)

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 157 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr1d_get_data_vector_no_norm ( FLGR_Data1D dat,
int  pos,
FLGR_Vector vct 
)

Get a vector at a specific position in an 1D Array

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 223 of file flgrCoreDataIO.c.

FLGR_Ret flgr1d_is_data_same_attributes ( FLGR_Data1D data1,
FLGR_Data1D data2,
const char *  callingFunction 
)

Test if two FLGR_Data2D have the same sizes and same types

Parameters:
data1 : a pointer to FLGR_Data1D
data2 : a pointer to FLGR_Data1D
callingFunction : String representing the name of the calling function
Returns:
FLGR_RET_OK, FLGR_RET_SIZE_ERROR, ...

Definition at line 391 of file flgrCoreData.c.

FLGR_Ret flgr1d_is_data_same_length ( FLGR_Data1D dat1,
FLGR_Data1D dat2 
)

Test if data1d have same length

Parameters:
dat1 : a pointer to FLGR_Data1D
dat2 : a pointer to FLGR_Data1D
Returns:
Return FLGR_RET_OK, FLGR_RET_SIZE_ERROR

Definition at line 316 of file flgrCoreData.c.

FLGR_Ret flgr1d_is_data_same_spp ( FLGR_Data1D dat1,
FLGR_Data1D dat2 
)

Test if data1d have same samples per pixel. Valid spp check is also performed

Parameters:
dat1 : a pointer to FLGR_Data1D
dat2 : a pointer to FLGR_Data1D
Returns:
Return FLGR_RET_OK, ...

Definition at line 365 of file flgrCoreData.c.

FLGR_Ret flgr1d_is_data_same_type ( FLGR_Data1D dat1,
FLGR_Data1D dat2 
)

Test if data1d have same type and same samples per pixel. Valid type check is also performed

Parameters:
dat1 : a pointer to FLGR_Data1D
dat2 : a pointer to FLGR_Data1D
Returns:
Return FLGR_RET_OK, ...

Definition at line 338 of file flgrCoreData.c.

EXPORT_LIB FLGR_Ret flgr1d_set_data_ptr ( FLGR_Data1D dat,
int  pos,
void *  value 
)

Set a value at a specific position in an 1D Array

Warning:
this function don't check if image is a multichannel one.
Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
value : pointer to a value
Returns:
FLGR_RET_OK, ...

Definition at line 551 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr1d_set_data_str ( FLGR_Data1D dat,
int  pos,
char *  value 
)

Set a value at a specific position in an 1D Array

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
value : string representing the value
Returns:
FLGR_RET_OK, ...

Definition at line 602 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr1d_set_data_vector ( FLGR_Data1D dat,
int  pos,
FLGR_Vector vct 
)

Set a vector at a specific position in an 1D Array

Parameters:
dat : a pointer to FLGR_Data1D
pos : an integer representing the position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 83 of file flgrCoreDataIO.c.

FLGR_Ret flgr2d_clear_all ( FLGR_Data2D data  ) 

Set to zero the whole image

Parameters:
data : a pointer to a FLGR_Data2D
Returns:
FLGR_RET_OK, ...

Definition at line 1275 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_neighborhood ( int  size_y,
int  size_x,
int  spp,
FLGR_Type  type,
FLGR_Shape  shape,
FLGR_Connexity  connexity 
)

Allocate a FLGR_Data2D structure representing a Neighborhood definition

Parameters:
size_y : an integer for array size_y
size_x : an integer for array size_x
spp : Samples per pixel
type : a string for data type (FLGR_UINT8, FLGR_UINT16, FLGR_UINT32, FLGR_INT8, FLGR_INT16, FLGR_INT32, FLGR_FLOAT32, FLGR_FLOAT64)
shape : a string for shape considered (FLGR_RECT, FLGR_HEX, FLGR_DISC, "SLASH", "BSLASH", FLGR_CROSS, "CROSS2")
connexity :
Returns:
FLGR_Data2D pointer
Examples:
example1.c, example2.c, example4.c, example6.c, multithread_auto.c, and multithread_watershed.c.

Definition at line 702 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_neighborhood_from ( FLGR_Data2D nhbsrc  ) 

Allocate a FLGR_Data2D structure by copying size, type, shape and connexity from another FLGR_Data2D. Neighborhood definition contents is not copied, but created from collected informations.

Parameters:
nhbsrc : a pointer to FLGR_Data2D
Returns:
FLGR_Data2D pointer

Definition at line 740 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_neighborhood_from_connexity ( int  spp,
FLGR_Type  type,
FLGR_Connexity  connexity 
)

Allocate a FLGR_Data2D structure only with connexity information. The size is the smallest for the connexity specified

Parameters:
spp : Samples per pixel
type 
connexity 
Returns:
FLGR_Data2D pointer
Examples:
example2.c.

Definition at line 759 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_pixmap ( int  size_y,
int  size_x,
int  spp,
FLGR_Type  type 
)

Allocate a FLGR_Data2D structure representing an image

Parameters:
size_y : an integer for array size_y
size_x : an integer for array size_x
spp : Samples per pixel
type : a string for data type (FLGR_UINT8, FLGR_UINT16, FLGR_UINT32, FLGR_INT8, FLGR_INT16, FLGR_INT32, FLGR_FLOAT32, FLGR_FLOAT64)
Returns:
FLGR_Data2D pointer
Examples:
example2.c.

Definition at line 669 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_pixmap_from ( FLGR_Data2D imgsrc  ) 

Allocate a FLGR_Data2D structure by copying size and type from another FLGR_Data2D. Image contents is not copied

Parameters:
imgsrc : a pointer to FLGR_Data2D
Returns:
FLGR_Data2D
Examples:
example1.c, example2.c, example3.c, example6.c, and multithread_auto.c.

Definition at line 681 of file flgrCoreData.c.

FLGR_Data2D* flgr2d_create_pixmap_link ( FLGR_Data2D datain,
int  partsNumber,
int  partIndex,
int  overlapSize 
)

Create an image and instead of allocating rows, copy rows pointer from another image

Parameters:
datain : a pointer to FLGR_Data2D
partsNumber : integer representing where row start link in source data
partIndex : integer representing where row stop link in source data
overlapSize : overlap size to consider between parts
Returns:
a pointer to FLGR_Data2D

Definition at line 822 of file flgrCoreData.c.

int flgr2d_data_is_connexity ( FLGR_Data2D data,
FLGR_Connexity  connexity 
)

Test if a FLGR_Data2D correspond to a connexity

Parameters:
data : a pointer to FLGR_Data2D
connexity : connexity flag
Returns:
boolean

Definition at line 1172 of file flgrCoreData.c.

int flgr2d_data_is_shape ( FLGR_Data2D data,
FLGR_Shape  shape 
)

Test if a FLGR_Data2D correspond to a given shape

Parameters:
data : a pointer to FLGR_Data2D
shape : shape flag
Returns:
boolean

Definition at line 1154 of file flgrCoreData.c.

int flgr2d_data_is_type ( FLGR_Data2D data,
FLGR_Type  type 
)

Test if a FLGR_Data2D correspond to a given type

Parameters:
data : a pointer to FLGR_Data2D
type : type
Returns:
boolean

Definition at line 1218 of file flgrCoreData.c.

FLGR_Ret flgr2d_data_set_connexity ( FLGR_Data2D dat,
FLGR_Connexity  connexity 
)

Change the connexity of a FLGR_Data2D

Parameters:
dat : a pointer to FLGR_Data2D
connexity : FLGR_Connexity connexity
Returns:
nothing

Definition at line 1256 of file flgrCoreData.c.

FLGR_Ret flgr2d_data_set_shape ( FLGR_Data2D dat,
FLGR_Shape  shape 
)

Change the shape string of a FLGR_Data2D (No modification of neighborhood definition or pixel array)

Parameters:
dat : a pointer to FLGR_Data2D
shape : a string for shape
Returns:
nothing

Definition at line 1236 of file flgrCoreData.c.

FLGR_Ret flgr2d_destroy ( FLGR_Data2D dat  ) 

Unallocate a FLGR_Data2D structure

Parameters:
dat : a pointer to FLGR_Data2D
Returns:
Examples:
example1.c, example2.c, example3.c, example4.c, example6.c, multithread_auto.c, and multithread_watershed.c.

Definition at line 785 of file flgrCoreData.c.

FLGR_Ret flgr2d_destroy_link ( FLGR_Data2D dat  ) 

Unallocate a FLGR_Data2D which is a link another FLGR_Data2D

Parameters:
dat : a pointer to FLGR_Data2D
Returns:

Definition at line 976 of file flgrCoreData.c.

EXPORT_LIB FLGR_Ret flgr2d_get_data_no_norm_ptr ( FLGR_Data2D dat,
int  row,
int  col,
void *  value 
)

Get a pixel value

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer for row number
col : an integer for column number
value : pointer to the value (the type of the original value must fit with dat->type)
Returns:
FLGR_RET_OK, ...

Definition at line 1199 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr2d_get_data_ptr ( FLGR_Data2D dat,
int  row,
int  col,
void *  value 
)

Get a pixel value by specifying coordinates. Unfold data if coordinate are outside

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer for row number
col : an integer for column number
value : pointer to the value (the type of the original value must fit with dat->type)
Returns:
FLGR_RET_OK, ...

Definition at line 1076 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr2d_get_data_vector ( FLGR_Data2D dat,
int  row,
int  col,
FLGR_Vector vct 
)

Get a vector at a specific position in an 2D Array

The position in the array is normalized (eg if rows==-2 then row=1)

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer representing the row position in the array
col : an integer representing the column position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 382 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr2d_get_data_vector_no_norm ( FLGR_Data2D dat,
int  row,
int  col,
FLGR_Vector vct 
)

Get a vector at a specific position in an 2D Array

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer representing the row position in the array
col : an integer representing the column position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 449 of file flgrCoreDataIO.c.

FLGR_Ret flgr2d_is_data_same_attributes ( FLGR_Data2D data1,
FLGR_Data2D data2,
const char *  callingFunction 
)

Test if two FLGR_Data2D have the same sizes and same types

Parameters:
data1 : a pointer to FLGR_Data2D
data2 : a pointer to FLGR_Data2D
callingFunction : String representing the name of the calling function
Returns:
FLGR_RET_OK, FLGR_RET_SIZE_ERROR

Definition at line 1106 of file flgrCoreData.c.

FLGR_Ret flgr2d_is_data_same_size ( FLGR_Data2D data1,
FLGR_Data2D data2 
)

Test if two FLGR_Data2D have the same sizes (size_x and size_y)

Parameters:
data1 : a pointer to FLGR_Data2D
data2 : a pointer to FLGR_Data2D
Returns:
FLGR_RET_OK, FLGR_RET_SIZE_ERROR

Definition at line 1082 of file flgrCoreData.c.

FLGR_Ret flgr2d_is_data_same_spp ( FLGR_Data2D dat1,
FLGR_Data2D dat2 
)

Test if data2d have same samples per pixel. Valid spp check is also performed

Parameters:
dat1 : a pointer to FLGR_Data2D
dat2 : a pointer to FLGR_Data2D
Returns:
Return FLGR_RET_OK, ...

Definition at line 1058 of file flgrCoreData.c.

FLGR_Ret flgr2d_is_data_same_type ( FLGR_Data2D data1,
FLGR_Data2D data2 
)

Test if two FLGR_Data2D have the same type

Parameters:
data1 : a pointer to FLGR_Data2D
data2 : a pointer to FLGR_Data2D
Returns:
FLGR_RET_OK, FLGR_RET_TYPE_UNKNOWN, FLGR_RET_TYPE_DIFFERENT

Definition at line 1030 of file flgrCoreData.c.

EXPORT_LIB FLGR_Ret flgr2d_set_data_ptr ( FLGR_Data2D dat,
int  row,
int  col,
void *  value 
)

Set a value at a specific position in an 2D Array

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer for row number
col : an integer for column number
value : a pointer to a variable which type corresponds with dat->type
Returns:
FLGR_RET_OK, ...

Definition at line 928 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr2d_set_data_str ( FLGR_Data2D dat,
int  row,
int  col,
char *  value 
)

Get a value at a specific position in an 2D array

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer for row number
col : an integer for column number
value : string representig the value
Returns:
FLGR_RET_OK, ...

Definition at line 982 of file flgrCoreDataIO.c.

EXPORT_LIB FLGR_Ret flgr2d_set_data_vector ( FLGR_Data2D dat,
int  row,
int  col,
FLGR_Vector vct 
)

Set a vector at a specific position in an 2D Array

Parameters:
dat : a pointer to FLGR_Data2D
row : an integer representing the row position in the array
col : an integer representing the column position in the array
vct : pointer to a FLGR_Vector
Returns:
FLGR_RET_OK, ...

Definition at line 299 of file flgrCoreDataIO.c.

int flgr_normalize_coordinate ( int  axis_coord,
int  axis_length 
)

Protect coordinate access as the image was unfolded

Parameters:
axis_coord : coordinate value of an axis
axis_length : axis length
Returns:
new coord

Definition at line 65 of file flgrCoreData.c.


SourceForge.net Logo
Generated on Tue Nov 11 19:17:28 2008 for Fulguro by doxygen 1.5.6