source: soft/giet_vm/applications/rosenfeld/include/mca_rosenfeld.h @ 817

Last change on this file since 817 was 805, checked in by meunier, 9 years ago
  • Adding the parallel version of rosenfeld
File size: 981 bytes
Line 
1/* ----------------------- */
2/* --- mca_rosenfeld.h --- */
3/* ----------------------- */
4
5/*
6 * Copyright (c) 2016 Lionel Lacassagne, LIP6, UPMC, CNRS
7 * Init  : 2016/03/03
8 */
9
10// Multi/Many Cores Connected Component Computation en Analysis
11// extension of pixel-based and run-based algorithm to manycores with distributed memory
12
13#ifndef __MCA_ROSENFELD_H__
14#define __MCA_ROSENFELD_H__
15
16#include "mca.h"
17
18#ifdef __cplusplus
19#ifdef VERBOSE_PRAGMA
20#pragma message ("C++")
21#endif
22extern "C" {
23#endif
24
25uint32 line0Labeling_Rosenfeld  (uint8 ** X, int i, int width, uint32 ** E, uint32 * T, uint32 ne);
26uint32 lineLabeling_DT_Rosenfeld(uint8 ** X, int i, int width, uint32 ** E, uint32 * T, uint32 ne);
27
28uint32 countTable_Range_Rosenfeld(uint32 * T, uint32 e0, uint32 e1);
29void   solveTable_Range_Rosenfeld(uint32 * T, uint32 e0, uint32 e1);
30
31void MCA_Label_Rosenfeld(MCA * mca);
32   
33#ifdef __cplusplus
34}
35#endif
36
37#endif // __MCA_ROSENFELD_H__
38
Note: See TracBrowser for help on using the repository browser.