Converting mean(mean(image)) of image into c
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad Hilmi Azman
el 19 de Mayo de 2019
Comentada: Muhammad Hilmi Azman
el 19 de Mayo de 2019
I am new to matlab and I want to know how do i write the fuction of matlab imread, rgb2gray & mean(mean(image)) into c
0 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 19 de Mayo de 2019
im=imread('iamge_file_name.jpg');
grayImage=rgb2gray(image1);
result=mean(grayImage);
C Code Generation from MATLAB check here
Regarding Matlab function
function output=fun_name(inputs)
......do
..do
end
1 comentario
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!