Brent McKinney
Georgia State University
Followers: 0 Following: 0
Statistics
5 Questions
0 Answers
RANK
78,876
of 301,433
REPUTATION
0
CONTRIBUTIONS
5 Questions
0 Answers
ANSWER ACCEPTANCE
80.0%
VOTES RECEIVED
0
RANK
of 21,272
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,520
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
How to change a jpg image to completely gray?
How could i change an image to completely gray? The following code turns the image black, no matter what value i set to myImage(...
7 years ago | 1 answer | 0
1
answerQuestion
How can I change all the pixels in an image to gray?
I know it may seem trivial, but how could i change all the pixels in an image to a single color, preferably gray?
7 years ago | 1 answer | 0
1
answerQuestion
Is there any reason why this loop is not reading the images in order? I noticed that once it starts running, it reads the images in a random order. It prints the image being read on each itereation, and i dont know why it does not start at image 1.
myDir = 'projectImages'; % Gets list of all files with the corresponding file extension f = fullfile(myDir, '*.jpg'); theFile...
7 years ago | 1 answer | 0
1
answerQuestion
How to populate csv rows, rather than columns? This program creates a csv file with each vectorized image in a column, but i want to know if it's possible to store each vectorized image as a row instead.
myDir = 'imgs2'; f = fullfile(myDir, '*.jpg'); % Change to whatever pattern you need. theFiles = dir(f); vector_imag = zero...
7 years ago | 1 answer | 0
1
answerQuestion
How can I populate a csv file in a loop without overwriting it? I want to place each vector in a single row on each iteration. But my solution overwrites and creates a new csv each iteration.
% Specify the folder where the files live. myDir = 'imgs'; % Get a list of all files in the folder with the desired file name ...
7 years ago | 1 answer | 0

