| |
- FLGR_Data1D_swigregister(...)
- FLGR_Data2D_swigregister(...)
- FLGR_NhbBox1D_swigregister(...)
- FLGR_NhbBox2D_swigregister(...)
- FLGR_Vector_swigregister(...)
- flgr1d_anti_raster_slide_window(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function
- flgr1d_anti_raster_slide_window_unfolded(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function Border are processed
as the data was unfolded on border.
- flgr1d_clear_all(*args)
- [inout] dat (FLGR_Data1D)
[return] FLGR_Ret
Clear the data values
- flgr1d_color_convert_RGB_YUV(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[return] FLGR_Ret
Convert an YUV line to a RGB line
swig_ptr: _d0d33500_p_f_p_FLGR_Data1D_p_FLGR_Data1D__FLGR_Ret
- flgr1d_color_convert_YUV_RGB(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[return] FLGR_Ret
Convert a RGB line to an YUV line
swig_ptr: _50ce3500_p_f_p_FLGR_Data1D_p_FLGR_Data1D__FLGR_Ret
- flgr1d_compose_channel(*args)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source (must be mono channel)
[in] channel index 0..datdest.spp-1
[return] FLGR_Ret
Insert a specific channel in a multi channel 1d data
- flgr1d_copy(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[return] FLGR_Ret
Copy source to destination, Types of images could be different (but no strech operation are performed)
swig_ptr: _e08b3400_p_f_p_FLGR_Data1D_p_FLGR_Data1D__FLGR_Ret
- flgr1d_copy_to_2d(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data1D source
[return] FLGR_Ret
Copy a 1d data into a 2D data
- flgr1d_create(*args)
- [in] Length (Integer)
[in] Sample Per Pixel (Integer)
[in] Type (FLGR_Type)
[in] Shape (FLGR_Shape)
[return] FLGR_Data1D object
Create a 1d data
- flgr1d_create_from(*args)
- [in] dat (FLGR_Data1D)
[return] FLGR_Data1D object
Create a 1d data using informations given in the object "dat"
- flgr1d_create_neighborhood(*args)
- [in] Length (Integer)
[in] Sample Per Pixel (Integer)
[in] Type (FLGR_Type)
[in] Shape (FLGR_Shape)
[return] FLGR_Data1D object
Create a 1d data neighborhood
- flgr1d_create_neighborhood_from(*args)
- [in] dat (FLGR_Data1D)
[return] FLGR_Data1D object
Create a 1d data neighborhood definition using informations given in the object "dat"
- flgr1d_create_signal(*args)
- [in] Length (Integer)
[in] Sample Per Pixel (Integer)
[in] Type (FLGR_Type)
[return] FLGR_Data1D object
Create a 1d data signal
- flgr1d_create_signal_from(*args)
- [in] dat (FLGR_Data1D)
[return] FLGR_Data1D object
Create a 1d data signal using informations given in the object "dat"
- flgr1d_data_is_shape(*args)
- [in] data (FLGR_Data1D)
[in] shape (FLGR_Shape)
[return] Integer
Return 1 if data.shape is equal to shape
- flgr1d_data_is_type(*args)
- [in] data (FLGR_Data1D)
[in] type (FLGR_Type)
[return] Integer
Return 1 if data.type is equal to type
- flgr1d_data_set_shape(*args)
- [inout] dat (FLGR_Data1D)
[in] shape (FLGR_Shape)
[return] nothing
Change the data shape
- flgr1d_downsample(*args)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] downsampling factor
downsample a signal
- flgr1d_draw_line_ptr(...)
- [out] FLGR_Data1D destination
[in] Integer column_x
[in] Integer line length
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a line in a 1d signal with a specific value
- flgr1d_extract_channel(*args)
- [out] FLGR_Data1D destination (must be mono channel)
[in] FLGR_Data1D source
[in] channel index 0..datdest.spp-1
[return] FLGR_Ret
Extract a specific channel of a multi channel 1d data
- flgr1d_extract_region(*args)
- [out] FLGR_Data1D smaller than source
[in] FLGR_Data1D source
[in] start index of the part to extract
Extract a part of a signal
- flgr1d_fill_neighborhood(*args)
- [out] FLGR_Data1D
[in] FLGR_Shape
[in] Shape width
[in] Shape height
[return] FLGR_Ret
The shape could be : FLGR_LINE
Draw the shape in the Neighborhood definition (shape is centered)
- flgr1d_get_neighborhood(*args)
- [out] FLGR_NhbBox1D box
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer position (x)
[return] FLGR_Ret
Retrieve all neighbors of a pixel in 1D Data as defined in "nhb"
The return value correspond to constant FLGR_RET_OK,...
- flgr1d_get_neighborhood_unfolded(*args)
- [out] FLGR_NhbBox1D box
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer position (x)
[return] FLGR_Ret
Retrieve all neighbors of a pixel in 1D Data as defined in "nhb"
Border are manage as the signal was symetrized
The return value correspond to constant FLGR_RET_OK,...
- flgr1d_get_optimization_available(*args)
- [in] FLGR_Data1D destination used by a processing function
[in] FLGR_Data1D source used by a processing function
[return] FLGR_MorphoOptim
Find optimization available for a given destination and source data 1D
- flgr1d_insert_region(*args)
- [out] FLGR_Data1D larger than source
[in] FLGR_Data1D source
[in] start index to insert region
Insert a signal
- flgr1d_is_data_same_attributes(...)
- flgr1d_is_data_same_length(*args)
- [in] dat1 (FLGR_Data1D)
[in] dat2 (FLGR_Data1D)
[return] FLGR_Ret
Check if two data have the same length
- flgr1d_is_data_same_spp(*args)
- [in] dat1 (FLGR_Data1D)
[in] dat2 (FLGR_Data1D)
[return] FLGR_Ret
Check if two data have the same spp
- flgr1d_is_data_same_type(*args)
- [in] dat1 (FLGR_Data1D)
[in] dat2 (FLGR_Data1D)
[return] FLGR_Ret
Check if two data have the same type
- flgr1d_mean_channel(*args)
- [out] FLGR_Data1D
[in] FLGR_Data1D
[return] FLGR_Ret
get mean of channels
- flgr1d_mirror(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[return] FLGR_Ret
Copy source to destination by applying a mirror
swig_ptr: _802f3400_p_f_p_FLGR_Data1D_p_FLGR_Data1D__FLGR_Ret
- flgr1d_pack_channel(*args)
- [inout] FLGR_Data1D
[return] FLGR_Ret
Convert a multi-channel data to a mono-channel
- flgr1d_raster_slide_window(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function
- flgr1d_raster_slide_window_unfolded(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] FLGR_Data1D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function. Border are processed
as the data was unfolded on border.
- flgr1d_replace(...)
- [out] FLGR_Data1D dest
[in] FLGR_Data1D test1
[in] String test : {"==" | "!=" | "<=" | ">=" | "<" | ">"}
[in] FLGR_Data1D test2 or FLGR_Vector or scalar or List
[in] FLGR_Data1D true or FLGR_Vector or scalar or List
[in] FLGR_Data1D false or FLGR_Vector or scalar or List
[return] FLGR_Ret
Replace each value of a Data1D by using a logic test.
Example: flgr1d_replace(destination, input1, "==", input2, true, false)
input2, true, false could be FLGR_Data1D, FLGR_Vector, list or scalar constant.
- flgr1d_revert_channel(*args)
- [out] FLGR_Data1D
[in] FLGR_Data1D
[return] FLGR_Ret
revert channel order
- flgr1d_shift_circular_left(...)
- [in] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] integer for shift number
[in] value to insert on the right (FLGR_Vector or List or Scalar)
[return] FLGR_Ret
Shift to the left a FLGR_Data1D. Value shifted outside the data are re-inserted in the other side. No values are loosen.
- flgr1d_shift_circular_right(...)
- [in] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] integer for shift number
[in] value to insert on the right (FLGR_Vector or List or Scalar)
[return] FLGR_Ret
Shift to the right a FLGR_Data1D. Value shifted outside the data are re-inserted in the other side. No values are loosen.
- flgr1d_shift_left(...)
- [in] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] integer for shift number
[in] value to insert on the right (FLGR_Vector or List or Scalar)
[return] FLGR_Ret
Shift to the left a FLGR_Data1D
- flgr1d_shift_right(...)
- [in] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] integer for shift number
[in] value to insert on the left (FLGR_Vector or List or Scalar)
[return] FLGR_Ret
Shift to the right a FLGR_Data1D
- flgr1d_unpack_channel(*args)
- [inout] FLGR_Data1D
[in] Integer : number of channel
[return] FLGR_Ret
Convert a mono-channel data to a multi-channel one
- flgr2d_anti_raster_slide_window(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function
- flgr2d_anti_raster_slide_window_unfolded(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function Border are processed
as the data was unfolded on border.
- flgr2d_apply_anti_raster_scan_method(*args)
- [in] FLGR_Data2D source
[return] FLGR_Ret
Apply a anti_raster scan method on a neighborhood definition.
Some nhb values are unset to satisfy the anti-raster scan direction
Used for recursive image processing function (geodesic, labelling, distance, ...)
- flgr2d_apply_raster_scan_method(*args)
- [in] FLGR_Data2D source
[return] FLGR_Ret
Apply a scan method on a neighborhood definition.
Some nhb values are unset to satisfy the raster scan direction.
Used for recursive image processing function (geodesic, labelling, distance, ...)
- flgr2d_clear_all(*args)
- [inout] FLGR_Data2D source
[return] FLGR_RET_OK
Set all pixels to zero
- flgr2d_color_convert_RGB_YUV(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[return] FLGR_Ret
Convert an YUV image to a RGB image
swig_ptr: _90d13500_p_f_p_FLGR_Data2D_p_FLGR_Data2D__FLGR_Ret
- flgr2d_color_convert_YUV_RGB(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[return] FLGR_Ret
Convert a RGB image to an YUV image
swig_ptr: _10cc3500_p_f_p_FLGR_Data2D_p_FLGR_Data2D__FLGR_Ret
- flgr2d_compose_channel(*args)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source (must be mono channel)
[in] channel index 0..datdest.spp-1
[return] FLGR_Ret
Insert a specific channel in a multi channel 2d data
- flgr2d_copy(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[return] FLGR_Ret
Copy source to destination, Types of images could be different (but no strech operation are performed)
swig_ptr: _a07d3400_p_f_p_FLGR_Data2D_p_FLGR_Data2D__FLGR_Ret
- flgr2d_copy_to_1d(...)
- flgr2d_create(*args)
- [in] Height
[in] Width
[in] Sample Per Pixel
[in] data type used in image
[in] shape
[in] connexity
[return] FLGR_Data2D
Create a neighborhood.
Type could be:
=> FLGR_BIT
=> FLGR_UINT8
=> FLGR_UINT16
=> FLGR_UINT32
=> FLGR_INT8
=> FLGR_INT16
=> FLGR_INT32
=> FLGR_FLOAT32
=> FLGR_FLOAT64
Shape could be:
=> FLGR_RECT
=> FLGR_HEX (only for 6-connexity)
=> FLGR_CROSS1 ( + )
=> FLGR_CROSS2 ( X )
=> FLGR_DISC
=> FLGR_ELLIPSE
=> FLGR_BSLASH ( \ )
=> FLGR_SLASH ( / )
=> FLGR_DIAMOND
=> FLGR_OCTAGON
=> FLGR_USER_SHAPE
Connexity could be:
=> FLGR_8_CONNEX
=> FLGR_6_CONNEX
=> FLGR_4_CONNEX
No verifications are done. For example, you can use a RECT shape in 6-connexity, so take care !
Values are not initialized regarding the shape
- flgr2d_create_from(*args)
- [in] FLGR_Data2D source
[return] FLGR_Data2D
Create a 2d data using the FLGR_Data2D Width, Height, Spp, Type, Name.
Source values are not copied to the destination array
- flgr2d_create_neighborhood(*args)
- [in] Height
[in] Width
[in] Sample Per Pixel
[in] data type used in image
[in] shape
[in] connexity
[return] FLGR_Data2D
Create a neighborhood.
Type could be:
=> FLGR_BIT
=> FLGR_UINT8
=> FLGR_UINT16
=> FLGR_UINT32
=> FLGR_INT8
=> FLGR_INT16
=> FLGR_INT32
=> FLGR_FLOAT32
=> FLGR_FLOAT64
Shape could be:
=> FLGR_RECT
=> FLGR_HEX (only for 6-connexity)
=> FLGR_CROSS1 ( + )
=> FLGR_CROSS2 ( X )
=> FLGR_DISC
=> FLGR_ELLIPSE
=> FLGR_BSLASH ( \ )
=> FLGR_SLASH ( / )
=> FLGR_DIAMOND
=> FLGR_OCTAGON
=> FLGR_USER_SHAPE
Connexity could be:
=> FLGR_8_CONNEX
=> FLGR_6_CONNEX
=> FLGR_4_CONNEX
No verifications are done. For example, you can use a RECT shape in 6-connexity, so take care !
- flgr2d_create_neighborhood_from(*args)
- [in] FLGR_Data2D source
[return] FLGR_Data2D
Create a neighborhood using the FLGR_Data2D Width, Height, Spp, Type, Name.
The neighborhood array is generated only using the Shape name of the FLGR_Data2D input.
Array is filled with values thanks to shape information retrieve in the FLGR_Data2D Source.
Source values are not copied to the destination array
- flgr2d_create_neighborhood_from_connexity(*args)
- [in] Sample Per Pixel
[in] type
[in] connexity
[return] FLGR_Data2D
Connexity could be:
=> FLGR_8_CONNEX
=> FLGR_6_CONNEX
=> FLGR_4_CONNEX
Allocate a FLGR_Data2D structure only with connexity information.
The size is the smallest for the connexity specified
- flgr2d_create_pixmap(*args)
- [in] Height
[in] Width
[in] Sample Per Pixel
[in] type
[return] FLGR_Data2D
Create a pixmap. Not array initialization is performed.
Type could be:
=> FLGR_BIT
=> FLGR_UINT8
=> FLGR_UINT16
=> FLGR_UINT32
=> FLGR_INT8
=> FLGR_INT16
=> FLGR_INT32
=> FLGR_FLOAT32
=> FLGR_FLOAT64
- flgr2d_create_pixmap_from(*args)
- [in] FLGR_Data2D source
[return] FLGR_Data2D
Create a pixmap using the FLGR_Data2D input given.
Pixmap array is just created but not copied from the input
- flgr2d_create_pixmap_link(...)
- flgr2d_data_set_connexity(*args)
- [in] FLGR_Data2D
[in] Connexity
[return] FLGR_Ret
Change the connexity
Connexity could be:
=> FLGR_8_CONNEX
=> FLGR_6_CONNEX
=> FLGR_4_CONNEX
- flgr2d_data_set_shape(*args)
- [in] FLGR_Data2D
[in] Shape
[return] FLGR_Ret
Change the shape
Shape could be:
=> FLGR_RECT
=> FLGR_HEX (only for 6-connexity)
=> FLGR_CROSS1 ( + )
=> FLGR_CROSS2 ( X )
=> FLGR_DISC
=> FLGR_ELLIPSE
=> FLGR_BSLASH ( \ )
=> FLGR_SLASH ( / )
=> FLGR_DIAMOND
=> FLGR_OCTAGON
=> FLGR_USER_SHAPE
- flgr2d_downsample(*args)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[in] downsampling factor X
[in] downsampling factor Y
downsample a data2d
- flgr2d_draw_circle(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer radius
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a circle with a specific value
- flgr2d_draw_disc(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer radius
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a disc with a specific value
- flgr2d_draw_ellipse(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer major axis length
[in] Integer minor axis length
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw an ellipse with a specific value
- flgr2d_draw_filled_ellipse(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer major axis length
[in] Integer minor axis length
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a filled ellipse with a specific value
- flgr2d_draw_filled_rectangle(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer size_x
[in] Integer size_y
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a filled rectangle between (x,y) and (x+size_x-1,y+size_y-1) with a specific value
- flgr2d_draw_horizontal_line(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer Width
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a line between (x,y) and (x+size_x-1,y) with a specific value
- flgr2d_draw_line(...)
- [out] FLGR_Data2D destination
[in] Integer column_x1
[in] Integer row_y1
[in] Integer column_x2
[in] Integer row_y2
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a line between (x1,y1) and (x2,y2) with a specific value using Bresenham algorithm
- flgr2d_draw_point(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a point at (x,y) with a specific value
- flgr2d_draw_rectangle(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer size_x
[in] Integer size_y
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a rectangle between (x,y) and (x+size_x-1,y+size_y-1) with a specific value
- flgr2d_draw_vertical_line(...)
- [out] FLGR_Data2D destination
[in] Integer column_x
[in] Integer row_y
[in] Integer Height
[in] FLGR_Vector, List or Scalar
[return] FLGR_Ret
Draw a line between (x,y) and (x,y+size_y-1) with a specific value
- flgr2d_extract_channel(*args)
- [out] FLGR_Data2D destination (must be mono channel)
[in] FLGR_Data2D source
[in] channel index 0..datdest.spp-1
[return] FLGR_Ret
Extract a specific channel of a multi channel 2d data
- flgr2d_extract_region(*args)
- [out] FLGR_Data2D smaller than source
[in] FLGR_Data2D source
[in] col
[in] row
Extract a part of an image
- flgr2d_fill_neighborhood(*args)
- [out] FLGR_Data2D
[in] FLGR_Shape
[in] Shape width
[in] Shape height
[return] FLGR_Ret
The shape could be : FLGR_RECT, FLGR_HEX, FLGR_ELLIPSE, FLGR_CROSS1,
FLGR_CROSS2, FLGR_DISC, FLGR_BSLASH, FLGR_SLASH, FLGR_USER_SHAPE.
Draw the shape in the Neighborhood definition (shape is centered)
- flgr2d_fill_nhb_even_rows(*args)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[return] FLGR_Ret
Fill destination from an odd 6-connexity neighborhood declaration to an even neighborhood
- flgr2d_fill_nhb_odd_rows(*args)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[return] FLGR_Ret
Fill destination from an even 6-connexity neighborhood declaration to an odd neighborhood
- flgr2d_get_neighborhood(*args)
- [out] FLGR_NhbBox2D box
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer column (x)
[in] Integer row (y)
[return] FLGR_Ret
Retrieve all neighbors of a pixel in 2D Data as defined in "nhb"
The return value correspond to constant FLGR_RET_OK,...
- flgr2d_get_neighborhood_unfolded(*args)
- [out] FLGR_NhbBox2D box
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer position
[return] FLGR_Ret
Retrieve all neighbors of a pixel in 2D Data as defined in "nhb"
Border are manage as the image was unfolded
The return value correspond to constant FLGR_RET_OK,...
- flgr2d_get_optimization_available(*args)
- [in] FLGR_Data2D destination used by a processing function
[in] FLGR_Data2D source used by a processing function
[return] FLGR_MorphoOptim
Find optimization available for a given destination and source data 2D
- flgr2d_insert_region(*args)
- [out] FLGR_Data2D larger than source
[in] FLGR_Data2D source
[in] col
[in] row
Insert an image
- flgr2d_is_data_same_attributes(*args)
- [in] FLGR_Data2D source1
[in] FLGR_Data2D source2
[in] String
[return] FLGR_Ret
Test if data have same size, same type, valid type and same Sample per pixel.
- flgr2d_is_data_same_size(*args)
- [in] FLGR_Data2D source 1
[in] FLGR_Data2D source 2
[return] FLGR_Ret
Test if data have same size.
- flgr2d_is_data_same_spp(*args)
- [in] FLGR_Data2D source 1
[in] FLGR_Data2D source 2
[return] FLGR_Ret
Test if data have same sample per pixel.
- flgr2d_is_data_same_type(*args)
- [in] FLGR_Data2D source 1
[in] FLGR_Data2D source 2
[return] FLGR_Ret
Test if data have same same type and valid type.
- flgr2d_load_bmp(*args)
- [in] file name string
[return] FLGR_Data2D object
load a bmp file.
- flgr2d_load_jpeg(*args)
- [in] file name string
[return] FLGR_Data2D object
load a jpeg image.
- flgr2d_load_pgm(*args)
- [in] file name string
[return] FLGR_Data2D object
load a PGM brut (P5) or text (P2) image (8 bits or 16 bits).
- flgr2d_load_png(*args)
- [in] file name string
[return] FLGR_Data2D object
load a png image.
- flgr2d_load_raw_file(*args)
- [in] file name string
[in] how many byte to skip header
[in] height
[in] width
[in] how many sample per pixel
[in] data type : FLGR_UINT8, ...
[return] FLGR_Data2D object
load a raw image
- flgr2d_load_text_file(...)
- flgr2d_load_tiff(*args)
- [in] file name string
[return] FLGR_Data2D object
load a tiff image.
- flgr2d_load_tiff_info(*args)
- [in] file name string
[return] string
get tiff file info.
- flgr2d_mean_channel(*args)
- [out] FLGR_Data2D
[in] FLGR_Data2D
[return] FLGR_Ret
get mean of channels
- flgr2d_mirror_horizontal(...)
- flgr2d_mirror_horizontal_hmorph(...)
- flgr2d_mirror_vertical(...)
- flgr2d_mirror_vertical_hmorph(...)
- flgr2d_native_dilate_4_connexity(...)
- [inout] FLGR_Data2D
[return] FLGR_Ret
4-connex in-place morphological dilatation.
- flgr2d_native_dilate_6_connexity(...)
- [inout] FLGR_Data2D
[return] FLGR_Ret
6-connex in-place morphological dilatation.
- flgr2d_native_dilate_8_connexity(...)
- [inout] FLGR_Data2D
[return] FLGR_Ret
8-connex in-place morphological dilatation.
- flgr2d_pack_channel(*args)
- [inout] FLGR_Data2D
[return] FLGR_Ret
Convert a multi-channel data to a mono-channel
- flgr2d_raster_slide_structuring_function(...)
- [out] FLGR_Data1D destination
[in] FLGR_Data1D source
[in] FLGR_Data1D semap containing nhb informations (spp=1,2 or 3) for each source values (FLGR_INT32)
[in] FLGR_Shape shape to use
[in] Function to process neighborhood
Compute filter with resizable structuring element.
SE width for each pixel are stored in semap. semap could have one to three channel
- If semap.spp==1 then
- Channel 1 indicates the width of the square around the shape
- If semap.spp==2 then
- Channel 1 indicates the width of the rectangle around the shape
- Channel 2 indicates the height of the rectangle around the shape
- If semap.spp==3 then
- Channel 1 indicates the width of the rectangle around the shape
- Channel 2 indicates the height of the rectangle around the shape
- Channel 3 indicates the rotation angle of the shape [-180,180] degrees
- flgr2d_raster_slide_window(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function
- flgr2d_raster_slide_window_unfolded(...)
- [out] FLGR_Data2D destination
[in] FLGR_Data2D source
[in] FLGR_Data2D nhb definition
[in] Integer flag to symetrize or not nhb (FLGR_NHB_NO_SYM, FLGR_NHB_SYM)
[in] Function to process neighborhood
[return] FLGR_Ret
Extract structuring elements for each pixels and execute the given neighborhood function. Border are processed
as the data was unfolded on border.
- flgr2d_replace(...)
- [out] FLGR_Data2D dest
[in] FLGR_Data2D test1
[in] String test : {"==" | "!=" | "<=" | ">=" | "<" | ">"}
[in] FLGR_Data2D test2 or FLGR_Vector or scalar or List
[in] FLGR_Data2D true or FLGR_Vector or scalar or List
[in] FLGR_Data2D false or FLGR_Vector or scalar or List
[return] FLGR_Ret
Replace each value of a Data2D by using a logic test.
Example: flgr2d_replace(destination, input1, "==", input2, true, false)
input2, true, false could be FLGR_Data2D, FLGR_Vector, list or scalar constant.
- flgr2d_revert_channel(*args)
- [out] FLGR_Data2D
[in] FLGR_Data2D
[return] FLGR_Ret
revert channel order
- flgr2d_revert_channel_hmorph(*args)
- [inout] FLGR_Data2D
[return] FLGR_Ret
revert channel order inplace
- flgr2d_rotate_center(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[in] Float : rotation angle -180..180
[return] FLGR_Ret
Rotate 2d data using shear. ?o interpolation are performed.
- flgr2d_save_jpeg(*args)
- [in] Image 2D
[in] File name string
[in] Quality [0,100] (default value : 100)
[return] FLGR_RET_OK,...
Store image in a jpeg file
- flgr2d_save_pgm(*args)
- [in] Image 2D
[in] File name string
[in] format 2 for P2 or 5 for P5 (default)
[return] FLGR_RET_OK,...
Store image (8 bits or 16 bits unsigned)
- flgr2d_save_png(*args)
- [in] Image 2D
[in] File name string
[return] FLGR_RET_OK,...
Store image in a png file
- flgr2d_save_tiff(*args)
- [in] Image 2D
[in] File name string
[in] Quality [0,100] (default value : 100)
[return] FLGR_RET_OK,...
Store image in a tiff file
- flgr2d_shear_circular_x(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[in] Integer : shear column center
[in] Integer : shear row center
[in] Float : shear angle
[return] FLGR_Ret
Shear horizontally a 2d data. Shifted columns are re-inserted.
- flgr2d_shear_circular_y(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[in] Integer : shear column center
[in] Integer : shear row center
[in] Float : shear angle
[return] FLGR_Ret
Shear vertically a 2d data. Shifted rows data are re-inserted.
- flgr2d_shear_x(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[in] Integer : shear column center
[in] Integer : shear row center
[in] Float : shear angle
[return] FLGR_Ret
Shear horizontally a 2d data. Shifted columns data are loosed.
- flgr2d_shear_y(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[in] Integer : shear column center
[in] Integer : shear row center
[in] Float : shear angle
[return] FLGR_Ret
Shear vertically a 2d data. Shifted rows data are loosed.
- flgr2d_thread_function_data2d_data2d(...)
- [in] Function
[inout] FLGR_Data2D
[inout] FLGR_Data2D
[in] Number of threads
[return] FLGR_Ret
Start N threads to process a function (eg. function(dest,src) )
- flgr2d_thread_function_data2d_data2d_data2d(...)
- [in] Function
[inout] FLGR_Data2D
[inout] FLGR_Data2D
[inout] FLGR_Data2D
[in] Number of threads
[return] FLGR_Ret
Start N threads to process a function (eg. function(dest,src1,src2) )
- flgr2d_thread_function_data2d_data2d_nhb(...)
- [in] Function
[inout] FLGR_Data2D
[inout] FLGR_Data2D
[in] FLGR_Data2D Neighborhood
[in] Number of threads
[return] FLGR_Ret
Start N threads to process a neighborhood function (eg. function(dest,src,nhb) )
- flgr2d_transpose(...)
- [out] FLGR_Data2D Destination
[in] FLGR_Data2D Source
[return] FLGR_Ret
Matrix transposition (corner turn, pi/2 rotation + mirror)
- flgr2d_unpack_channel(*args)
- [inout] FLGR_Data2D
[in] Integer : number of channel
[return] FLGR_Ret
Convert a mono-channel data to a multi-channel one
- flgr_get_bps_from_type(*args)
- [in] Type (eg FLGR_UINT8, ...)
[return] interger
return bit per pixel for the given type.
- flgr_get_processor_numbers(*args)
- [return] integer
Get the number of available processors
- flgr_get_shape_string(...)
- flgr_get_sizeof(*args)
- [in] Type (eg FLGR_UINT8, ...)
[return] interger
return the byte size of the given type.
- flgr_get_supported_image_format(*args)
- [return] string
Get supported image information
- flgr_get_type_string(*args)
- [in] type enum
[return] string
return a string containing type.
- flgr_get_version(*args)
- [return] string
Get fulguro version
- flgr_is_data_type_valid(*args)
- [in] Type (eg FLGR_UINT8, ...)
[return] FLGR_Ret
Test if a type exist.
- flgr_normalize_coordinate(*args)
- [in] coord value
[in] length of the axis
[return] interger
return a coordinate value to prevent access out of the array. This function
allows to emulate an unfold operation around the data border.
- flgr_system_is_little_endian(*args)
- [return] integer
Return 1 if system is little endian
- flgr_vector_abs(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute abs over vector elements
- flgr_vector_acos(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute acos over vector elements
- flgr_vector_add(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute add over vectors elements
- flgr_vector_addsat(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute addsat over vectors elements
- flgr_vector_and(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute and over vectors elements
- flgr_vector_asin(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute asin over vector elements
- flgr_vector_atan(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute atan over vector elements
- flgr_vector_atan2(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute atan2 over vectors elements
- flgr_vector_ceil(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute ceil over vector elements
- flgr_vector_clear(*args)
- [in] FLGR_Vector
[return] FLGR_Ret
Set all vector elements to zero
- flgr_vector_cmove(*args)
- [out] FLGR_Vector vector dest
[in] FLGR_Vector comparision
[in] FLGR_Vector vector to move
[return] FLGR_Ret
Conditional move vectors elements
Example : dest[n] = ( comp[n] != 0 ? src[n] : dest[n] )
- flgr_vector_cmp_eq(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_cmp_ge(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_cmp_gt(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_cmp_le(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_cmp_lt(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_cmp_ne(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compare vector elements and store each result in a vector
- flgr_vector_copy(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Copy a vector
- flgr_vector_cos(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute cos over vector elements
- flgr_vector_div(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute div over vectors elements
- flgr_vector_equal(*args)
- [in] FLGR_Vector
[in] FLGR_Vector
[return] Integer
Return 1 if all vectors elements are equals
- flgr_vector_floor(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute floor over vector elements
- flgr_vector_inf(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute inf over vectors elements
- flgr_vector_is_same_spp(*args)
- [in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Return FLGR_RET_OK if vectors have same spp
- flgr_vector_is_same_type(*args)
- [in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Return FLGR_RET_OK if vectors have same type
- flgr_vector_logb(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute logb over vectors elements
- flgr_vector_mult(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute mult over vectors elements
- flgr_vector_multsat(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute multsat over vectors elements
- flgr_vector_nand(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute nand over vectors elements
- flgr_vector_nor(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute nor over vectors elements
- flgr_vector_not(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute not over vector elements
- flgr_vector_or(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute or over vectors elements
- flgr_vector_powb(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute powb over vectors elements
- flgr_vector_revert_element(*args)
- [out] FLGR_Vector
[int] FLGR_Vector
[return] FLGR_Ret
revert all elements of a vector
- flgr_vector_sin(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute sin over vector elements
- flgr_vector_sqrt(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute square root of vector elements
- flgr_vector_square(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute square of vector elements
- flgr_vector_sub(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute sub over vectors elements
- flgr_vector_subsat(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute subsat over vectors elements
- flgr_vector_sup(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute sup over vectors elements
- flgr_vector_tan(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute tan over vector elements
- flgr_vector_xor(*args)
- [out] FLGR_Vector
[in] FLGR_Vector
[in] FLGR_Vector
[return] FLGR_Ret
Compute xor over vectors elements
|