楼主: Lisrelchen
1322 15

[Rajendra Sharma]Image Processing and Analysis in R [推广有奖]

  • 0关注
  • 62粉丝

VIP

院士

67%

还不是VIP/贵宾

-

TA的文库  其他...

Bayesian NewOccidental

Spatial Data Analysis

东西方数据挖掘

威望
0
论坛币
49957 个
通用积分
79.5487
学术水平
253 点
热心指数
300 点
信用等级
208 点
经验
41518 点
帖子
3256
精华
14
在线时间
766 小时
注册时间
2006-5-4
最后登录
2022-11-6

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
  1. Image Processing and Analysis in R

  2. By: Rajendra Sharma | June 12, 2015       
  3.      
  4. Performing Image processing and analysis in R, installation of EBImage package is required. Execute the below code to get package installed in R.

  5. source("http://bioconductor.org/biocLite.R")
  6. biocLite()
  7. biocLite("EBImage")
复制代码

本帖隐藏的内容

Image Processing and Analysis in R.pdf (445.5 KB)


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Processing processI Analysis Process Analysi

本帖被以下文库推荐

沙发
Lisrelchen 发表于 2017-8-22 03:32:44 |只看作者 |坛友微信交流群
  1. Performing the Reading, Writing and displaying of Image
  2. The loading of package will be done by using the below command.

  3. library (EBImage)
  4. Reading Image:The readImage function is used to read Image from file location or URLs

  5. Image <- readImage("C:\\Users\\Public\\Pictures\\Sample Pictures\\ Penguins.jpg")
  6. Displaying Image: Image can be displayed using display function and pixel intensities should range from 0 (black) to 1 (white)

  7. display (Image)
复制代码

使用道具

藤椅
Lisrelchen 发表于 2017-8-22 03:33:44 |只看作者 |坛友微信交流群
  1. Image Filtering

  2. Images can be linearly filtered using filter2. Low-pass filtering is used to perform blur image, remove noise, etc. High-pass filtering is used to perform detect edges, sharpen images etc., various filter shapes can be generated using makeBrush.

  3. #LOW-PASS Filtering image
  4. flo = makeBrush(21, shape='disc', step=FALSE)^2
  5. flo = flo/sum(flo)
  6. imgflo = filter2(Image, flo)
  7. display(imgflo)
  8. #HIGH-PASS Filtering image
  9. fhi = matrix(1, nc=3, nr=3)
  10. fhi[2,2] = -8
  11. imgfhi = filter2(Image, fhi)
  12. display(imgfhi)
复制代码

使用道具

板凳
Lisrelchen 发表于 2017-8-22 03:34:29 |只看作者 |坛友微信交流群
  1. Color Management
  2. The function colorMode can access and change the value of the slot colormode, altering the rendering mode of an image. In this, the Color image (Image) with one frame is changed into a Grayscale, corresponding to the red, green and blue channels.

  3. >print(Image)
  4. Image
  5.   colorMode    : Color
  6.   storage.mode : double
  7.   dim          : 1024 768 3
  8.   frames.total : 3
  9.   frames.render: 1

  10. imageData(object)[1:5,1:6,1]
  11.           [,1]      [,2]      [,3]      [,4]      [,5]      [,6]
  12. [1,] 0.4549020 0.4549020 0.4627451 0.4588235 0.4666667 0.4745098
  13. [2,] 0.4627451 0.4549020 0.4588235 0.4588235 0.4627451 0.4666667
  14. [3,] 0.4627451 0.4588235 0.4588235 0.4627451 0.4588235 0.4588235
  15. [4,] 0.4705882 0.4627451 0.4627451 0.4627451 0.4627451 0.4627451
  16. [5,] 0.4627451 0.4549020 0.4627451 0.4627451 0.4627451 0.4666667

  17. >#Greyscale Image
  18. >colorMode(Image) <- Grayscale
  19. >display(Image)
复制代码

使用道具

报纸
beningermany 发表于 2017-8-22 05:00:08 |只看作者 |坛友微信交流群
谢谢分享资料

使用道具

地板
fengyg 企业认证  发表于 2017-8-22 06:32:28 |只看作者 |坛友微信交流群
kankan

使用道具

7
军旗飞扬 发表于 2017-8-22 06:38:08 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

8
kavakava 在职认证  发表于 2017-8-22 07:44:19 |只看作者 |坛友微信交流群
Thanks

使用道具

9
MouJack007 发表于 2017-8-22 07:50:19 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

10
MouJack007 发表于 2017-8-22 07:50:39 |只看作者 |坛友微信交流群

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-20 04:10