标准Lena测试图像下载「建议收藏」

标准Lena测试图像下载「建议收藏」在做图像处理的时候我们往往会使用

大家好,又见面了,我是你们的朋友全栈君。

    在做图像处理的时候我们往往会使用Lena图像进行测试,但网上提供的测试图标准不一。这是Rice University提供的标准测试图,省去大家四处寻找之苦。另外,仔细阅读这个链接,你还会发现其他有用信息^.^

   原文链接: http://www.ece.rice.edu/~wakin/images/

    

Wet Paint

This test image was taken by our group in Duncan Hall at Rice University. The Matlab file for the 1024×1024 image is here.


Lena/Lenna

There seem to be many versions of the Lena (aka “Lenna”) test image available. This problem was noted by Shapiro in his 1993 zerotree paper, and it remains surprisingly true today. This web page is an attempt to clear up some of the confusion (and hopefully not add to it).

The files on this page are given in lossless compression formats. These can be imported into Matlab or opened using photo-editing software. The imread command in Matlab is often useful for importing files such as tiff or bmp. (You may need to convert the data to type double after loading it). For example:

  • lena512 = imread(‘lena512.bmp’);
    lena512 = double(lena512);

To write an image to a file, use imwrite:

  • imwrite(uint8(lena512),’lena512.bmp’,’bmp’);

512×512 Color (24-bit)

This seems to be a pretty widely accepted standard, which originated from a scan of the published photograph (see The Lenna Story). This version is also provided at the USC-SIPI Image Database.

512×512 Grayscale (8-bit)

There doesn’t seem to be as much agreement on this version of the image. At some point, the original color image needed to be converted to grayscale. As Shapiro noted, options included taking only the green component of the RGB representation, or using a luminance-only version. You could also average the RGB components, etc.

I’m not sure how the following version was generated, but it is provided by the Image Communications Lab at UCLA (they apparently obtained it from RPI).

Each of the following files should contain the same information. If there is truly a standard version of the 512×512 Grayscale Lena, this seems to be it.

Comparing Different Versions

To illustrate the importance of using a standard version, let’s look at a few different ones that are floating around. We’ll compress each of them using a JPEG2000 coder (obtained from The JasPer Project).

You can see the Matlab versions of the images here. If you click on the following links, you can see standard jpg files. (These are just for viewing and comparision purposes – use the matlab files for experiments!)

Image 1 is the standard which is discussed in the above section. Image 2 is another version which I’ve seen, and it looks and behaves very similar to the standard. Image 3 is obtained by taking the green component from the 24-bit original (described above). It appears darker than the others, and it is harder to compress. Image 4 is yet another version that seems to be floating around. Visually it is very different from the others (it has less detail), and it is much easier to compress. Results are shown below.


标准Lena测试图像下载「建议收藏」

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/150967.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • MOS管好坏的判别方法

    MOS管好坏的判别方法PMOS:NMOS:对于NMOS管:    先把MOS管的G极和S极短接(用镊子夹一下就行了),然后测量D极和S极的电阻。测试时电流从S极流到D极,即红笔接S极,黑笔接D极,这个时候测出来的电阻和正常MOS管测出来的做对比,如果差太大,那肯定就是烧了。如果表笔接反了,正常的MOS管测出来的电阻是断路。(二极管存在的缘故)    如果MOS管过压,一般

    2022年6月16日
    45
  • js中的表单序列化不会序列化未选中的单选框

    js中的表单序列化不会序列化未选中的单选框

    2021年5月25日
    108
  • 程序员python表白代码[通俗易懂]

    程序员python表白代码[通俗易懂]python表白代码源代码如下:#-*-coding:utf-8-*-importturtleimporttime#画爱心的顶部defLittleHeart():foriinrange(200):turtle.right(1)turtle.forward(2)#输入表白的语句,默认ILoveyoulove…

    2022年6月2日
    140
  • java的运行环境是什么_Java运行环境是什么

    java的运行环境是什么_Java运行环境是什么Java运行环境是什么时间:2017-07-03来源:华清远见JAVA学院相信许多人第一次接触java,都分不清Java开发环境和Java运行环境是什么。看似简单的jdk安装,却令许多新手哭笑不得。一方面是电脑环境不同而造成安装方式也不同,另一方面就是对Java开发环境和Java运行环境的概念和关系不太了解。Java运行环境是什么?Java运行环境顾名思义,就是运行Java程序时所需要的…

    2022年7月9日
    13
  • 电商网站商品价格获取方法_电商网站

    电商网站商品价格获取方法_电商网站电商网站商品价格获取本文以苏宁易购,京东,两个电商网站,模仿说明电商网站商品价格的两种获取方法。json形式存放,京东商品的价格以json形式存放,以以下页面为例https://item.jd.com/100000287133.html明显价格数据并非放在前端页面里,搜索找到以下数据查看当前的url在浏览器中请求https://p.3.cn/prices/mgets?cal…

    2022年10月1日
    1
  • java实现深拷贝和浅拷贝_深复制与浅复制的区别

    java实现深拷贝和浅拷贝_深复制与浅复制的区别clone顾名思义就是复制,在Java语言中,clone方法被对象调用,所以会复制对象。所谓的复制对象,首先要分配一个和源对象同样大小的空间,在这个空间中创建一个新的对象。那么在java语言中,有几种方式可以创建对象呢?1.使用new操作符创建一个对象2.使用clone方法复制一个对象那么这两种方式有什么相同和不同呢?new操作符的本意是分配内存。程序执行

    2022年10月1日
    0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号