-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathcreateDeepBackProjectionNetworkModel3D.Rd
More file actions
84 lines (70 loc) · 3.12 KB
/
createDeepBackProjectionNetworkModel3D.Rd
File metadata and controls
84 lines (70 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createDeepBackProjectionNetworkModel.R
\name{createDeepBackProjectionNetworkModel3D}
\alias{createDeepBackProjectionNetworkModel3D}
\title{3-D implementation of the deep back-projection network.}
\usage{
createDeepBackProjectionNetworkModel3D(
inputImageSize,
numberOfOutputs = 1,
numberOfBaseFilters = 64,
numberOfFeatureFilters = 256,
numberOfBackProjectionStages = 7,
convolutionKernelSize = c(12, 12, 12),
strides = c(8, 8, 8),
lastConvolution = c(3, 3, 3),
numberOfLossFunctions = 1
)
}
\arguments{
\item{inputImageSize}{Used for specifying the input tensor shape. The
shape (or dimension) of that tensor is the image dimensions followed by
the number of channels (e.g., red, green, and blue).}
\item{numberOfOutputs}{number of outputs (e.g., 3 for RGB images).}
\item{numberOfBaseFilters}{number of base filters.}
\item{numberOfFeatureFilters}{number of feature filters.}
\item{numberOfBackProjectionStages}{number of up-/down-projection stages. This
number includes the final up block.}
\item{convolutionKernelSize}{kernel size for certain convolutional layers. This
and \code{strides} are dependent on the scale factor discussed in
original paper. Factors used in the original implementation are as follows:
2x --> \code{convolutionKernelSize = c( 6, 6, 6 )},
4x --> \code{convolutionKernelSize = c( 8, 8, 8 )},
8x --> \code{convolutionKernelSize = c( 12, 12, 12 )}. We default to 8x parameters.}
\item{strides}{strides for certain convolutional layers. This and the
\code{convolutionKernelSize} are dependent on the scale factor discussed in
original paper. Factors used in the original implementation are as follows:
2x --> \code{strides = c( 2, 2, 2 )}, 4x --> \code{strides = c( 4, 4, 4 )},
8x --> \code{strides = c( 8, 8, 8 )}. We default to 8x parameters.}
\item{lastConvolution}{the kernel size for the last convolutional layer}
\item{numberOfLossFunctions}{the number of data targets, e.g. 2 for 2 targets}
}
\value{
a keras model defining the deep back-projection network.
}
\description{
Creates a keras model of the deep back-project network for image super
resolution. More information is provided at the authors' website:
}
\details{
\if{html}{\out{<div class="sourceCode">}}\preformatted{ \url{https://www.toyota-ti.ac.jp/Lab/Denshi/iim/members/muhammad.haris/projects/DBPN.html}
}\if{html}{\out{</div>}}
with the paper available here:
\if{html}{\out{<div class="sourceCode">}}\preformatted{ \url{https://arxiv.org/abs/1803.02735}
}\if{html}{\out{</div>}}
This particular implementation was influenced by the following keras (python)
implementation:
\if{html}{\out{<div class="sourceCode">}}\preformatted{ \url{https://github.com/rajatkb/DBPN-Keras}
}\if{html}{\out{</div>}}
with help from the original author's Caffe and Pytorch implementations:
\if{html}{\out{<div class="sourceCode">}}\preformatted{ \url{https://github.com/alterzero/DBPN-caffe}
\url{https://github.com/alterzero/DBPN-Pytorch}
}\if{html}{\out{</div>}}
}
\examples{
model = createDeepBackProjectionNetworkModel3D(c(25, 25, 25, 1))
rm(model); gc()
}
\author{
Tustison NJ
}