简体   繁体   English

在AFORGE.NET中创建结构元素

[英]Creating a structuring element IN AFORGE.NET

I need to create a structuring element of size 4x13. 我需要创建一个大小为4x13的结构元素。 What i understood was the structuring element can be something like 3x3, 5x5 or 13x13 for my case. 我了解的结构元素对于我来说可能是3x3、5x5或13x13。 if I am to create 4x13 should it be like 13x13 structuring element should i fill the 4x13 area of it with "1" and the rest zeros? 如果我要创建4x13,是否应该像13x13结构元素那样用“ 1”填充其余的4x13区域,其余的零? because Aforge.Net would not let me use a 4x13 directly. 因为Aforge.Net不允许我直接使用4x13。

我设法创建了一种可以自动为我填充索引的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM