Message Boards Message Boards


What is the difference between MatrixPlot and Image

Posted 8 months ago
1 Reply
0 Total Likes

So I'm reducing some data. And displaying it. I know what the Import command imports the individual pixel values from the picture, but when displaying the image, i have the option to use matrix plot or image.

Image gives me a white image, which i know it's wrong and matrixplot gives me a black image, which seems more right.

My question is what's the difference between the two? I thought image assigned a matrix element (i,j) to an image's pixel value (k,m), creating an image from the matrix

How do I create an image from pixel values extracted? I have tried:

Mean_Picture_Value = Mean[Biases];
Image[Mean_Picture_Value ];

It's giving me a white image, which i know it's wrong.

Please make sure you know the rules: Please do NOT create duplicate discussions on the same subject. Also please post complete reproducible code, it is impossible to run and check what you posted.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract