Image processing-CCS 3.1-c6713 dsk
Mostra commenti meno recenti
hi all, With the help of matlab we are storing the pixel values of an particular image. by the same way, how one can generate pixel value using c language. i have tried, but iam unable to get the corresponding values, my code for your reference,
FILE *fp, *f1;
float x[1024][1024];
fp=fopen('image.bmp','r+');
f1=fopen('data.dat','w+');
for(i=0;i<=64;i++)
{
for(i=0;i<=64;i++)
{
fprintf(f1,"%f",x[i][j]);
}
}
but, i am unable to see my image. im working on CCS 3.1. could somebody please help me. suggestions will be greatful.
regards, chinny
Risposte (0)
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!