How can I digitalise a picture into pixels with a given colour scale and depth related?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Michal Kruszewski
el 10 de Feb. de 2019
Editada: Image Analyst
el 10 de Feb. de 2019
Hello,
I have problem digitalizing an image (which is vertcally depth related, meaning that one line of pixels is assigned to a one depth point) into pixels and then assigning a colour map to the resulting pixels with values between 0 (white) to 6 (black).
Please see the colour scale with values between 0 and 6.
![Screenshot 2019-02-10 at 11.38.58.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203472/Screenshot%202019-02-10%20at%2011.38.58.png)
And a depth related (vertically) image (one box has 50 m; here 150 m interval is shown).
![Screenshot 2019-02-10 at 11.53.35.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203473/Screenshot%202019-02-10%20at%2011.53.35.png)
I tried image digitalizers, but they work mainly for graphs with lines, and this seems to be more complicated case. I am very thankful for any kind of help.
0 comentarios
Respuesta aceptada
Image Analyst
el 10 de Feb. de 2019
Editada: Image Analyst
el 10 de Feb. de 2019
Try imquantize() if you want ot quantize your continuous depths into ranges of uniform depths.
Try creating a custom colormap and then using colormap() and colorbar() if you want certain colors to appear at certain depths. You can also use caxis().
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Red en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!