Community Profile

photo

Ray


University of Michigan Ann Arbor

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Converting an image to grayscale problem
I'm supposed to convert a 3'd matrix which represents an image to a 2-d grayscale matrix, but am running into the following erro...

9 years ago | 1 answer | 0

1

answer

Question


Dimming an Image with a new max?
function [dimmed] = dimImage(orig, new_max) Write a function called dim Image which takes two inputs: a 3 D matri...

9 years ago | 3 answers | 0

3

answers

Question


Comparing a logical matrix and a numerical matrix?
I want to make a function that takes in as input a matrix (orig) and a logical matrix (mask). If the logical at a certain index ...

9 years ago | 3 answers | 0

3

answers

Question


Function for masking an image?
function [masked] = maskImage(orig, mask) Basically, this function takes a 3-D matrix (orig), and a 2-D logical mask matrix...

9 years ago | 1 answer | 0

1

answer

Question


Convert from RGB to Grayscale without rgb2gray
Basically, I need to make a function [gray] = grayscale(color) without using rgb2gray. Basically, I am taking in a 3x3 matrix wi...

9 years ago | 1 answer | 1

1

answer

Question


How to make values in a matrix from 0 to a certain number?
I have a function [new] = lower(old, max) where old is a 3x3 matrix and new is a 3x3 matrix whose values do not go above max, wh...

9 years ago | 1 answer | 0

1

answer

Question


Switching first and last columns of an NxN matrix
Hello, Using matlab, I have to write a function which takes in an input matrix and flips the first and last values of the row...

10 years ago | 1 answer | 0

1

answer