51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#图像识别文字
深度学习面试题12:LeNet(手写数字识别)
LeNet是卷积神经网络的祖师爷LeCun在1998年提出,用于解决手写数字识别的视觉任务。自那时起,CNN的最基本的架构就定下来了:卷积层、池化层、全连接层。如今各大深度学习框架中所使用的LeNet都是简化改进过的LeNet-5(-5表示具有5个层),和原始的LeNet有些许不同,比如把激活函数改为了现在很常用的Re...
代码星球
·
2021-02-12
深度
学习
试题
LeNet
手写
e674. 创建并绘制加速图像
Imagesinacceleratedmemoryaremuchfastertodrawonthescreen.Thisexampledemonstrateshowtotakeanimageandmakeanacceleratedcopyofitandthenuseittodrawonthescreen.Theprob...
代码星球
·
2021-02-11
e674.
创建
绘制
加速
图像
e676. 把彩色图像转换为灰色
ColorSpacecs=ColorSpace.getInstance(ColorSpace.CS_GRAY);ColorConvertOpop=newColorConvertOp(cs,null);bufferedImage=op.filter(bufferedImage,null); RelatedExa...
代码星球
·
2021-02-11
e676.
彩色
图像
转换
灰色
e678. 尖锐化图像
Thisexampledemonstratesa3x3kernelthatsharpensanimage.Kernelkernel=newKernel(3,3,newfloat[]{-1,-1,-1,-1,9,-1,-1,-1,-1});BufferedImageOpop=newConvolveOp(kernel);b...
代码星球
·
2021-02-11
e678.
尖锐化
图像
e668. 在一组像素中创建缓冲图像
ThisexampledemonstrateshowtoconvertabytearrayofpixelvaluesthatareindicestoacolortableintoaBufferedImage.Inparticular,theexamplegeneratestheMandelbrotsetinabyteb...
代码星球
·
2021-02-11
e668.
一组
像素
创建
缓冲
e660. 用一组像素创建图像
ThisexampledemonstrateshowtoconvertabytearrayofpixelvaluesthatareindicestoacolortableintoanImage.Inparticular,theexamplegeneratestheMandelbrotsetinabytebufferan...
代码星球
·
2021-02-11
e660.
一组
像素
创建
图像
e671. 在缓冲图像中存取像素
//Getapixelintrgb=bufferedImage.getRGB(x,y);//Getallthepixelsintw=bufferedImage.getWidth(null);inth=bufferedImage.getHeight(null);int[]rgbs=newint[w*h];bu...
代码星球
·
2021-02-11
e671.
缓冲
图像
存取
像素
e677. 模糊化图像
Thisexampledemonstratesa3x3kernelthatblursanimage.Kernelkernel=newKernel(3,3,newfloat[]{1f/9f,1f/9f,1f/9f,1f/9f,1f/9f,1f/9f,1f/9f,1f/9f,1f/9f});BufferedImageOpo...
代码星球
·
2021-02-11
e677.
模糊
图像
e667. 在给定图像中创建缓冲图像
AnImageobjectcannotbeconvertedtoaBufferedImageobject.Theclosestequivalentistocreateabufferedimageandthendrawtheimageonthebufferedimage.Thisexampledefinesamethod...
代码星球
·
2021-02-11
图像
e667.
给定
创建
缓冲
e661. 确定图像中是否有透明像素
//ThismethodreturnstrueifthespecifiedimagehastransparentpixelspublicstaticbooleanhasAlpha(Imageimage){//Ifbufferedimage,thecolormodelisreadilyavailableif(imagei...
代码星球
·
2021-02-11
e661.
确定
图像
是否
透明
e663. 在gif图像中获取透明和色彩的数量
AIndexColorModelisusedtorepresentthecolortableofaGIFimage.//GetGIFimageImageimage=newImageIcon("image.gif").getImage();//Getthecolormodel;thismethodisimplemente...
代码星球
·
2021-02-11
e663.
gif
图像
获取
透明
e662. 取的图像的色彩模型
//ThismethodreturnsthecolormodelofanimagepublicstaticColorModelgetColorModel(Imageimage){//Ifbufferedimage,thecolormodelisreadilyavailableif(imageinstanceofBuff...
代码星球
·
2021-02-11
e662.
取的
图像
色彩
模型
e675. 翻转缓冲图像
//Tocreateabufferedimage,seee666创建缓冲图像//FliptheimageverticallyAffineTransformtx=AffineTransform.getScaleInstance(1,-1);tx.translate(0,-image.getHeight(null));Af...
代码星球
·
2021-02-11
e675.
翻转
缓冲
图像
e665. 在图像中过滤三元色
ThisexampledemonstrateshowtocreateafilterthatcanmodifyanyoftheRGBpixelvaluesinanimage.//ThisfilterremovesallbuttheredvaluesinanimageclassGetRedFilterextendsRGBI...
代码星球
·
2021-02-11
e665.
图像
过滤
三元
e679. 浮雕化图像
Thisexampledemonstratesa3x3kernelthatembossesanimage.Kernelkernel=newKernel(3,3,newfloat[]{-2,0,0,0,1,0,0,0,2});BufferedImageOpop=newConvolveOp(kernel);buffered...
代码星球
·
2021-02-11
e679.
浮雕
图像
首页
上一页
...
5
6
7
8
9
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他