lmrcImageLabeling(API)

From EosPedia
Jump to: navigation, search

DataManip/mrcImage/src/lmrcImageLabeling is API for Labeling. It is used by mrcImageLabeling, lmrcImageCalcArea(API).

constant

struct

API

Labeling

Main function

void lmrcImageLabeling(mrcImage* label, mrcImage* in, int mode);

Labeling data is stored to label.
in->HeaderN.z=1, then use lmrcImageLabeling2D. Otherwise, use lmrcImageLabeling3D.

Function for 2D

It is called by lmrcImageLabeling.

void lmrcImageLabeling2D(mrcImage* label, mrcImage* in, int mode);


Function for 3D

It is called by lmrcImageLabeling.

void lmrcImageLabeling3D(mrcImage* label, mrcImage* in, int mode);