1、基于VC++ Win32+CUDA+OpenGL组合的遥感影像显示 在该组合方案下,初始化时将OpenGL设置为下面两种方式,效果一样 从遥感影像数据中提取出像素数据,可将其中的R、G、B三通道依次赋值给OpenGL的像素缓冲区对象 (PBO,Pixel Buffer Object)所指定的像素 ...
分类:
编程语言 时间:
2018-05-02 02:55:25
阅读次数:
228
viewport 响应式图片 大图随容器自动缩放,保持宽高比 背景图片 保持宽高比 margin\padding的值是百分比的时候是相对父元素的width 导航栏布局 网格布局 inline-block+justify:每行放下的数目固定 flex:宽高度固定,能放几个就放几个 media quer ...
分类:
其他好文 时间:
2018-05-01 14:07:15
阅读次数:
162
[抄题]: An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate ...
分类:
其他好文 时间:
2018-04-29 17:47:07
阅读次数:
168
http://www.woshipm.com/pmd/176328.html 各自的定义: px:pixel,像素,电子屏幕上组成一幅图画或照片的最基本单元 pt: point,点,印刷行业常用单位,等于1/72英寸 ppi: pixel per inch,每英寸像素数,该值越高,则屏幕越细腻 dp ...
分类:
其他好文 时间:
2018-04-26 14:07:38
阅读次数:
187
下载cifar10数据集:http://www.cs.toronto.edu/~kriz/cifar.html 选择cifar-10-python.tar.gz进行下载。 1 建立 main.py 2 建立 cifar10_input.py 显示部分图片: ...
分类:
其他好文 时间:
2018-04-22 17:18:49
阅读次数:
657
package com.example.demo1; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.n... ...
分类:
移动开发 时间:
2018-04-19 17:05:03
阅读次数:
313
? 上一篇图像卷积 http://www.cnblogs.com/cuancuancuanhao/p/8535569.html。这篇使用了 OpenCV 从文件读取彩色的 jpeg 图像,进行边缘检测以后写回文件。 ● 代码(没有使用局部内存优化) ● 输出结果,感谢助教提供的原图 ● 用到 Ope ...
分类:
其他好文 时间:
2018-04-17 23:53:16
阅读次数:
419
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
分类:
其他好文 时间:
2018-04-15 12:12:01
阅读次数:
150
/** * 重写FrozenUI */ /** * 按钮 */ body { background-color: #F2F2F2; } @media screen and (-webkit-min-device-pixel-ratio: 2) { .ui-btn:before, .ui-btn-lg... ...
分类:
Web程序 时间:
2018-04-10 17:38:26
阅读次数:
205
px像素(Pixel)。相对长度单位。像素px是相对于显示器屏幕分辨率而言的。 em是CSS3新增的一个相对单位(root em,根em),这个单位引起了广泛关注。这个单位与em有什么区别呢?区别在于使用rem为元素设定字体大小时,仍然是相对大小,但相对的只是HTML 根元素。这个单位可谓集相对大小 ...
分类:
其他好文 时间:
2018-04-10 13:38:19
阅读次数:
177