Image processing-CCS 3.1-c6713 dsk
古いコメントを表示
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
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!