first open the image using let o=imread('image location\name.jpg')......
then assign this value to other variable using p=i;
and store this as a m file with a name eg. image.m
again if u want to use this data simply write - load image
---------- Post added at 11:38 ---------- Previous post was at 11:34 ----------
thank u for the reply. but if i want to use this in xilinx it must be as text rite. so should i save as word pad??? or continue with .m itself.
thanks in advance
k thank u for the reply sir. is there any solution for converting this matrix form to 1 dimensional array so that i extract only one pixel at a time. in vhdl
sir its taking too much of time to store pixel values. before this i tried on cameraman image it happened quickly but for mri image its taking long time is there any other solution