Fulguro Logo Support This Project

Channel manipulation functions
[Core]


Functions

FLGR_Ret flgr1d_compose_channel (FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int channel)
FLGR_Ret flgr1d_extract_channel (FLGR_Data1D *datdest, FLGR_Data1D *datsrc, int channel)
FLGR_Ret flgr1d_mean_channel (FLGR_Data1D *datdest, FLGR_Data1D *datsrc)
FLGR_Ret flgr1d_pack_channel (FLGR_Data1D *dat)
FLGR_Ret flgr1d_revert_channel (FLGR_Data1D *datdest, FLGR_Data1D *datsrc)
FLGR_Ret flgr1d_unpack_channel (FLGR_Data1D *dat, int factor)
FLGR_Ret flgr2d_compose_channel (FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int channel)
FLGR_Ret flgr2d_extract_channel (FLGR_Data2D *datdest, FLGR_Data2D *datsrc, int channel)
FLGR_Ret flgr2d_mean_channel (FLGR_Data2D *datdest, FLGR_Data2D *datsrc)
FLGR_Ret flgr2d_pack_channel (FLGR_Data2D *dat)
FLGR_Ret flgr2d_revert_channel (FLGR_Data2D *datdest, FLGR_Data2D *datsrc)
FLGR_Ret flgr2d_revert_channel_hmorph (FLGR_Data2D *dat)
FLGR_Ret flgr2d_unpack_channel (FLGR_Data2D *dat, int factor)


Function Documentation

FLGR_Ret flgr1d_compose_channel ( FLGR_Data1D datdest,
FLGR_Data1D datsrc,
int  channel 
)

Copy source to a specific channel in the destination

Parameters:
datdest : destination
datsrc : source
channel : integer index channel ([0..spp-1])
Returns:
FLGR_RET_OK, ...

Definition at line 176 of file flgrCoreChannel.c.

FLGR_Ret flgr1d_extract_channel ( FLGR_Data1D datdest,
FLGR_Data1D datsrc,
int  channel 
)

Extract a specific channel

Parameters:
datdest : destination
datsrc : source
channel : integer index channel ([0..spp-1])
Returns:
FLGR_RET_OK, ...

Definition at line 90 of file flgrCoreChannel.c.

FLGR_Ret flgr1d_mean_channel ( FLGR_Data1D datdest,
FLGR_Data1D datsrc 
)

Get mean of channels

Parameters:
datdest : destination
datsrc : source
Returns:
FLGR_RET_OK, ...

Definition at line 396 of file flgrCoreChannel.c.

FLGR_Ret flgr1d_pack_channel ( FLGR_Data1D dat  ) 

Pack all channel in a scalar pixels image (works in-place)

Parameters:
dat : FLGR_Data1D
Returns:
FLGR_RET_OK, ...

Definition at line 211 of file flgrCoreChannel.c.

FLGR_Ret flgr1d_revert_channel ( FLGR_Data1D datdest,
FLGR_Data1D datsrc 
)

Revert channel order

Parameters:
datdest : destination
datsrc : source
Returns:
FLGR_RET_OK, ...

Definition at line 316 of file flgrCoreChannel.c.

FLGR_Ret flgr1d_unpack_channel ( FLGR_Data1D dat,
int  factor 
)

Unpack a scalar image in a vector image

Parameters:
factor : how many channel do you want
dat : FLGR_Data1D
Returns:
FLGR_RET_OK, ...

Definition at line 236 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_compose_channel ( FLGR_Data2D datdest,
FLGR_Data2D datsrc,
int  channel 
)

Compose a specific channel

Parameters:
datdest : destination
datsrc : source
channel : integer index channel ([0..spp-1])
Returns:
FLGR_RET_OK, ...

Definition at line 564 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_extract_channel ( FLGR_Data2D datdest,
FLGR_Data2D datsrc,
int  channel 
)

Extract a specific channel

Parameters:
datdest : destination
datsrc : source
channel : integer index channel ([0..spp-1])
Returns:
FLGR_RET_OK, ...

Definition at line 480 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_mean_channel ( FLGR_Data2D datdest,
FLGR_Data2D datsrc 
)

Get mean of channels

Parameters:
datdest : destination
datsrc : source
Returns:
FLGR_RET_OK, ...

Definition at line 852 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_pack_channel ( FLGR_Data2D dat  ) 

Pack all channel in a scalar pixels image (works in-place)

Parameters:
dat : FLGR_Data2D
Returns:
FLGR_RET_OK, ...

Definition at line 604 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_revert_channel ( FLGR_Data2D datdest,
FLGR_Data2D datsrc 
)

Revert channel order

Parameters:
datdest : destination
datsrc : source
Returns:
FLGR_RET_OK, ...

Definition at line 714 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_revert_channel_hmorph ( FLGR_Data2D dat  ) 

Revert channel order inplace

Parameters:
dat 
Returns:
FLGR_RET_OK, ...

Definition at line 783 of file flgrCoreChannel.c.

FLGR_Ret flgr2d_unpack_channel ( FLGR_Data2D dat,
int  factor 
)

Unpack a scalar image in a vector image

Parameters:
factor : how many channel do you want
dat : FLGR_Data2D
Returns:
FLGR_RET_OK, ...

Definition at line 636 of file flgrCoreChannel.c.


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