CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - h.3 - List
[
2D Graphic
]
PicTest
DL : 0
VC/MFC 常见的几种图像显示的方法: 1.使用CBitMap,在OnPaint 中绘制 2.用picturn控件绘制 3.用背景图 4.用KoDak控件(需要已经安装) -VC/MFC common image shows several ways : 1. CBitMap use. Drawing the OnPaint 2. Controls used picturn drawing three. use background Figure 4. charged with KoDak pieces (need to have installed)
Date
: 2025-12-16
Size
: 1.13mb
User
:
朱某某
[
2D Graphic
]
dct
DL : 0
在编码端,影像首先被分割成8 8块。 DCT的操作,然后 适用于每个图像块。据国际视频标准(JPEG,H.261...), 变换系数四舍五入到最接近的整数,并剪辑成12位( 2048至 2047)。这些系数,然后根据锯齿扫描顺序安排到1-D数据阵列。 然后,选择一些系数和量化。在解码器端,量化系数 反DCT(IDCT)重建。 IDCT的输出调整和裁剪,以0 255。 (我们只有Y信号处理。),DCT,量化和锯齿扫描规格 为了下页。 下面给出3个测试图像上的问题,每个尝试:莉娜(lena.raw)的,辣椒(pepper.raw), 狒狒(baboon.raw)。你需要计算之间原有的均方根误差(MSE) 图像和重建图像。测试图像可以从Web加载。他们是 5128位(每像素),512级灰度(黑白)图像没有任何头。图像 像素存储从左至右,从上到下成一个文件。 (您可以查看图像 使用,例如,Photoshop软件。)-DCT Coding
Date
: 2025-12-16
Size
: 551kb
User
:
cky
[
2D Graphic
]
MyBarChartTest
DL : 0
基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 控件内柱子所在位置 大小 可根据控件大小自适应调整大小及位置 每根柱子高度为相邻柱子之间间隙 设控件总宽度为W 柱子个数为N 那么间隙宽度 X W 3 N + 1 柱子高度为 Y 2 X 2 W 3 N + 1 使用步骤: 1 申明对象 CMyBarChart m conBarChart 2 创建控件 m conBarChart Create CRect 10 10 400 400 this 1000 " Barchart Test" 3 添加 删除数据 m conBarChart AddData 1 234 “AAA” RGB 0 0 0 true m conBarChart DelLastData 4 刷新柱状图 m conBarChart Refresh ">基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 -Histogram Histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project to run Location within the control column size can be adjusted according to the size and location of the adaptive control size The height of each pillar was a gap is provided between adjacent pillars controls overall width W is N then the column number of the gap width XW 3 N+ 1 pillar height of Y 2 X 2 W 3 N+ 1 Use these steps: A declaration object CMyBarChart m conBarChart 2 Create controls m conBarChart Create CRect 10 10 400 400 this 1000 "Barchart Test" 3 add and delete data m conBarChart AddData 1 234 "AAA" RGB 0 0 0 true m conBarChart DelLastData 4 Refresh histogram m conBarChart Refresh "> histogram histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project
Date
: 2025-12-16
Size
: 133kb
User
:
胡明峄
[
2D Graphic
]
CAISESHIZHONG
DL : 0
彩色时钟#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8]={-5,-160,5,-160,5,-130,-5,-130, } int Mrk_2[8]={-5,-160,5,-160,2,-130,-2-130, } int HourHand[8]={-3,-100,3,-120,4, 10,-4,10} int MiHand[8]={-3,-120,3,-120,4, 10,-4,10} int SecHand[8]={-2,-150,2,-150,3, 10,-3,10} -#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8]={-5,-160,5,-160,5,-130,-5,-130, } int Mrk_2[8]={-5,-160,5,-160,2,-130,-2-130, } int HourHand[8]={-3,-100,3,-120,4, 10,-4,10} int MiHand[8]={-3,-120,3,-120,4, 10,-4,10} int SecHand[8]={-2,-150,2,-150,3, 10,-3,10}
Date
: 2025-12-16
Size
: 1kb
User
:
徐
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.