matlab image processing 3d -


I have 100 b & y image of smthing.the probllem I scan each image in 0 and 1 format in MB N Format the form and then place each image one by one and then scan and save them in mbynby100 form. How can I do this and start from where _jaysean

Your question is unclear and difficult to understand, But my guess is that you want to take 100 m-b-n, to create them threshold (i.e. containing zero and ones), then put them together in an M-by-n-by-100 matrix. You can thresholding by selecting only one threshold value, such as 0.5 and apply it as an image A as follows:

 < Code> B = A & gt; 0.5;  

The matrix b will now have an M-by-N logical matrix with more than A <0.5 and zero is less than or equal to a 0.5 .

If you have one, you can use the function to select instead a threshold and the function to apply it:

  B = im2bw (A , Graythres (A));  

Once you do this, you can easily insert images into the M-by-N-By-110 logical matrix. This is an example of how you can do this in the loop, assuming the variable M and N are defined:

  AllImages = false (M, N, 100); Start the matrix to store all images for% # K = 1: 100%. Here, you will load your image in an alignment (A,:, K) = IMBB (A, GreyRress (A)). Add% # threshold A and it% # matrix to all images and  

Comments