/**
* Java RGB数组图像合成 ImageCombinning (整理)
*
* 2016-1-2 深圳 南山平山村 曾剑锋
*
* 注意事项:
* 1、本程序为java程序,同时感谢您花费宝贵的时间来阅读本文档;
* 2、请注意包名为:practice,文件名为:ImageCombining,注意检查,以防一些不必要的麻烦;
* 3、在完成确认2中的内容后,本程序可以直接运行,因为本软件说明都在注释中;
* 4、本人已经尽可能对代码进行全面的注释,但由于个人能力、阅历等原因,有些细节可能并没有
* 详细阐述,或者有疏漏,请谅解。
* 5、您可以在/home/soft1/CharMapsImage.jpg下找到小窗口中的图,是一张合成图,是《终结TTS无图
* 时代——Java原创》的原图。
*/ package demo; import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**
* RGB图像合成<br><ol>
* <li>本软件是采用CharMaps逆向思路,图像合成。另外写了一个RGBOfCharMaps对图片进行R、B、G色彩提取的小软件,是
* CharMaps的修改版。
* <li>本程序中的R、G、B三个数组均为使用RGBOfCharMaps自动生成的;
* <li>如果您对CharMaps不了解,请查阅《终结TTS无图时代——Java原创》,里面有详细的注释;
* <li>本软件合成的图就是《终结TTS无图时代——Java原创》的原图,经合成,图片上有了不少噪声,这里就不进行去噪工作,更
* 确切的说是:不懂!。
* @author soft1
*
*/
public class ImageCombining extends JPanel {
/**
* 设置图片缓冲区的宽
*/
private static int width = 86;
/**
* 设置图片缓冲区的高
*/
private static int height = 33;
/**
* 声明一个BufferedImage
*/
private static BufferedImage bufferedImage;
@Override
public void paint(Graphics g) {
//绘制图像
g.drawImage(bufferedImage, 5, 5, null);
}
public static void main(String[] args) {
try {
//图像保存路径
JFileChooser jFileChooser = new JFileChooser();
jFileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);//只能选择目录
jFileChooser.showOpenDialog(null);
File file = new File(jFileChooser.getSelectedFile().getPath()+"CharMaps.jpg");
System.out.println(file.getAbsolutePath());
//设置图像缓冲区
bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
//图形合成函数
imageCombining(file,bufferedImage);
//将图像写入文件
ImageIO.write(bufferedImage, "jpg", file);
//将图像通过JFrame显示出来
showJFrame();
} catch (IOException e) {
System.out.println(e);
}
}
/**
* JFrame显示函数,完成任务如下:<br><ol>
* <li>创建一个ImageCombining,这个类继承自JPanel;
* <li>创建JFrame,并对JFrame进行设置;
* <li>显示JFrame;
*/
private static void showJFrame() {
JPanel jPanel = new ImageCombining();
JFrame jFrame = new JFrame();
jFrame.setTitle("ImageCombining");
jFrame.setSize(width+20, height+33);
jFrame.add(jPanel);
jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jFrame.setLocationRelativeTo(null);
jFrame.setVisible(true);
}
/**
* 图像合成函数,完成任务如下:<br><ol>
* <li>从R、G、B三个数组中提取三基色;
* <li>对三基色进行合成;
* <li>将对应位置三基色保存进入图片缓冲区对应位置
*
* @param file
* @param bufferedImage2
*/
private static void imageCombining(File file, BufferedImage bufferedImage2) {
for (int row = 0; row < height; row++) {
for (int col = 0; col < width; col++) {
int rgb = 0;
//提取RGB三色值
int r = R[row][col];
int b = B[row][col];
int g = G[row][col];
//合成RGB三色值
rgb = ((r<<16)|(g<<8)|b)&0xffffff;
//将RGB三色值保存于对应的bufferedImage坐标中
bufferedImage.setRGB(col, row, rgb);
}
}
}
private static int[][] R = {{255,255,255,255,255,255,255,255,255,255,254,254,248,255,255,255,250,255,251,253,255,253,255,254,255,255,255,255,255,255,255,255,255,254,254,255,248,255,253,255,255,255,255,255,255,255,255,255,251,255,253,255,254,255,255,255,254,255,248,252,255,252,255,255,253,255,249,255,255,255,254,253,255,253,255,243,255,255,255,251,252,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,252,250,251,255,255,254,253,248,255,247,255,255,251,255,246,251,255,255,255,255,255,255,255,255,252,250,255,248,255,255,255,243,255,255,255,255,255,255,255,255,255,251,252,248,255,247,254,253,255,251,255,255,255,249,255,250,255,255,243,255,244,249,255,255,250,255,254,255,255,252,255,255,255,255,255,253,252,253,},
{255,255,255,255,255,255,255,255,250,255,255,254,250,255,253,255,255,157,38,0,47,149,251,255,255,255,255,255,255,255,255,255,253,255,255,255,255,243,255,255,255,255,255,255,255,255,255,255,252,255,250,255,246,255,252,255,252,255,244,243,255,252,255,255,254,255,255,250,255,255,245,255,255,248,255,253,255,248,255,255,255,255,255,255,255,253,},
{255,255,255,255,255,255,255,255,252,0,0,0,10,252,255,248,151,8,8,0,5,0,155,253,255,255,255,255,255,255,255,255,255,252,243,251,252,253,255,255,255,255,255,255,255,255,255,255,248,249,255,252,251,255,255,254,249,255,255,255,246,255,255,242,247,255,248,206,125,64,30,12,66,138,207,236,251,255,250,255,254,253,254,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,0,6,0,255,249,255,38,5,239,0,255,7,40,255,255,255,255,255,255,255,255,255,255,253,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,251,255,255,255,255,249,251,255,248,254,251,255,255,250,255,252,166,0,10,0,0,0,0,1,0,0,12,165,245,255,250,255,253,252,254,255,255,},
{255,255,255,255,255,255,255,255,254,255,0,255,0,250,255,244,9,0,6,1,3,0,9,255,255,255,255,255,255,255,255,255,247,13,0,85,255,253,255,255,255,255,255,255,255,255,255,255,241,255,253,0,4,78,255,255,245,255,255,251,255,243,255,208,16,4,0,24,111,209,247,245,201,107,27,4,0,24,212,255,255,255,255,252,252,255,},
{255,255,255,255,255,255,255,255,255,0,5,250,255,255,253,255,40,0,254,255,251,0,46,245,255,255,255,255,255,255,255,255,255,1,3,88,255,253,255,249,255,255,255,255,255,255,255,255,255,255,249,0,1,83,255,255,255,255,252,255,252,255,199,2,0,34,198,255,255,247,253,254,254,255,255,191,47,0,0,199,247,255,255,254,252,255,},
{255,255,255,255,255,255,255,255,253,0,255,255,253,255,249,255,154,2,0,0,0,8,150,255,255,255,255,255,255,255,255,255,255,0,0,90,250,255,252,255,255,255,255,255,255,255,255,255,250,255,250,0,4,90,255,248,255,253,252,255,252,213,1,2,84,255,255,236,169,80,8,17,74,167,239,255,253,81,12,0,224,245,255,255,252,255,},
{255,252,255,249,255,255,250,255,0,0,245,255,248,255,251,255,252,153,1,0,9,148,249,255,255,252,252,255,252,246,255,248,254,0,2,86,252,255,253,255,255,252,251,255,255,246,255,253,255,255,255,255,252,251,253,255,253,255,252,255,248,20,1,83,255,255,166,0,6,0,0,0,1,0,9,167,251,255,85,0,16,255,254,255,255,251,},
{247,255,255,242,255,253,255,243,0,6,3,251,251,255,255,255,0,10,0,0,0,4,13,250,248,255,255,248,255,255,246,255,255,7,0,92,255,250,255,253,255,255,255,251,255,255,246,255,249,250,255,255,255,255,254,253,255,255,250,253,158,4,32,252,250,135,0,2,0,3,10,3,5,6,0,1,124,255,247,40,6,140,252,255,255,254,},
{250,255,246,255,255,244,255,255,0,254,0,1,255,255,249,3,0,253,5,3,0,252,0,255,255,255,249,0,252,251,253,246,254,0,0,90,243,255,250,254,253,255,251,255,250,249,255,255,255,255,254,254,253,255,253,248,251,247,255,251,0,4,201,255,165,0,9,6,33,137,220,235,141,34,0,0,7,158,246,198,0,23,243,253,255,255,},
{255,255,255,245,253,255,249,251,4,253,255,7,0,248,3,0,255,255,3,0,1,255,0,5,249,255,255,0,255,244,255,254,254,0,7,81,255,209,94,34,6,18,77,191,255,251,254,252,234,255,253,0,0,83,255,255,255,255,243,213,5,26,249,240,4,0,0,70,255,255,255,250,248,255,91,0,0,10,236,255,32,0,212,244,255,255,},
{252,246,255,255,255,249,252,2,0,249,255,255,0,11,0,255,251,255,0,7,0,255,251,0,5,244,0,14,249,255,253,250,255,4,0,80,174,16,0,3,0,0,1,1,141,255,255,252,255,255,248,1,5,86,253,255,255,250,255,128,0,119,255,164,6,0,40,255,246,168,34,36,182,255,246,35,0,0,168,255,114,3,141,249,255,255,},
{255,255,252,255,235,254,255,0,255,255,244,245,255,240,255,251,7,0,7,4,0,252,255,252,0,7,0,254,247,248,255,255,255,0,0,52,12,31,143,207,198,128,17,11,0,218,254,255,255,252,255,0,11,76,255,250,255,243,255,57,0,197,246,79,0,7,142,249,184,0,0,8,0,174,250,150,4,0,82,247,199,1,58,255,255,255,},
{255,255,255,251,255,255,0,0,247,255,253,255,252,255,255,255,3,5,0,4,0,246,255,254,255,250,255,251,255,255,251,254,255,3,0,7,44,231,255,239,251,255,156,0,13,106,253,255,248,255,255,5,0,93,255,255,255,255,252,28,3,241,255,17,1,11,224,255,44,0,216,203,5,37,255,223,2,3,6,255,241,0,16,255,255,251,},
{255,253,255,249,255,251,3,254,255,253,252,252,255,255,246,255,0,255,0,2,1,255,247,255,255,252,255,255,252,254,254,255,254,3,0,1,210,253,247,255,255,255,250,20,3,45,255,252,255,253,254,0,3,85,254,252,250,255,255,10,2,243,252,15,0,0,242,246,38,2,213,202,2,31,255,234,0,0,16,255,246,5,18,249,255,251,},
{255,252,255,252,255,249,6,255,255,255,252,255,246,255,255,254,0,255,0,0,1,255,253,255,255,255,255,255,255,255,255,255,253,2,0,41,255,246,255,255,254,255,250,75,0,11,255,251,255,254,255,0,0,88,255,255,255,248,255,63,4,191,255,74,0,3,143,255,171,0,8,0,0,168,252,152,0,1,77,255,191,7,67,252,250,255,},
{255,255,255,255,246,255,0,255,255,255,255,252,255,255,249,251,253,243,3,0,0,248,255,253,255,255,255,255,255,255,255,255,249,4,0,66,255,254,254,255,254,255,253,80,0,5,255,253,255,254,255,0,0,88,255,255,245,255,247,131,1,111,255,166,3,6,28,249,253,174,39,34,180,246,253,25,7,0,165,246,118,0,129,255,255,252,},
{248,255,247,254,255,0,0,255,248,255,251,255,253,251,249,255,255,255,6,0,0,255,255,255,255,255,255,255,255,255,255,255,249,5,0,88,255,255,252,255,254,255,255,85,0,0,254,255,255,254,255,0,0,88,255,255,255,255,252,212,4,31,250,247,4,0,0,91,255,247,253,254,249,255,73,3,6,0,246,255,26,8,209,249,255,246,},
{255,250,255,255,248,0,255,244,255,248,247,255,249,255,255,250,1,0,0,250,6,3,255,248,255,255,255,255,255,255,255,255,255,2,0,93,250,255,252,255,254,255,255,88,1,0,252,255,255,254,255,0,0,88,255,255,245,255,253,241,5,6,187,255,164,7,7,0,29,148,232,243,142,31,9,0,0,167,253,185,6,0,246,255,247,255,},
{248,255,254,255,255,0,248,253,0,255,255,255,255,250,255,255,2,251,255,254,255,0,0,255,255,255,255,255,255,255,255,255,255,0,0,89,252,252,255,255,255,254,253,88,3,0,252,255,255,254,255,0,0,88,255,255,255,255,255,253,160,0,49,253,255,113,3,7,0,0,0,0,0,5,0,0,128,248,255,42,7,153,255,254,251,252,},
{250,255,255,247,254,255,247,255,0,0,247,252,252,255,252,4,0,255,255,244,255,255,2,250,255,255,255,255,255,255,255,255,255,0,1,87,255,253,255,251,255,254,252,86,3,1,254,254,255,254,255,0,0,88,255,255,251,250,248,255,242,28,3,74,255,255,160,7,0,0,15,0,0,0,0,163,255,251,91,0,3,255,251,249,255,246,},
{255,254,254,255,255,255,252,248,255,4,0,255,255,252,0,0,255,246,255,255,239,255,0,255,255,255,255,255,255,255,255,255,254,0,1,87,255,255,255,253,254,255,254,85,1,1,255,254,255,254,255,0,0,88,255,255,255,255,255,252,255,207,0,13,84,254,255,236,160,78,8,16,76,174,248,245,255,90,0,12,228,253,255,255,247,255,},
{251,255,252,255,254,253,255,255,250,250,8,0,255,255,0,255,254,255,251,255,255,251,0,0,255,255,255,255,255,255,255,255,252,6,0,86,252,255,254,255,254,255,255,84,0,0,255,254,255,254,255,0,0,88,255,255,255,255,255,255,251,255,200,0,0,45,192,255,254,254,253,254,255,246,255,195,36,1,0,198,252,254,255,254,255,255,},
{255,255,255,255,255,255,255,255,255,246,255,0,1,0,3,255,253,255,254,255,245,248,255,0,255,243,255,254,255,254,255,250,255,0,0,90,250,255,252,255,253,255,247,91,2,0,253,254,250,255,250,0,4,90,255,248,250,255,255,252,255,255,245,224,14,4,1,34,113,199,243,246,199,115,30,7,1,14,228,247,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,251,255,0,9,246,253,254,255,252,246,255,255,241,8,252,255,255,255,253,249,253,255,255,1,3,88,255,253,255,249,254,251,255,83,0,0,255,255,255,255,249,0,1,83,255,255,254,255,255,252,254,255,255,247,255,141,23,0,0,5,0,0,0,8,0,0,151,248,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,249,255,255,254,255,250,254,255,255,248,255,255,252,255,249,1,255,249,255,253,255,255,253,250,247,13,0,85,255,253,255,255,255,255,253,83,2,9,232,255,241,255,253,0,4,78,255,255,253,255,255,252,252,255,255,255,255,252,242,208,137,61,23,23,74,128,208,247,255,255,243,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,245,251,252,254,255,255,249,249,255,253,255,255,250,255,3,255,255,255,255,244,255,251,255,255,253,255,255,255,255,255,244,245,255,255,249,255,253,255,250,255,251,255,255,255,255,249,251,253,253,255,255,254,252,253,255,255,255,255,251,249,255,255,252,246,255,246,255,254,245,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,254,255,255,255,251,255,247,255,253,254,254,255,250,255,255,0,6,0,255,255,250,254,255,251,255,252,243,251,252,253,255,255,254,255,244,255,255,254,241,255,248,249,255,252,251,255,255,254,255,255,255,255,255,254,253,254,254,253,254,255,255,255,254,248,255,255,255,245,255,255,252,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,253,249,252,252,248,255,255,255,254,250,255,255,239,255,255,255,242,255,254,253,255,254,252,253,255,255,255,255,243,255,255,255,252,255,255,253,254,255,255,252,255,250,255,246,255,252,255,255,255,253,255,255,255,255,255,255,255,255,254,251,249,253,255,255,237,255,255,255,250,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,239,255,251,255,255,248,246,255,255,252,251,255,244,255,255,254,251,254,252,250,255,248,255,255,255,243,255,248,255,254,255,247,255,247,255,251,252,248,255,247,254,253,255,255,253,252,253,255,255,255,254,255,255,254,253,255,255,255,248,255,255,249,255,249,255,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,247,255,255,249,255,255,253,250,255,248,255,253,255,252,255,250,253,255,253,255,251,255,255,255,254,254,255,248,255,253,255,253,255,255,251,255,245,255,255,251,255,253,255,254,255,255,255,251,255,255,255,255,255,255,252,254,252,254,255,255,252,253,255,255,251,253,255,251,255,255,250,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,}}; private static int[][] G ={{255,255,255,255,255,255,255,255,255,255,254,254,248,255,255,255,250,255,251,253,255,253,255,254,255,255,255,255,255,255,255,255,255,254,254,255,248,255,253,255,255,255,255,255,255,255,255,255,251,255,253,255,254,255,255,255,254,255,248,252,255,252,255,255,253,255,249,255,255,255,254,253,255,253,255,243,255,255,255,251,252,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,252,250,251,255,255,254,253,248,255,247,255,255,251,255,246,251,255,255,255,255,255,255,255,255,252,250,255,248,255,255,255,243,255,255,255,255,255,255,255,255,255,251,252,248,255,247,254,253,255,251,255,255,255,249,255,250,255,255,243,255,244,249,255,255,250,255,254,255,255,252,255,255,255,255,255,253,252,253,},
{255,255,255,255,255,255,255,255,250,255,255,254,250,255,253,255,255,157,38,0,47,149,251,255,255,255,255,255,255,255,255,255,253,255,255,255,255,243,255,255,255,255,255,255,255,255,255,255,252,255,250,255,246,255,252,255,252,255,244,243,255,252,255,255,254,255,255,250,255,255,245,255,255,248,255,253,255,248,255,255,255,255,255,255,255,253,},
{255,255,255,255,255,255,255,255,252,0,0,0,10,252,255,248,151,8,8,0,5,0,155,253,255,255,255,255,255,255,255,255,255,252,243,251,252,253,255,255,255,255,255,255,255,255,255,255,248,249,255,252,251,255,255,254,249,255,255,255,246,255,255,242,247,255,248,206,125,64,30,12,66,138,207,236,251,255,250,255,254,253,254,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,0,6,0,255,249,255,38,5,239,0,255,7,40,255,255,255,255,255,255,255,255,255,255,253,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,251,255,255,255,255,249,251,255,248,254,251,255,255,250,255,252,166,0,10,0,0,0,0,1,0,0,12,165,245,255,250,255,253,252,254,255,255,},
{255,255,255,255,255,255,255,255,254,255,0,255,0,250,255,244,9,0,6,1,3,0,9,255,255,255,255,255,255,255,255,255,247,13,0,85,255,253,255,255,255,255,255,255,255,255,255,255,241,255,253,0,4,78,255,255,245,255,255,251,255,243,255,208,16,4,0,24,111,209,247,245,201,107,27,4,0,24,212,255,255,255,255,252,252,255,},
{255,255,255,255,255,255,255,255,255,0,5,250,255,255,253,255,40,0,254,255,251,0,46,245,255,255,255,255,255,255,255,255,255,1,3,88,255,253,255,249,255,255,255,255,255,255,255,255,255,255,249,0,1,83,255,255,255,255,252,255,252,255,199,2,0,34,198,255,255,247,253,254,254,255,255,191,47,0,0,199,247,255,255,254,252,255,},
{255,255,255,255,255,255,255,255,253,0,255,255,253,255,249,255,154,2,0,0,0,8,150,255,255,255,255,255,255,255,255,255,255,0,0,90,250,255,252,255,255,255,255,255,255,255,255,255,250,255,250,0,4,90,255,248,255,253,252,255,252,213,1,2,84,255,255,236,169,80,8,17,74,167,239,255,253,81,12,0,224,245,255,255,252,255,},
{255,252,255,249,255,255,250,255,0,0,245,255,248,255,251,255,252,153,1,0,9,148,249,255,255,252,252,255,252,246,255,248,254,0,2,86,252,255,253,255,255,252,251,255,255,246,255,253,255,255,255,255,252,251,253,255,253,255,252,255,248,20,1,83,255,255,166,0,6,0,0,0,1,0,9,167,251,255,85,0,16,255,254,255,255,251,},
{247,255,255,242,255,253,255,243,0,6,3,251,251,255,255,255,0,10,0,0,0,4,13,250,248,255,255,248,255,255,246,255,255,7,0,92,255,250,255,253,255,255,255,251,255,255,246,255,249,250,255,255,255,255,254,253,255,255,250,253,158,4,32,252,250,135,0,2,0,3,10,3,5,6,0,1,124,255,247,40,6,140,252,255,255,254,},
{250,255,246,255,255,244,255,255,0,254,0,1,255,255,249,3,0,253,5,3,0,252,0,255,255,255,249,0,252,251,253,246,254,0,0,90,243,255,250,254,253,255,251,255,250,249,255,255,255,255,254,254,253,255,253,248,251,247,255,251,0,4,201,255,165,0,9,6,33,137,220,235,141,34,0,0,7,158,246,198,0,23,243,253,255,255,},
{255,255,255,245,253,255,249,251,4,253,255,7,0,248,3,0,255,255,3,0,1,255,0,5,249,255,255,0,255,244,255,254,254,0,7,81,255,209,94,34,6,18,77,191,255,251,254,252,234,255,253,0,0,83,255,255,255,255,243,213,5,26,249,240,4,0,0,70,255,255,255,250,248,255,91,0,0,10,236,255,32,0,212,244,255,255,},
{252,246,255,255,255,249,252,2,0,249,255,255,0,11,0,255,251,255,0,7,0,255,251,0,5,244,0,14,249,255,253,250,255,4,0,80,174,16,0,3,0,0,1,1,141,255,255,252,255,255,248,1,5,86,253,255,255,250,255,128,0,119,255,164,6,0,40,255,246,168,34,36,182,255,246,35,0,0,168,255,114,3,141,249,255,255,},
{255,255,252,255,235,254,255,0,255,255,244,245,255,240,255,251,7,0,7,4,0,252,255,252,0,7,0,254,247,248,255,255,255,0,0,52,12,31,143,207,198,128,17,11,0,218,254,255,255,252,255,0,11,76,255,250,255,243,255,57,0,197,246,79,0,7,142,249,184,0,0,8,0,174,250,150,4,0,82,247,199,1,58,255,255,255,},
{255,255,255,251,255,255,0,0,247,255,253,255,252,255,255,255,3,5,0,4,0,246,255,254,255,250,255,251,255,255,251,254,255,3,0,7,44,231,255,239,251,255,156,0,13,106,253,255,248,255,255,5,0,93,255,255,255,255,252,28,3,241,255,17,1,11,224,255,44,0,216,203,5,37,255,223,2,3,6,255,241,0,16,255,255,251,},
{255,253,255,249,255,251,3,254,255,253,252,252,255,255,246,255,0,255,0,2,1,255,247,255,255,252,255,255,252,254,254,255,254,3,0,1,210,253,247,255,255,255,250,20,3,45,255,252,255,253,254,0,3,85,254,252,250,255,255,10,2,243,252,15,0,0,242,246,38,2,213,202,2,31,255,234,0,0,16,255,246,5,18,249,255,251,},
{255,252,255,252,255,249,6,255,255,255,252,255,246,255,255,254,0,255,0,0,1,255,253,255,255,255,255,255,255,255,255,255,253,2,0,41,255,246,255,255,254,255,250,75,0,11,255,251,255,254,255,0,0,88,255,255,255,248,255,63,4,191,255,74,0,3,143,255,171,0,8,0,0,168,252,152,0,1,77,255,191,7,67,252,250,255,},
{255,255,255,255,246,255,0,255,255,255,255,252,255,255,249,251,253,243,3,0,0,248,255,253,255,255,255,255,255,255,255,255,249,4,0,66,255,254,254,255,254,255,253,80,0,5,255,253,255,254,255,0,0,88,255,255,245,255,247,131,1,111,255,166,3,6,28,249,253,174,39,34,180,246,253,25,7,0,165,246,118,0,129,255,255,252,},
{248,255,247,254,255,0,0,255,248,255,251,255,253,251,249,255,255,255,6,0,0,255,255,255,255,255,255,255,255,255,255,255,249,5,0,88,255,255,252,255,254,255,255,85,0,0,254,255,255,254,255,0,0,88,255,255,255,255,252,212,4,31,250,247,4,0,0,91,255,247,253,254,249,255,73,3,6,0,246,255,26,8,209,249,255,246,},
{255,250,255,255,248,0,255,244,255,248,247,255,249,255,255,250,1,0,0,250,6,3,255,248,255,255,255,255,255,255,255,255,255,2,0,93,250,255,252,255,254,255,255,88,1,0,252,255,255,254,255,0,0,88,255,255,245,255,253,241,5,6,187,255,164,7,7,0,29,148,232,243,142,31,9,0,0,167,253,185,6,0,246,255,247,255,},
{248,255,254,255,255,0,248,253,0,255,255,255,255,250,255,255,2,251,255,254,255,0,0,255,255,255,255,255,255,255,255,255,255,0,0,89,252,252,255,255,255,254,253,88,3,0,252,255,255,254,255,0,0,88,255,255,255,255,255,253,160,0,49,253,255,113,3,7,0,0,0,0,0,5,0,0,128,248,255,42,7,153,255,254,251,252,},
{250,255,255,247,254,255,247,255,0,0,247,252,252,255,252,4,0,255,255,244,255,255,2,250,255,255,255,255,255,255,255,255,255,0,1,87,255,253,255,251,255,254,252,86,3,1,254,254,255,254,255,0,0,88,255,255,251,250,248,255,242,28,3,74,255,255,160,7,0,0,15,0,0,0,0,163,255,251,91,0,3,255,251,249,255,246,},
{255,254,254,255,255,255,252,248,255,4,0,255,255,252,0,0,255,246,255,255,239,255,0,255,255,255,255,255,255,255,255,255,254,0,1,87,255,255,255,253,254,255,254,85,1,1,255,254,255,254,255,0,0,88,255,255,255,255,255,252,255,207,0,13,84,254,255,236,160,78,8,16,76,174,248,245,255,90,0,12,228,253,255,255,247,255,},
{251,255,252,255,254,253,255,255,250,250,8,0,255,255,0,255,254,255,251,255,255,251,0,0,255,255,255,255,255,255,255,255,252,6,0,86,252,255,254,255,254,255,255,84,0,0,255,254,255,254,255,0,0,88,255,255,255,255,255,255,251,255,200,0,0,45,192,255,254,254,253,254,255,246,255,195,36,1,0,198,252,254,255,254,255,255,},
{255,255,255,255,255,255,255,255,255,246,255,0,1,0,3,255,253,255,254,255,245,248,255,0,255,243,255,254,255,254,255,250,255,0,0,90,250,255,252,255,253,255,247,91,2,0,253,254,250,255,250,0,4,90,255,248,250,255,255,252,255,255,245,224,14,4,1,34,113,199,243,246,199,115,30,7,1,14,228,247,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,251,255,0,9,246,253,254,255,252,246,255,255,241,8,252,255,255,255,253,249,253,255,255,1,3,88,255,253,255,249,254,251,255,83,0,0,255,255,255,255,249,0,1,83,255,255,254,255,255,252,254,255,255,247,255,141,23,0,0,5,0,0,0,8,0,0,151,248,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,249,255,255,254,255,250,254,255,255,248,255,255,252,255,249,1,255,249,255,253,255,255,253,250,247,13,0,85,255,253,255,255,255,255,253,83,2,9,232,255,241,255,253,0,4,78,255,255,253,255,255,252,252,255,255,255,255,252,242,208,137,61,23,23,74,128,208,247,255,255,243,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,245,251,252,254,255,255,249,249,255,253,255,255,250,255,3,255,255,255,255,244,255,251,255,255,253,255,255,255,255,255,244,245,255,255,249,255,253,255,250,255,251,255,255,255,255,249,251,253,253,255,255,254,252,253,255,255,255,255,251,249,255,255,252,246,255,246,255,254,245,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,254,255,255,255,251,255,247,255,253,254,254,255,250,255,255,0,6,0,255,255,250,254,255,251,255,252,243,251,252,253,255,255,254,255,244,255,255,254,241,255,248,249,255,252,251,255,255,254,255,255,255,255,255,254,253,254,254,253,254,255,255,255,254,248,255,255,255,245,255,255,252,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,253,249,252,252,248,255,255,255,254,250,255,255,239,255,255,255,242,255,254,253,255,254,252,253,255,255,255,255,243,255,255,255,252,255,255,253,254,255,255,252,255,250,255,246,255,252,255,255,255,253,255,255,255,255,255,255,255,255,254,251,249,253,255,255,237,255,255,255,250,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,239,255,251,255,255,248,246,255,255,252,251,255,244,255,255,254,251,254,252,250,255,248,255,255,255,243,255,248,255,254,255,247,255,247,255,251,252,248,255,247,254,253,255,255,253,252,253,255,255,255,254,255,255,254,253,255,255,255,248,255,255,249,255,249,255,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,247,255,255,249,255,255,253,250,255,248,255,253,255,252,255,250,253,255,253,255,251,255,255,255,254,254,255,248,255,253,255,253,255,255,251,255,245,255,255,251,255,253,255,254,255,255,255,251,255,255,255,255,255,255,252,254,252,254,255,255,252,253,255,255,251,253,255,251,255,255,250,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,}}; private static int[][] B = {{255,255,255,255,255,255,255,255,255,255,254,254,248,255,255,255,250,255,251,253,255,253,255,254,255,255,255,255,255,255,255,255,255,254,254,255,248,255,253,255,255,255,255,255,255,255,255,255,251,255,253,255,254,255,255,255,254,255,248,252,255,252,255,255,253,255,249,255,255,255,254,253,255,253,255,243,255,255,255,251,252,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,252,250,251,255,255,254,253,248,255,247,255,255,251,255,246,251,255,255,255,255,255,255,255,255,252,250,255,248,255,255,255,243,255,255,255,255,255,255,255,255,255,251,252,248,255,247,254,253,255,251,255,255,255,249,255,250,255,255,243,255,244,249,255,255,250,255,254,255,255,252,255,255,255,255,255,253,252,253,},
{255,255,255,255,255,255,255,255,250,255,255,254,250,255,253,255,255,157,38,0,47,149,251,255,255,255,255,255,255,255,255,255,253,255,255,255,255,243,255,255,255,255,255,255,255,255,255,255,252,255,250,255,246,255,252,255,252,255,244,243,255,252,255,255,254,255,255,250,255,255,245,255,255,248,255,253,255,248,255,255,255,255,255,255,255,253,},
{255,255,255,255,255,255,255,255,252,0,0,0,10,252,255,248,151,8,8,0,5,0,155,253,255,255,255,255,255,255,255,255,255,252,243,251,252,253,255,255,255,255,255,255,255,255,255,255,248,249,255,252,251,255,255,254,249,255,255,255,246,255,255,242,247,255,248,206,125,64,30,12,66,138,207,236,251,255,250,255,254,253,254,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,0,6,0,255,249,255,38,5,239,0,255,7,40,255,255,255,255,255,255,255,255,255,255,253,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,251,255,255,255,255,249,251,255,248,254,251,255,255,250,255,252,166,0,10,0,0,0,0,1,0,0,12,165,245,255,250,255,253,252,254,255,255,},
{255,255,255,255,255,255,255,255,254,255,0,255,0,250,255,244,9,0,6,1,3,0,9,255,255,255,255,255,255,255,255,255,247,13,0,85,255,253,255,255,255,255,255,255,255,255,255,255,241,255,253,0,4,78,255,255,245,255,255,251,255,243,255,208,16,4,0,24,111,209,247,245,201,107,27,4,0,24,212,255,255,255,255,252,252,255,},
{255,255,255,255,255,255,255,255,255,0,5,250,255,255,253,255,40,0,254,255,251,0,46,245,255,255,255,255,255,255,255,255,255,1,3,88,255,253,255,249,255,255,255,255,255,255,255,255,255,255,249,0,1,83,255,255,255,255,252,255,252,255,199,2,0,34,198,255,255,247,253,254,254,255,255,191,47,0,0,199,247,255,255,254,252,255,},
{255,255,255,255,255,255,255,255,253,0,255,255,253,255,249,255,154,2,0,0,0,8,150,255,255,255,255,255,255,255,255,255,255,0,0,90,250,255,252,255,255,255,255,255,255,255,255,255,250,255,250,0,4,90,255,248,255,253,252,255,252,213,1,2,84,255,255,236,169,80,8,17,74,167,239,255,253,81,12,0,224,245,255,255,252,255,},
{255,252,255,249,255,255,250,255,0,0,245,255,248,255,251,255,252,153,1,0,9,148,249,255,255,252,252,255,252,246,255,248,254,0,2,86,252,255,253,255,255,252,251,255,255,246,255,253,255,255,255,255,252,251,253,255,253,255,252,255,248,20,1,83,255,255,166,0,6,0,0,0,1,0,9,167,251,255,85,0,16,255,254,255,255,251,},
{247,255,255,242,255,253,255,243,0,6,3,251,251,255,255,255,0,10,0,0,0,4,13,250,248,255,255,248,255,255,246,255,255,7,0,92,255,250,255,253,255,255,255,251,255,255,246,255,249,250,255,255,255,255,254,253,255,255,250,253,158,4,32,252,250,135,0,2,0,3,10,3,5,6,0,1,124,255,247,40,6,140,252,255,255,254,},
{250,255,246,255,255,244,255,255,0,254,0,1,255,255,249,3,0,253,5,3,0,252,0,255,255,255,249,0,252,251,253,246,254,0,0,90,243,255,250,254,253,255,251,255,250,249,255,255,255,255,254,254,253,255,253,248,251,247,255,251,0,4,201,255,165,0,9,6,33,137,220,235,141,34,0,0,7,158,246,198,0,23,243,253,255,255,},
{255,255,255,245,253,255,249,251,4,253,255,7,0,248,3,0,255,255,3,0,1,255,0,5,249,255,255,0,255,244,255,254,254,0,7,81,255,209,94,34,6,18,77,191,255,251,254,252,234,255,253,0,0,83,255,255,255,255,243,213,5,26,249,240,4,0,0,70,255,255,255,250,248,255,91,0,0,10,236,255,32,0,212,244,255,255,},
{252,246,255,255,255,249,252,2,0,249,255,255,0,11,0,255,251,255,0,7,0,255,251,0,5,244,0,14,249,255,253,250,255,4,0,80,174,16,0,3,0,0,1,1,141,255,255,252,255,255,248,1,5,86,253,255,255,250,255,128,0,119,255,164,6,0,40,255,246,168,34,36,182,255,246,35,0,0,168,255,114,3,141,249,255,255,},
{255,255,252,255,235,254,255,0,255,255,244,245,255,240,255,251,7,0,7,4,0,252,255,252,0,7,0,254,247,248,255,255,255,0,0,52,12,31,143,207,198,128,17,11,0,218,254,255,255,252,255,0,11,76,255,250,255,243,255,57,0,197,246,79,0,7,142,249,184,0,0,8,0,174,250,150,4,0,82,247,199,1,58,255,255,255,},
{255,255,255,251,255,255,0,0,247,255,253,255,252,255,255,255,3,5,0,4,0,246,255,254,255,250,255,251,255,255,251,254,255,3,0,7,44,231,255,239,251,255,156,0,13,106,253,255,248,255,255,5,0,93,255,255,255,255,252,28,3,241,255,17,1,11,224,255,44,0,216,203,5,37,255,223,2,3,6,255,241,0,16,255,255,251,},
{255,253,255,249,255,251,3,254,255,253,252,252,255,255,246,255,0,255,0,2,1,255,247,255,255,252,255,255,252,254,254,255,254,3,0,1,210,253,247,255,255,255,250,20,3,45,255,252,255,253,254,0,3,85,254,252,250,255,255,10,2,243,252,15,0,0,242,246,38,2,213,202,2,31,255,234,0,0,16,255,246,5,18,249,255,251,},
{255,252,255,252,255,249,6,255,255,255,252,255,246,255,255,254,0,255,0,0,1,255,253,255,255,255,255,255,255,255,255,255,253,2,0,41,255,246,255,255,254,255,250,75,0,11,255,251,255,254,255,0,0,88,255,255,255,248,255,63,4,191,255,74,0,3,143,255,171,0,8,0,0,168,252,152,0,1,77,255,191,7,67,252,250,255,},
{255,255,255,255,246,255,0,255,255,255,255,252,255,255,249,251,253,243,3,0,0,248,255,253,255,255,255,255,255,255,255,255,249,4,0,66,255,254,254,255,254,255,253,80,0,5,255,253,255,254,255,0,0,88,255,255,245,255,247,131,1,111,255,166,3,6,28,249,253,174,39,34,180,246,253,25,7,0,165,246,118,0,129,255,255,252,},
{248,255,247,254,255,0,0,255,248,255,251,255,253,251,249,255,255,255,6,0,0,255,255,255,255,255,255,255,255,255,255,255,249,5,0,88,255,255,252,255,254,255,255,85,0,0,254,255,255,254,255,0,0,88,255,255,255,255,252,212,4,31,250,247,4,0,0,91,255,247,253,254,249,255,73,3,6,0,246,255,26,8,209,249,255,246,},
{255,250,255,255,248,0,255,244,255,248,247,255,249,255,255,250,1,0,0,250,6,3,255,248,255,255,255,255,255,255,255,255,255,2,0,93,250,255,252,255,254,255,255,88,1,0,252,255,255,254,255,0,0,88,255,255,245,255,253,241,5,6,187,255,164,7,7,0,29,148,232,243,142,31,9,0,0,167,253,185,6,0,246,255,247,255,},
{248,255,254,255,255,0,248,253,0,255,255,255,255,250,255,255,2,251,255,254,255,0,0,255,255,255,255,255,255,255,255,255,255,0,0,89,252,252,255,255,255,254,253,88,3,0,252,255,255,254,255,0,0,88,255,255,255,255,255,253,160,0,49,253,255,113,3,7,0,0,0,0,0,5,0,0,128,248,255,42,7,153,255,254,251,252,},
{250,255,255,247,254,255,247,255,0,0,247,252,252,255,252,4,0,255,255,244,255,255,2,250,255,255,255,255,255,255,255,255,255,0,1,87,255,253,255,251,255,254,252,86,3,1,254,254,255,254,255,0,0,88,255,255,251,250,248,255,242,28,3,74,255,255,160,7,0,0,15,0,0,0,0,163,255,251,91,0,3,255,251,249,255,246,},
{255,254,254,255,255,255,252,248,255,4,0,255,255,252,0,0,255,246,255,255,239,255,0,255,255,255,255,255,255,255,255,255,254,0,1,87,255,255,255,253,254,255,254,85,1,1,255,254,255,254,255,0,0,88,255,255,255,255,255,252,255,207,0,13,84,254,255,236,160,78,8,16,76,174,248,245,255,90,0,12,228,253,255,255,247,255,},
{251,255,252,255,254,253,255,255,250,250,8,0,255,255,0,255,254,255,251,255,255,251,0,0,255,255,255,255,255,255,255,255,252,6,0,86,252,255,254,255,254,255,255,84,0,0,255,254,255,254,255,0,0,88,255,255,255,255,255,255,251,255,200,0,0,45,192,255,254,254,253,254,255,246,255,195,36,1,0,198,252,254,255,254,255,255,},
{255,255,255,255,255,255,255,255,255,246,255,0,1,0,3,255,253,255,254,255,245,248,255,0,255,243,255,254,255,254,255,250,255,0,0,90,250,255,252,255,253,255,247,91,2,0,253,254,250,255,250,0,4,90,255,248,250,255,255,252,255,255,245,224,14,4,1,34,113,199,243,246,199,115,30,7,1,14,228,247,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,251,255,0,9,246,253,254,255,252,246,255,255,241,8,252,255,255,255,253,249,253,255,255,1,3,88,255,253,255,249,254,251,255,83,0,0,255,255,255,255,249,0,1,83,255,255,254,255,255,252,254,255,255,247,255,141,23,0,0,5,0,0,0,8,0,0,151,248,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,249,255,255,254,255,250,254,255,255,248,255,255,252,255,249,1,255,249,255,253,255,255,253,250,247,13,0,85,255,253,255,255,255,255,253,83,2,9,232,255,241,255,253,0,4,78,255,255,253,255,255,252,252,255,255,255,255,252,242,208,137,61,23,23,74,128,208,247,255,255,243,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,245,251,252,254,255,255,249,249,255,253,255,255,250,255,3,255,255,255,255,244,255,251,255,255,253,255,255,255,255,255,244,245,255,255,249,255,253,255,250,255,251,255,255,255,255,249,251,253,253,255,255,254,252,253,255,255,255,255,251,249,255,255,252,246,255,246,255,254,245,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,254,255,255,255,251,255,247,255,253,254,254,255,250,255,255,0,6,0,255,255,250,254,255,251,255,252,243,251,252,253,255,255,254,255,244,255,255,254,241,255,248,249,255,252,251,255,255,254,255,255,255,255,255,254,253,254,254,253,254,255,255,255,254,248,255,255,255,245,255,255,252,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,253,249,252,252,248,255,255,255,254,250,255,255,239,255,255,255,242,255,254,253,255,254,252,253,255,255,255,255,243,255,255,255,252,255,255,253,254,255,255,252,255,250,255,246,255,252,255,255,255,253,255,255,255,255,255,255,255,255,254,251,249,253,255,255,237,255,255,255,250,255,255,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,239,255,251,255,255,248,246,255,255,252,251,255,244,255,255,254,251,254,252,250,255,248,255,255,255,243,255,248,255,254,255,247,255,247,255,251,252,248,255,247,254,253,255,255,253,252,253,255,255,255,254,255,255,254,253,255,255,255,248,255,255,249,255,249,255,251,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,247,255,255,249,255,255,253,250,255,248,255,253,255,252,255,250,253,255,253,255,251,255,255,255,254,254,255,248,255,253,255,253,255,255,251,255,245,255,255,251,255,253,255,254,255,255,255,251,255,255,255,255,255,255,252,254,252,254,255,255,252,253,255,255,251,253,255,251,255,255,250,255,255,255,255,255,255,},
{255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,}}; }

