登录
首页 » 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 79
下载积分: 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 个回复

  • 123
    NET平台下的IP欺骗和SYN Flood攻击-彭宁-贵州大学(NET platform IP spoofing and SYN Flood attacks- Penning- Guizhou University)
    2013-12-17 11:41:19下载
    积分:1
  • ATK-SIM900A GSM模块测试实验
    实现STM32f103与SIM900A模块GPRS通讯(Realize the communication between STM32f103 and SIM900A module GPRS)
    2020-08-27 20:48:13下载
    积分:1
  • 西部赛程序(双CCD)
    说明:  基于K60芯片的线性CCD循迹小车,分为速度环和方向环(Linear CCD Track Car Based on K60 Chip)
    2020-06-16 19:00:02下载
    积分:1
  • liunxcnc代码
    开源数控系统,多种机器人控制源代码。多种机器人正反解函数,学习运动控制的好资料
    2022-05-20 13:54:03下载
    积分:1
  • jiaotongzixun
    数据结构的课程设计,做的是一个交通查询,主要用到图的算法,和大家共享,欢迎指正!(Data structure curriculum design, do a query traffic, mainly used graph algorithms, and share, please correct me!)
    2013-10-28 18:49:11下载
    积分:1
  • A_MATEMATICA_DOS_CODIGOS_DE_BARRAS
    A MATEMATICA DOS CODIGOS DE BARRAS
    2010-08-27 08:12:28下载
    积分:1
  • 两个线程调度
    应用背景C #发展和VB脚本 ; 自2008;软件开发医院管理系统家禽形态及管理系统经PBX数据库;关键技术数据库与网络编程专业
    2023-07-11 13:10:03下载
    积分:1
  • DEMO
    说明:  一个小的游戏Dome大家可以看看,技术不成熟!大家要多指点啊!源代码大部分再里面,我只切出了一个文件!(A little game we will look at the Dome, the technology was not! We have to show ah! Most of the source code inside again, I just cut out a document)
    2009-08-10 12:20:56下载
    积分:1
  • project
    说明:  课程设计的主要内容为开发一个实时绘制大规模三维场景的程序系统.必做部分: 1、学习3DS Max 的基本功能,并采用3DS Max 对三维场景进行建模,要求 场景中包含建筑物、道路、天空等基本元素,实现场景的纹理贴图功能。 2、通过3DS Loader 读取场景数据。。 3、学习并使用OpenGL 或DirectX 3D 实时绘制上述场景。 4、提供用户界面,并实现场景的交互漫游功能。 选做部分: 1、在场景中添加了三维地形。 2、实现雾这种气象条件的实时绘制。 3、实现计算机动画技术,飞机在天空中飞,圆环在不停的运转。 4、阴影的绘制 5、在场景中添加了喷泉。 6、实现Billboard 绘制技术。 7、添加了美妙的背景音乐。 (The main content of curriculum design for the development of a real-time rendering system of procedures for large-scale three-dimensional scene (running Interface, refer to Figure 1), including part and the election will be made part (where part of the requirements to achieve Optional 2 to 3 Or more than function). Will be part of: 1, learning the basic functions of 3DS Max, and three-dimensional scene using 3DS Max for modeling, requirements Scene includes buildings, roads, skies and other basic elements, to achieve the texture mapping function of the scene. 2, read the scene data by 3DS Loader. . 3, learn and use OpenGL or DirectX 3D real-time rendering the scene. 4, provide the user interface and interaction to achieve the scene roaming. Optional parts: 1, in the three-dimensional terrain scenes added. 2, the fog that weather conditions to achieve real-time rendering. 3, the realization of computer animation technology, aircraft flying in the sky, circle in)
    2011-04-16 21:32:57下载
    积分:1
  • sap5
    SAP5源代码有助于研究生学习和工作人员工作(SAP5 source code)
    2014-11-08 12:46:53下载
    积分:1
  • 696516资源总数
  • 106741会员总数
  • 17今日下载