zoukankan      html  css  js  c++  java
  • imshow(A,[])和imshow(A)的区别

    imshow的用法:

    IMSHOW Display image.
    IMSHOW(I,N) displays the intensity image I with N discrete
    levels of gray. If you omit N, IMSHOW uses 256 gray levels on
    24-bit displays, or 64 gray levels on other systems.
    IMSHOW(I,N)显示强度图像I,使用N个离散灰度级别。如果你省略N,IMSHOW使用256灰度级别。
    IMSHOW(I,[LOW HIGH]) displays I as a grayscale intensity
    image, specifying the data range for I. The value LOW (and
    any value less than LOW) displays as black, the value HIGH
    (and any value greater than HIGH) displays as white, and
    values in between display as intermediate shades of
    gray. IMSHOW uses the default number of gray levels. If you
    use an empty matrix ([]) for [LOW HIGH], IMSHOW uses
    [min(I(:)) max(I(:))]; the minimum value in I displays as
    black, and the maximum value displays as white.
    将图像I显示为一个灰度级强度图像,并且指定I的数据范围。值LOW(以及任何比LOW低的值)显示为黑,值HIGH(以及任何高于HIGH的值)显示为白,并且二者之间的值显示为灰度的中间色调。如果为[LOW HIGH]使用一个空的矩阵([]),那么IMSHOW就使用 [min(I(:)) max(I(:))];I中的最小值展示为黑,最大值展示为白。

    IMSHOW(BW) displays the binary image BW. Values of 0 display
    as black, and values of 1 display as white.

    IMSHOW(X,MAP) displays the indexed image X with the colormap
    MAP.

    IMSHOW(RGB) displays the truecolor image RGB.

    IMSHOW(...,DISPLAY_OPTION) displays the image, calling
    TRUESIZE if DISPLAY_OPTION is 'truesize', or suppressing the
    call to TRUESIZE if DISPLAY_OPTION is 'notruesize'. Either
    option string can be abbreviated. If you do not supply this
    argument, IMSHOW determines whether to call TRUESIZE based on
    the setting of the 'ImshowTruesize' preference.
  • 相关阅读:
    PRCR-1065 Failed to stop resource ora.asm 处理
    在Oracle Linux上使用DTrace的相关指导
    Oracle Listener日志位置及压缩转移
    oracle数据库解析json格式
    surge for mac出测试版本了
    Oracle 12C RAC的optimizer_adaptive_features造成数据插入超时
    Oracle执行语句跟踪(2)——使用10046事件实现语句追踪
    在Linux上使用web2py_uwsgi_nginx搭建web服务器
    Windows server上rsync的安装和使用
    Hook原理--逆向开发
  • 原文地址:https://www.cnblogs.com/rong86/p/3644476.html
Copyright © 2011-2022 走看看