利用GDI+进行图像处理
各种基本图像处理操作: 矩形选择、移动图层、套索工具、魔术棒、放大镜、移动图像、添加文字、拾取颜色、钢笔、毛笔、橡皮擦、消除红眼、填充颜色、填充图案、印章工具、图形剪切、渐变填色、画线、图像变形、添加残像等... 各种基本的图像处理算法: 灰化、负片、单色调、海报效果、亮度调整、色彩平衡、曝光处理、Gamma校正、亮度-对比度、色调-饱和度... 需要源代码的,请下载我的更新版本。
各种基本图像处理操作: 矩形选择、移动图层、套索工具、魔术棒、放大镜、移动图像、添加文字、拾取颜色、钢笔、毛笔、橡皮擦、消除红眼、填充颜色、填充图案、印章工具、图形剪切、渐变填色、画线、图像变形、添加残像等... 各种基本的图像处理算法: 灰化、负片、单色调、海报效果、亮度调整、色彩平衡、曝光处理、Gamma校正、亮度-对比度、色调-饱和度... 需要源代码的,请下载我的更新版本。
在过去十几年中,分支预测技术一直是提高处理器性能的重要方法,工业界和学术界对之进行了大量研究。分支预测的本质是克服指令控制相关,提高指令并行度。随着研究的不断深入,当前学术界认为分支预测是一个指令学习的过程,这就使得对分支预测的研究出现了新的趋势。本文对分支预测技术的历史和研究现状进行了归纳,以便从总体上了解分支预测技术的发展过程。
在Pentium以上的CPU中,提供了一条机器指令RDTSC(Read Time Stamp Counter)来读取这个时间戳的数字,并将其保存在EDX:EAX寄存器对中。由于EDX:EAX寄存器对恰好是Win32平台下C++语言保存函数返回值的寄存器,所以我们可以把这条指令看成是一个普通的函数调用。
The Intel® Pentium® 4 Processor Optimization Reference Manual describes how to optimize software to take advantage of the performance characteristics of the newest Intel Pentium 4 processor. The optimizations described for the Pentium 4 processor will also apply to the future IA-32 processors based on the Intel® NetBurst™ micro-architecture.
The IA-32 Intel® Architecture Optimization Reference Manual describes how to optimize software to take advantage of the performance characteristics of the current generation of IA-32 Intel architecture family of processors. The optimizations described in this manual apply to IA-32 processors based on the Intel® NetBurst® microarchitecture, the Intel® Pentium® M processor family and IA-32 processors that support Hyper-Threading Technology.
Several Intel® processors enable development of optimized multimedia applications through extensions to previously implemented instructions. Applications with media-rich bit streams can significantly improve performance by using Single Instruction, Multiple Data (SIMD) instructions to process data elements in parallel.
Intel C++ Compiler Intrinsics Reference