zoukankan      html  css  js  c++  java
  • matlab 图像信号 FFT 锐化,等内容

    http://www.ilunwen.com/list_paper_content.php?id=24238

    temp_image=imread('laba.jpg');
    temp_image=rgb2gray(temp_image);                                  % 将图象变为黑白
    temp_image=im2double(temp_image);                                % 转化为二维double矩阵
    move1=fftshift(fft2(temp_image));                                      %将频谱转到中心
    Lap_count=fspecial('laplacian');                                          % lapalace filter
    image_lap1=filter2(Lap_count,temp_image,'same');           % 用lapalace滤波
    image_lap=temp_image-image_lap1;
    image_adjust=imadjust(image_lap,[],[0,0.8]);
    move2=fftshift(fft2(image_lap1));                                       %再将频谱到中心
    >> imshow(temp_image);
    >> figure,imshow(move1);
    Warning: Displaying real part of complex input.
    > In imuitools\private\imageDisplayParseInputs>validateCData at 286
      In imuitools\private\imageDisplayParseInputs at 205
      In imshow at 151
    >> figure,mesh(abs(move1));
    >> figure,imshow(image_lap1);
    >> figure,imshow(image_lap);
    >> figure,imshow(image_adjust);
    >> figure,imshow(move2);
    Warning: Displaying real part of complex input.
    > In imuitools\private\imageDisplayParseInputs>validateCData at 286
      In imuitools\private\imageDisplayParseInputs at 205
      In imshow at 151
    >>

    laba image

    image  image

    image

    image  image

  • 相关阅读:
    DAY9学习笔记
    DAY8课下作业
    DAY8学习笔记
    DAY7课下作业
    github clone 开源代码报Permission denied (publickey)
    grandle构建工程报:javax.net.ssl.SSLException
    centos安装redash
    centos安装nodejs
    CURL执行请求
    flume定制拦截器Interceptor
  • 原文地址:https://www.cnblogs.com/fleetwgx/p/1498919.html
Copyright © 2011-2022 走看看