文件名称:pixel
-
所属分类:
- 标签属性:
- 上传时间:2013-11-12
-
文件大小:3.86mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用一个简单的例子来说明如何遍历图像:减少图像中的颜色数目。
彩色图片由三个通道,由于每一个强度都是一个8位的unsigned char 表示,所以所有可能的颜色数目为256*256*256,很是庞大。为了降低分析的复杂度,降低图片的颜色数目是有用的。
这个算法很简单,对图片中每个像素的每一个通道,将其值除以N(整数除法,舍去余数),然后乘以N,这样就能得到不大于原始像素值的N的最大倍值。-Use a simple example to illustrate how to traverse the image: reducing the number of colors in the image. Color picture from the three channels, since each is an 8-bit intensity unsigned char, so all the possible number of colors is 256* 256* 256, it is enormous. To reduce the complexity of analysis, reduce the number of colors the image is useful. This algorithm is very simple, for each pixel in the image for each channel, its value is divided by N (integer division, discarding the remainder) and then multiplied by N, so that you can get the original pixel value is not greater than the maximum magnification of N values.
彩色图片由三个通道,由于每一个强度都是一个8位的unsigned char 表示,所以所有可能的颜色数目为256*256*256,很是庞大。为了降低分析的复杂度,降低图片的颜色数目是有用的。
这个算法很简单,对图片中每个像素的每一个通道,将其值除以N(整数除法,舍去余数),然后乘以N,这样就能得到不大于原始像素值的N的最大倍值。-Use a simple example to illustrate how to traverse the image: reducing the number of colors in the image. Color picture from the three channels, since each is an 8-bit intensity unsigned char, so all the possible number of colors is 256* 256* 256, it is enormous. To reduce the complexity of analysis, reduce the number of colors the image is useful. This algorithm is very simple, for each pixel in the image for each channel, its value is divided by N (integer division, discarding the remainder) and then multiplied by N, so that you can get the original pixel value is not greater than the maximum magnification of N values.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pixel/Debug/pixel.exe
pixel/Debug/pixel.pdb
pixel/ipch/pixel-84a858bd/pixel-ec06bdce.ipch
pixel/pixel/Debug/cl.command.1.tlog
pixel/pixel/Debug/CL.read.1.tlog
pixel/pixel/Debug/CL.write.1.tlog
pixel/pixel/Debug/link-cvtres.read.1.tlog
pixel/pixel/Debug/link-cvtres.write.1.tlog
pixel/pixel/Debug/link-rc.read.1.tlog
pixel/pixel/Debug/link-rc.write.1.tlog
pixel/pixel/Debug/link.command.1.tlog
pixel/pixel/Debug/link.read.1.tlog
pixel/pixel/Debug/link.write.1.tlog
pixel/pixel/Debug/pixel.lastbuildstate
pixel/pixel/Debug/pixel.log
pixel/pixel/Debug/pixel.obj
pixel/pixel/Debug/stdafx.obj
pixel/pixel/Debug/vc110.idb
pixel/pixel/Debug/vc110.pdb
pixel/pixel/pixel.cpp
pixel/pixel/pixel.vcxproj
pixel/pixel/pixel.vcxproj.filters
pixel/pixel/ReadMe.txt
pixel/pixel/stdafx.cpp
pixel/pixel/stdafx.h
pixel/pixel/targetver.h
pixel/pixel.sdf
pixel/pixel.sln
pixel/pixel.v11.suo
pixel/ipch/pixel-84a858bd
pixel/pixel/Debug
pixel/Debug
pixel/ipch
pixel/pixel
pixel
pixel/Debug/pixel.pdb
pixel/ipch/pixel-84a858bd/pixel-ec06bdce.ipch
pixel/pixel/Debug/cl.command.1.tlog
pixel/pixel/Debug/CL.read.1.tlog
pixel/pixel/Debug/CL.write.1.tlog
pixel/pixel/Debug/link-cvtres.read.1.tlog
pixel/pixel/Debug/link-cvtres.write.1.tlog
pixel/pixel/Debug/link-rc.read.1.tlog
pixel/pixel/Debug/link-rc.write.1.tlog
pixel/pixel/Debug/link.command.1.tlog
pixel/pixel/Debug/link.read.1.tlog
pixel/pixel/Debug/link.write.1.tlog
pixel/pixel/Debug/pixel.lastbuildstate
pixel/pixel/Debug/pixel.log
pixel/pixel/Debug/pixel.obj
pixel/pixel/Debug/stdafx.obj
pixel/pixel/Debug/vc110.idb
pixel/pixel/Debug/vc110.pdb
pixel/pixel/pixel.cpp
pixel/pixel/pixel.vcxproj
pixel/pixel/pixel.vcxproj.filters
pixel/pixel/ReadMe.txt
pixel/pixel/stdafx.cpp
pixel/pixel/stdafx.h
pixel/pixel/targetver.h
pixel/pixel.sdf
pixel/pixel.sln
pixel/pixel.v11.suo
pixel/ipch/pixel-84a858bd
pixel/pixel/Debug
pixel/Debug
pixel/ipch
pixel/pixel
pixel
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.