Content Feed
질문
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...
8년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 이상 전 | 답변 수: 2 | 0
2
답변질문
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 ...
8년 이상 전 | 답변 수: 3 | 0
3
답변질문
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...
8년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
8년 이상 전 | 답변 수: 1 | 1
1
답변질문
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...
8년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 이상 전 | 답변 수: 1 | 0