合成的图片:

  

Java RGB数组图像合成 ImageCombining (整理)的更多相关文章

  1. Java 图片提取RGB数组 RGBOfCharMaps (整理)

    package demo; /** * Java 图片提取RGB数组 RGBOfCharMaps (整理) * 声明: * 和ImageCombining配合使用的工具,这里是提取图片的R.G.B生成 ...

  2. JAVA中去掉空格经典整理

    JAVA中去掉空格经典整理 JAVA中去掉空格          1. String.trim() --------------trim()是去掉首尾空格           2.str.replac ...

  3. Java基础——数组应用之StringBuilder类和StringBuffer类

    接上文:Java基础——数组应用之字符串String类 一.StringBuffer类 StringBuffer类和String一样,也用来代表字符串,只是由于StringBuffer的内部实现方式和 ...

  4. 近5年常考Java面试题及答案整理(三)

    上一篇:近5年常考Java面试题及答案整理(二) 68.Java中如何实现序列化,有什么意义? 答:序列化就是一种用来处理对象流的机制,所谓对象流也就是将对象的内容进行流化.可以对流化后的对象进行读写 ...

  5. 近5年常考Java面试题及答案整理(二)

    上一篇:近5年常考Java面试题及答案整理(一) 31.String s = new String("xyz");创建了几个字符串对象? 答:两个对象,一个是静态区的"x ...

  6. Java 面试/笔试题神整理 [Java web and android]

    Java 面试/笔试题神整理 一.Java web 相关基础知识 1.面向对象的特征有哪些方面 1.抽象: 抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面.抽象并 ...

  7. java 开发面试题小整理(一)

    本篇文档将持续更新,有基础滴,也有深层次的,谢谢! 1.看下面的程序是否有问题,如果有问题,请指出并说明理由. * byte b1 = 3; * byte b2 = 4; * byte b3 = b1 ...

  8. Java 5-11新特性的整理(转)

    Java 5-11新特性的整理(转) 作者:拔剑少年 简书地址:https://www.jianshu.com/u/dad4d9675892博客地址:https://it18monkey.github ...

  9. 2018年最新Java面试题及答案整理(持续完善中…)

    2018年最新Java面试题及答案整理(持续完善中…) 基础篇 基本功 面向对象特征 封装,继承,多态和抽象 封装封装给对象提供了隐藏内部特性和行为的能力.对象提供一些能被其他对象访问的方法来改变它内 ...

随机推荐

  1. SGU 113

    113. Nearly prime numbers time limit per test: 0.25 sec. memory limit per test: 4096 KB Nearly prime ...

  2. Action Bar详解

    Action bar是一个标识应用程序和用户位置的窗口功能,并且给用户提供操作和导航模式.在大多数的情况下,当你需要突出展现用户行为或全局导航的activity中使用action bar,因为acti ...

  3. Message,MessageQueue,Looper,Handler详解

    Message,MessageQueue,Looper,Handler详解   一.几个关键概念 1.MessageQueue:是一种数据结构,见名知义,就是一个消息队列,存放消息的地方.每一个线程最 ...

  4. CString,string,char*之间的转换(转)

    这三种类型各有各的优点,比如CString比较灵活,是基于MFC常用的类型,安全性也最高,但可移植性最差.string是使用STL时必不可少的类型,所以是做工程时必须熟练掌握的:char*是从学习C语 ...

  5. jmeter线程组之间传递参数

    JMeter 变量作用域局限于所属线程.这样设计是经过深思熟虑的,目的是让测试线程能够独立运转.有时候用户可能需要在不同线程间(可能属于同一个线程组,也可能不属于同一个线程组)传递变量. 其中一种方法 ...

  6. JS中基本类型与包装类型的关系

    对于JS中一些类型的转化的东西,自己测试并得出的结论,有错误的地方请大大们留言. 不多废话,直接贴代码,测试请直接拷贝全部代码: <!DOCTYPE html> <html> ...

  7. lintcode:快乐数

    快乐数 写一个算法来判断一个数是不是"快乐数". 一个数是不是快乐是这么定义的:对于一个正整数,每一次将该数替换为他每个位置上的数字的平方和,然后重复这个过程直到这个数变为1,或是 ...

  8. 卷积相关公式的matlab代码

    取半径=3 用matlab代码实现上式公式: length=3;for Ki = 1:length for Kj = 1:length for Kk = 1:length Ksigma(Ki,Kj,K ...

  9. Android应用的核心基础

    Android4开发入门经典 之 第二部分:Android应用的核心基础 Android应用中的组件 Application Components Android应用中最主要的组件是: 1:Activ ...

  10. 【Apache运维基础(4)】Apache的Rewrite攻略(1)

    简述 Rewirte主要的功能就是实现URL的跳转,它的正则表达式是基于Perl语言.可基于服务器级的(httpd.conf)和目录级的 (.htaccess)两种方式.如果要想用到rewrite模块 ...