create
クラス Segmentation8UC1 の派生クラスのインスタンスを取得するファクトリ関数。
プロトタイプ
std::unique_ptr< Segmentation8UC1 > create(const std::string &model_name, bool need_preprocess=true);
パラメーター
次の表に、create 関数の引数を示します。
| タイプ | 名前 | 説明 |
|---|---|---|
| const std::string & | model_name | モデル名 |
| bool | need_preprocess | 平均値/スケール値で正規化するかどうか。デフォルト値は true。 |
戻り値
クラスSegmentation8UC1 のインスタンス。