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

  • 测试工具。CSharp测试工具很实用。C #开发商必须
    测试工具。CSharp 测试工具很实用。c#开发人员必备-Test tools. CSharp testing tool is very practical. c# developers must
    2022-03-16 06:27:47下载
    积分:1
  • CChartDll
    CChart,国产精品数据可视化控件,基于Win32API,功能强大。网上已有系列教程,使用异常简单。(CChart, made quality data visualization controls, based on Win32API, and powerful. Existing series of tutorials online, very simple to use.)
    2013-09-27 21:33:33下载
    积分:1
  • 《用C++语言编写数学常用算法》
    《用C++语言编写数学常用算法》的配书程序
    2022-02-20 07:17:44下载
    积分:1
  • 设计文件
    这里有很详细的元器件封装,可以方便大家绘制自己的PCB,简单快捷,而且十分的好用。(Here is a very detailed package of components, you can easily draw your own PCB, simple and fast, and very useful.)
    2018-12-28 16:25:19下载
    积分:1
  • AudioResample
    ffmpeg音频重采样,非常好用,供学习研究使用~(Ffmpeg audio resampling, very easy to use)
    2020-06-28 20:40:02下载
    积分:1
  • C_ Socket TCPUDP
    自己编写的C#TCP.UDP小程序,给初学者提供参考(C#TCP.UDP applet written by himself, to provide reference for beginners)
    2017-11-06 00:01:38下载
    积分:1
  • STM32F10xxx参考手册中文版
    stm32f103系列芯片中文参考手册,给需要的人,拿走不谢(A rare reference manual for Chinese development of STM32F103 series chips)
    2019-07-02 09:15:37下载
    积分:1
  • MSP430-
    MSP430单片机常用模块连接原理的与操作实例(MSP430 microcontroller used to connect the module with the operating principles of instances)
    2014-06-29 10:43:18下载
    积分:1
  • Matlab-testing
    Matlab预测控制程序 为大家开发预测打好基础(Matlab model predictive control program to lay the foundation for everyone to develop prediction)
    2011-06-14 11:14:06下载
    积分:1
  • MIMOMatlab
    MIMO信道容量的Matlab仿真程序,可以仿真出正确的图形(MIMO channel capacity of Matlab simulation program, can simulate the correct graphics)
    2013-11-26 09:48:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载