Community Profile

photo

Mohamed Khalladi


Last seen: 1 month ago
2 total contributions since 2020

Contributions in
View by

Question


Unrecognized function or variable 'bins'.
I am workiong on a lab and when I run the command: [~,R] = imnoise2(ones(100000,1),'gaussian',0,1); hist(R, bins); As instuc...

2 months ago | 1 answer | 0

1

answer

Question


I have the following Matlab code that produces a x2 zoomed image of the input using Pixel Replication. How can I change it to shrink an image?
function [img1] = resizePR(filename) img1 = imread(filename); [r,c] = size(img1); N = zeros(r*01,c*01); %coloumn fil...

4 months ago | 1 answer | 0

1

answer