登录
首页 » C# » ex4.14 map identification laquo yuan; Problem description : the digital image pr...

ex4.14 map identification laquo yuan; Problem description : the digital image pr...

于 2022-07-12 发布 文件大小:57.36 kB
0 94
下载积分: 2 下载次数: 1

代码说明:

ex4.14 图元识别问题« 问题描述:在数字化图像处理中常将一幅图像表示为一个m´ m 的像素矩阵。其中每个像素的值为0或1。值为0的像素表示图像的背景,而值为1 的像素表示图像中某个图元上的一个点,通常称其为图元像素。当一个像素在另一个像素的上方、下方、左侧或右侧时,称这2个像素为相邻像素。一幅图像中的相邻像素属于同一图元,而不相邻的像素属于不同图元。图元识别问题就是对给定图像的图元像素进行标记,使得同一图元的图元像素有相同的标记,而不同图元的图元像素其标记也不同。试用抽象数据类型队列设计解图元识别问题的算法,并分析算法的计算复杂性。« 数据输入:由文件input.txt给出输入数据。第一行有1 个正整数m,表示给定m´ m的像素矩阵。接下来的m行中,每行m个数,表示m个像素,值为0 的像素表示图像的背景,而值为1的像素表示图像中某个图元上的一个点。« 结果输出:将计算出的不同图元的个数输出到文件output.txt。输入文件示例 输出文件示例input.txt output.txt70 0 1 0 0 0 00 0 1 1 0 0 00 0 0 0 1 0 00 0 0 1 1 0 01 0 0 0 1 0 01 1 1 0 0 0 01 1 1 0 0 0 03-ex4.14 map identification laquo yuan; Problem description : the digital image processing of an image often expressed as a macute; M pixel matrix. Each pixel value is 0 or 1. The value of 0 pixel image, said background, and the value of a pixel image, said a map of a million, usually called map million pixels. When a pixel in another pixels above, below, left or right, said that two adjacent pixels of the pixel. An image of

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Conversion
    Is an interesting code that allows convert from decimal to hex in real time
    2020-06-17 04:40:01下载
    积分:1
  • 万年历代码
    万年历c程序代码,基于ST89c51单片机设计的万年历,其中包括年月日和万都等的显示,这些功能由c语言来设计实现。
    2022-04-29 07:41:54下载
    积分:1
  • Dry-eye
    this is CLIPS code for eye disease
    2011-08-18 11:04:38下载
    积分:1
  • ROBOT
    机器人语音控制系统,本系统在Windows XP系统下编译通过。更详细的配置请参照书中的说明。(Robot voice control system, the system in the Windows XP system, through the compiler. A more detailed configuration, please refer to the book description.)
    2007-11-10 17:49:31下载
    积分:1
  • c#解析rdlc生成PDF
    c#使用report viewer 10.0 版本 控件,先使用 SQL REPORTSERVICE  客户端 设置模板,完成后通过控件进行解析。 本人使用的开发软件是 VS2015 + SQL SERVER2016 + report viewer 10.0 .
    2022-01-31 10:42:06下载
    积分:1
  • lib_web_system
    山东建筑大学-图书管理系统,用VS2005开发,CSharp编程语言。(Shandong Architectural University- library management system, using VS2005 development, CSharp programming languages.)
    2009-10-13 15:37:46下载
    积分:1
  • 2-相关系数影像匹配
    说明:  相关系数影像匹配,基于相关系数法进行影像的匹配(picmatch this is a code for picmatch)
    2020-10-18 11:17:26下载
    积分:1
  • HMM
    HMM语音识别,包含主要算法,进行语音识别(HMM speech recognition, contains the main algorithm for speech recognition)
    2021-04-12 21:18:56下载
    积分:1
  • 代码
    分为主机,从机两部分,从机收集温度并动态显示在数码管上;主机和从机通过nrf24l01模块进行无线通信,主机把从机(3个)的温度数据显示在lcd1602上(It is divided into two parts: the master and slave, which collect the temperature from the slave and display it dynamically on the digital tube; the master and slave communicate with each other through the nRF24L01 module, and the host displays the temperature data of the slave (3) on the lcd1602.)
    2020-06-16 11:00:02下载
    积分:1
  • lioncrossriver
    有三对母子狮子Aa、Bb与Cc,其中ABC为母狮,abc为小狮。要过一条河,河边只有一条船,狮子自己划船,船每次只能载两只狮子。 生存准则:一只小狮如果没有母亲的保护,则会被其它母狮吃掉。母狮之间、小狮之间是安全的。 问题:如何安全过河? (Lions have three pairs of mother and Aa, Bb and Cc, which ABC is a lioness, abc is a small lion. To cross a river, the river is only one ship, the lion his boat, the ship can only contain two lions. Living standards: a small lion without the protection of the mother, will be eaten by the other lioness. Lioness between, between the small lion is safe. Question: how to safely cross the river?)
    2011-05-12 15:37:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载