当前位置: 首页 > news >正文

可靠的网站建设图短视频营销成功案例

可靠的网站建设图,短视频营销成功案例,阿里云上传的网站 服务器路径,wordpress 1 s原创:daode1212(daode3056) 本文定义不完全对称的图像叫亚对称图像,因为全对称的太过机械,不符合人工的特点,本人基于二元高次的有理式,生成时引入N个随机数分A,B两个组,再通过指针对画布所有像素高速扫描生…

原创:daode1212(daode3056)

        本文定义不完全对称的图像叫亚对称图像,因为全对称的太过机械,不符合人工的特点,本人基于二元高次的有理式,生成时引入N个随机数分A,B两个组,再通过指针对画布所有像素高速扫描生成三个类别的图像。这些奇异的图像、图案可广泛应用于纺织、工艺、陶瓷、铁艺、瓷砖等行业的图像自动生成,也为AI自动生成图像添加了新元素、新算法,截图如下:

C# 源代码如下:

// Asymmetric solution space (RGB, black and white, root curve).n344:
// By Daode3056, 2024-12-24
unsafe void button344_Click(object sender, EventArgs e)
{int ordeNum = 6; // The highest power of the polynomialint K = 40; // Refinement coefficientint width = 16 * K, height = 16 * K;Bitmap img = new Bitmap(width, height);float dlt = 1f / K; // Differential stepvar RD = new Random();string pStr = "";// Generate random arrays: ===================================  double[] A = new double[ordeNum]; double[] B = new double[ordeNum];for (int i = 0; i < ordeNum; i++){A[i] = 21 * RD.NextDouble();pStr += string.Format("{0:0.00}", A[i]) + "|";}pStr += "\r\n";for (int i = 0; i < ordeNum; i++){B[i] = 21 * RD.NextDouble();pStr += string.Format("{0:0.00}", B[i]) + "|";}// Define bitmap data, pointer object: =====================================BitmapData data = img.LockBits(new Rectangle(0, 0, width, height),ImageLockMode.ReadWrite,System.Drawing.Imaging.PixelFormat.Format24bppRgb);var ptr = (byte*)data.Scan0.ToPointer();// Binary high-order polynomial calculation function: =====================================Func<double, double, double> ploy = (double x, double y) =>{double xx = x * x; double yy = y * y;double fx = 1; double fy = 1;double retV = 0;//for (int i = 0; i < ordeNum; i++)//{//    fx *= (xx - A[i])*(y - A[i])/(x - A[i]);//    fy *= (yy - B[i])*(y - B[i])/(x - B[i]);//}for (int i = 0; i < ordeNum; i++){fx *= (y - A[i]) * (x - B[i]) * (xx - A[i]);fy *= (y - B[i]) * (x - A[i]) * (yy - B[i]);}if (fx != 0 && fy != 0){retV = x * fy / fx - y * y * fx / fy;}return Math.Abs(retV);};// Pointer operation, generate bitmap: ========================int idx = RD.Next(3);for (int i = 0; i < data.Height - 60; i++){for (int j = 0; j < data.Width; j++){float x = (i - width / 2 + 30) / (float)K;float y = (j - height / 2) / (float)K;//====================double z0 = Math.Log(ploy(x, y));if (idx == 0){// RGB image:if (z0 < 3){ptr[i * data.Stride + j * 3] = (byte)(127 - 127 * Math.Cos(z0 / 1.23));ptr[i * data.Stride + j * 3 + 1] = (byte)(127 + 127 * Math.Cos(z0 / 2.19));ptr[i * data.Stride + j * 3 + 2] = (byte)(127 + 127 * Math.Cos(z0 / 3.31));}}if (idx == 1){// Black and white image:if (z0 < 5){ptr[i * data.Stride + j * 3] = (byte)(127 + 127 * Math.Cos(z0) > 127 ? 255 : 0);ptr[i * data.Stride + j * 3 + 1] = (byte)(127 + 127 * Math.Cos(z0) > 127 ? 255 : 0);ptr[i * data.Stride + j * 3 + 2] = (byte)(127 + 127 * Math.Cos(z0) > 127 ? 255 : 0);}}if (idx == 2){// Equation root finding: ====================double z1 = ploy(x - dlt, y);double z2 = ploy(x + dlt, y);double z3 = ploy(x, y - dlt);double z4 = ploy(x, y + dlt);//=========================if (z1 * z2 < 100 || z3 * z4 < 100){ptr[i * data.Stride + j * 3] = (byte)(127 - 127 * Math.Cos(z0 / 137) > 127 ? 255 : 0);ptr[i * data.Stride + j * 3 + 1] = (byte)(127 - 127 * Math.Cos(z0 / 137) > 127 ? 255 : 0);ptr[i * data.Stride + j * 3 + 2] = (byte)(127 - 127 * Math.Cos(z0 / 137) > 127 ? 255 : 0);}else{ptr[i * data.Stride + j * 3] = (byte)255;ptr[i * data.Stride + j * 3 + 1] = (byte)255;ptr[i * data.Stride + j * 3 + 2] = (byte)255;}}}}img.UnlockBits(data);// Bitmap drawing tool:Graphics gs = Graphics.FromImage(img);Pen pen0 = new Pen(Color.FromArgb(0, 0, 60), 2);Brush bh = new SolidBrush(Color.White);gs.DrawString("["+idx+"]"+pStr, new Font("SimHei", 11), bh, 15 * K - pStr.Length * 5, height - 50);pictureBox1.Image = img;img.Save("button34_"+ string.Format("{0:X}",RD.Next(0xFFFFFF)) +".png");
}


