photo

Reihaneh Khoshghadam


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I am trying to write a function that computes CDF of an image, but the output I get is always zero. what am I doing wrong?
function cdf = CDF(im,j) rows = size(im,1); cols = size(im,2); s=double(rows^cols); sum=double(0); cd...

6 years ago | 2 answers | 1

2

answers

Question


I am trying to write a function for the Gamma Correction, this is what I have so far. the problem is the intensities of the output image is either 0 or 255. what am I doing wrong?
function adjust_im= Gamma_c(im, y, c) rows = size(im,1); cols = size(im,2); mat= zeros(rows,cols,cl...

6 years ago | 1 answer | 0

1

answer