Histogram Equalization AForge 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 12월 18, 2017 // create filter HistogramEqualization filter = new HistogramEqualization( ); // process image filter.ApplyInPlace( sourceImage ); 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 댓글 제갈식2017년 12월 18일 오후 6:27// create filterBrightnessCorrection filter = new BrightnessCorrection( -50 );// apply the filterfilter.ApplyInPlace( image );답글삭제답글답글댓글 추가더 로드하기... 댓글 쓰기
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); 자세한 내용 보기
// create filter
답글삭제BrightnessCorrection filter = new BrightnessCorrection( -50 );
// apply the filter
filter.ApplyInPlace( image );