⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fconst.c

📁 image processing including fourier,wavelet,segmentation etc.
💻 C
字号:
/*----------------------------- MegaWave Module -----------------------------*//* mwcommand  name = {fconst};  version = {"1.0"};  author = {"Lionel Moisan"};  function = {"Produce a constant Fimage"};  usage = {    out<-fconst   "output Fimage",    g->g          "grey level value to set",    x->x          "size of output image along x axis",    y->y          "size of output image along y axis"    };*/#include <stdio.h>#include "mw.h"Fimage fconst(g,x,y)float g;int x,y;{  Fimage out;    out = mw_change_fimage(NULL,y,x);  if (out==NULL) mwerror(FATAL,1,"Not enough memory.");  mw_clear_fimage(out,g);  return(out);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -