Function to scale image
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Semantic Segmentation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
