배경제거 by accord 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 12월 19, 2017 // create filter FlatFieldCorrection filter = new FlatFieldCorrection( bgImage ); // process image filter.ApplyInPlace( sourceImage ); 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 댓글
ofImage ofxOpenCV 2월 08, 2018 //-------------------------------------------------------------- void ofApp::setup(){ image1.load("D:/2.bmp"); image1.mirror(FALSE, TRUE); image1.resize(512, 512); image1.crop(10, 10, 256, 256); image1.saveImage("D:/after.png", OF_IMAGE_QUALITY_BEST); } //-------------------------------------------------------------- void ofApp::update(){ } //-------------------------------------------------------------- void ofApp::draw(){ image1.draw(0, 0); } 자세한 내용 보기
Histogram Feature - AForge 12월 18, 2017 // gather statistics ImageStatistics stat = new ImageStatistics( image ); // get red channel's histogram Histogram red = stat.Red; // check mean value of red channel if ( red.Mean > 128 ) { // do further processing } 자세한 내용 보기
freq_diffusion.m 1월 02, 2018 function r=freq_diffusion(p,l,t) #freq_diffusion(gaussian1d(100,50,5),0.5,100); n=length(p); q0=fft(p); Q=q0; g=[1-l,l/2,zeros(1,n-3),l/2]'; G=fft(g); #[X,T]=meshdom(1:n,1:t); for n=1:(t-1) q=q0.*(G.^n); # Q=[q,Q]; plot(1:length(q),sqrt(real(q).^2+imag(q).^2)); end #mesh(T,X,norm(Q')); r=ifft(q); 자세한 내용 보기
댓글
댓글 쓰기