Function to scale image
Ältere Kommentare anzeigen
Could someone kindly point out the syntax/ other error which is preventing my function to scale image from running properly?
function [scaledimage] = scalefunc(img, value)
scaledimage = value*img; %ensures that multiplication occurs element wise;
end
This is the output I am currently getting-
Not enough input arguments.
Error in scale (line 2)
scaledimage = value*img; %ensures that multiplication occurs element wise
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Semantic Segmentation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
