hello i need a code in matlab and C or C++ and java to upload a binary image and then find its pixel values and write it in the form of matrix of 0's and 1's. Then i need to check every pixel and few of it's neighbors.
We can help you with MATLAB code, but usually not with C, C++, or Java. Where do you want to upload this binary image to? You forgot to tell us its destination. Is it some web site? Have you seen urlwrite?
urlwrite(URL,filename) readsWeb content at the specified URL and saves it tothe file specified by filename.
urlwrite(URL,filename,Name,Value)uses additional options specified by one or more Name,Value pairarguments.
Where do you want to write the image to? A file? The command window? A GUI? You forgot to say where you want to write it to.
What does "find its pixel values" and "check every pixel" mean to you? An image is an array of numbers so to "check it" you just give the subscripts, like pixelValue = imageArray(row, column) where row and column are numbers.
Play games and win prizes!Learn more