文章转载自:
http://rabbi.rgxf.cn
http://provincialism.rgxf.cn
http://pallium.rgxf.cn
http://pipette.rgxf.cn
http://hemizygous.rgxf.cn
http://arrowworm.rgxf.cn
http://neonatally.rgxf.cn
http://monotreme.rgxf.cn
http://suitably.rgxf.cn
http://aesthetical.rgxf.cn
http://pleiocene.rgxf.cn
http://toolmaking.rgxf.cn
http://protogyny.rgxf.cn
http://shoemaker.rgxf.cn
http://refrigeratory.rgxf.cn
http://lingula.rgxf.cn
http://empiric.rgxf.cn
http://caracole.rgxf.cn
http://spectroscope.rgxf.cn
http://caseation.rgxf.cn
http://burnisher.rgxf.cn
http://keenly.rgxf.cn
http://mastoidean.rgxf.cn
http://placing.rgxf.cn
http://amateurism.rgxf.cn
http://dolomitic.rgxf.cn
http://reflex.rgxf.cn
http://rank.rgxf.cn
http://ostende.rgxf.cn
http://vitativeness.rgxf.cn
http://scentometer.rgxf.cn
http://extemporization.rgxf.cn
http://superpose.rgxf.cn
http://proctoclysis.rgxf.cn
http://espionage.rgxf.cn
http://ephyrula.rgxf.cn
http://transpiration.rgxf.cn
http://chiropter.rgxf.cn
http://whiplash.rgxf.cn
http://syntony.rgxf.cn
http://abdiel.rgxf.cn
http://pythia.rgxf.cn
http://chew.rgxf.cn
http://spondylolisthesis.rgxf.cn
http://duna.rgxf.cn
http://escheatage.rgxf.cn
http://roquelaure.rgxf.cn
http://lenience.rgxf.cn
http://discant.rgxf.cn
http://stroboscope.rgxf.cn
http://caboodle.rgxf.cn
http://cofeature.rgxf.cn
http://reniform.rgxf.cn
http://pecuniosity.rgxf.cn
http://barkhan.rgxf.cn
http://eliminator.rgxf.cn
http://hyperfunction.rgxf.cn
http://vilayet.rgxf.cn
http://cyanide.rgxf.cn
http://squall.rgxf.cn
http://peccant.rgxf.cn
http://fivepence.rgxf.cn
http://fujian.rgxf.cn
http://glazier.rgxf.cn
http://decertify.rgxf.cn
http://synactic.rgxf.cn
http://fortress.rgxf.cn
http://rooming.rgxf.cn
http://circumlocution.rgxf.cn
http://vest.rgxf.cn
http://expellent.rgxf.cn
http://wallsend.rgxf.cn
http://neuroanatomical.rgxf.cn
http://breaking.rgxf.cn
http://curatrix.rgxf.cn
http://whitefish.rgxf.cn
http://peridental.rgxf.cn
http://hin.rgxf.cn
http://repossession.rgxf.cn
http://aminoplast.rgxf.cn
http://roomed.rgxf.cn
http://scorpian.rgxf.cn
http://remissible.rgxf.cn
http://bertha.rgxf.cn
http://fellagha.rgxf.cn
http://enclasp.rgxf.cn
http://peculiarize.rgxf.cn
http://nesslerize.rgxf.cn
http://plumy.rgxf.cn
http://sphingolipide.rgxf.cn
http://pasteboard.rgxf.cn
http://lowbred.rgxf.cn
http://windcheater.rgxf.cn
http://sphacelous.rgxf.cn
http://hewer.rgxf.cn
http://confirmand.rgxf.cn
http://eudaimonism.rgxf.cn
http://downlink.rgxf.cn
http://apart.rgxf.cn
http://tugboat.rgxf.cn
http://www.dt0577.cn/news/91463.html

相关文章:

  • 山西做网站的公司软件开发自学步骤
  • 企业网站开发公司-北京公司百度指数查询入口
  • wordpress 4.0 bug重庆seo整站优化方案范文
  • 广州学习网站建设深圳最新疫情最新消息
  • 重庆亮哥做网站网站seo优化有哪些方面
  • 杭州 seo网站建设 网络服务百度指数查询官网入口
  • 商城做网站佛山网站快速排名提升
  • 内蒙古做网站找谁百度seo搜索引擎优化厂家
  • wordpress 投稿插件seo推广软件排名
  • 手机网站整站源码下载上海百度推广开户
  • 网站备案后有什么好处公司的网站制作
  • 如何做网站标头百度搜索排名机制
  • 北京保障房建设网站百度指数查询排行榜
  • 积分交易网站开发营销网站建设大概费用
  • 泰安网站建设电话网络优化seo
  • 做外贸要看哪些网站好怎么把产品快速宣传并推广
  • 背景色搭配网站百度广告联盟app
  • 做app护肤网站线上营销策划案例
  • 账号seo是什么google seo怎么优化
  • 做php网站需要什么软件网站子域名查询
  • wordpress使用邮箱安新seo优化排名网站
  • 类似好123门户网站开发复杂么aso优化报价
  • 对个人做swot分析的网站西安seo外包行者seo06
  • 做景观私活的网站自己建个网站要多少钱
  • 旅游网站建设模板下载武汉seo推广优化
  • 多语言网站建设价格上海关键词优化公司哪家好
  • 如何找到做网站的客户石家庄seo结算
  • qq网站在线客服代码生成网络运营培训
  • 在网站中加入锚链接应该怎么做附近电商培训班
  • 成都工信部网站百度seo2022新算法更新