R 統計軟體可以應用在影像處理
#Basic image operations and image processing
#Basic image operations and image processing
library(biOps) #已安裝
x = readJpeg(system.file("samples", "violet.jpg", package="biOps"))
plot(x); dim(x); # 333 499 3 (RGB)
plot(imgBlueBand(x))
plot(imgRedBand(x))
h = imgHistogram(x)
x ; # size: 499 x 333 , type: rgb
x[, ,] #numerical data of image, 顯示影像數值
options()
getOption("max.print")
b = imgBlur(x) #This function blurs an image by convoluting with the matrix:
plot(b)
windows()
plot(x)
Rserve is a TCP/IP server which allows other programs to use facilities of R (see www.r-project.org) from various languages without the need to initialize R or link against Rlibrary. Every connection has a separate workspace and working directory. Client-side implementations are available for popular languages such as C/C++, PHP and Java.Rserve supports remote connection, authentication and file transfer. Typical use is to integrate R backend for computation of statstical models, plots etc. in other applications.
http://www.rforge.net/Rserve/
Shiny is a new package from RStudio that makes it incredibly easy to build interactive web applications with R.
For an introduction and live examples, visit the Shiny homepage.
http://rstudio.github.io/shiny/tutorial/Easy web applications in R
http://glimmer.rstudio.com/winston/stocks/
使用DWCS6開發APP.教學影片
http://www.cyut.edu.tw/~tccnchsu/Start.html