MATLAB的写代码窗口 MATLAB|数字图像处理 一、需求分析 从电脑上读取一张彩色图像,通过独立编程(不使用已有函数) ①实现将彩色图像转换为灰度图像、黑白图像的功能; ②实现将图像整体呈现效果为偏绿色风格; ③并将原始图像、灰度图像、黑白图像、绿色滤镜图像展示在同一个图像 窗口内。 每个子图要有相应的图名,最终呈现效果参考如图。 二、算法分析 1.彩色图像转换为灰度图像公式:==Y=0.299R+0.587G+0.114*B== 2.彩色图像转换为黑白图像公式: $X=\frac{R+G+B}{3}$ $c(u)=\begin{cases} 1,X\geq125\ 0, X<125\end{cases}$ 3.加绿色滤镜思路:将彩色图像的G通道值整体变大一定数值即可。 4.将图像读取后视作图像矩阵,对图像的操作即为对图像矩阵中每个元素进行操作,采用遍历每个元素操作的方法。 三、实验代码 clear clc % 读入图像 img = imread('敖丙.jpg'); %分离r,g,b通道 R = img(:,:,1); G = img(:,:,2); B = img(:,
2021-07-05 10:29:23 6KB 系统开源
1
基本上是十一届及之前届的真题代码
2021-05-27 10:02:27 32KB 蓝桥杯 C++
1
该方法通过tensorflow实现图像隐写分析,通过深度网络把基于残差图像和特征提取统一到一个优化框架,最后通过二分类法实现图像隐写分析。
2021-05-27 09:07:03 15KB 深度学习 图像隐写 代码 框架
数字图像隐写代码十分好, AppWizard has created this Hash application for you. This file contains a summary of what you will find in each of the files that make up your Hash application. Hash.vcproj This is the main project file for VC++ projects generated using an Application Wizard. It contains information about the version of Visual C++ that generated the file, and information about the platforms, configurations, and project features selected with the Application Wizard. Hash.cpp This is the main application source file. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named Hash.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" comments to indicate parts of the source code you should add to or customize.
2021-05-17 00:36:16 23KB JSTEG隐写
1
这是我自己手写的,高级定时器,编码器,IIC通信,MPU6050六轴,PID控制算法,直立环,速度环控制。非常适合新手学习,注释非常详细,使用最少的代码量达到使小车平衡保持稳定的目的
2021-04-25 09:03:13 9.86MB STM32C8T6 平衡小车 手写代码 MPU6050
对iosocket进行简单封装,使得定制代码更加容易,迭代开发十分方便,实现方式十分优雅,作为一个有洁癖的程序员,自然要用最优雅的方式写出高质量的代码啦
2021-04-08 10:19:05 3.53MB 安卓 socket
1
DM642 FLASH存储器烧写代码,完整程序,供参考
2021-03-21 17:35:04 417KB DM642 FLASH存储器烧写代码
1
写代码常见问题.txt
2021-03-08 09:03:29 3KB 编写代码常见的问题Tag
1
仿照Q官方下载首页写的
2021-03-01 20:01:24 12.82MB HTML js css
1
微软Visual Studio开发核心库mscorlib.dll源代码,是你了解底层代码最好的一个资源,如含有string类中的各种方法,我们经常用到的方法的代码全在此!!是增强你内功的一个非常好的资源!!
2020-04-08 03:11:14 2.56MB 微软 Visual Studio
1