转自该网站:http://research.stowers-institute.org/efg/R/Color/Chart/ 科学可视化中常用的一些颜色表:http://geog.uoregon.edu/datagraphics/color_scales.htm Step-by-Step Procedure (to learn about "colors") 1. The function call, colors(), or with the British spelling, c
很多年前整理的,像素处理的宏定义,包括r8g8b8到r5g6b5之间的相互转化,浮点数像素与整数值之间的相互转化,像素值的插值.取反等处理.具体没什么好说的,宏定义的代码还是很容易看的.这套东西对搞图像处理的来说非常有意义. /**************************************************************** File name : WhyColorDefines.h Author : 叶飞影 Version : 2.0 Create Date :
资源文件的使用分为在代码中使用和在其他资源文件中引用该资源文件.在我们编译一个Android应用时,Android会自动生成一个R类,在该类中根据不同的资源类型又生成了相应的内部类,该类包含了系统中使用到的所有资源文件的标示,其内容如下所示. Java代码:package eoe.demo; // 资源类 public final class R { // 数组 public static final class array { public static final int faultReco