Fight against cancer

viernes, 8 de diciembre de 2023

Escala Mohs

A vegades, lleging notícies tecnològiques, troves informes sobre el descobriment de noves aleacions que tenen una duresa com el diamant o inclús superior, segons l'escala mohs. Però, què és l'escala Mohs?


L'escala Mohs permiteix d'una manera qualitativa (amb propietats observables) classificar del 1 al 10 la resistència de minerals al ratllat .


Des de l'antiguitat es comparava la duresa de minerals, fent-los ratllar entre ells, però no hi havia una escala per a classificar-los segons esta propietat.

Imatge modificada d'una generada amb IA


Va ésser a principis del segle XIX, quan el germà Friedrich Mohs, - que havia treballat de capatàs a la mina, i després identificant minerals de coleccions privades i museus -, quan va publicar un llibre on introduïa aquesta escala, i per a cada valor ordinal del 1 al 10, li associava un mineral conegut. Els minerals associats a cada valor es llisten a la següent taula:

Duresa MohsMineral de referència
1Talc
2Guix
3Calcita
4Fluorita
5Apatita
6Ortosa
7Quars
8Topazi
9Corindó
10Diamant

La idea és la següent: si tens un mineral o material i no saps la seva duresa, prova a ratllar-ho amb aquestos coneguts, i serà més dur que el primer que no ratlle, de manera que podràs asignar-li un valor de duresa.

Hui en dia hi ha ferramentes amb forma de bolígraf, que amb una punta dura i uns molls et permiteixen averiguar la duresa segons l'escala de Mohs.


La duresa quantitativa es medeix amb altres tècniques i prova que aquesta escala no és lineal. Es a dir, no existeix la mateixa relació quantitativa entre dos elements consecutius que entre altres dos consecutius d'aquesta escala.

A més, hui en dia, hi ha una classificació extendida de l'escala de Mohs, on trovem materials amb dureses intermèdies (exemple el grafit amb 1'5), i també per sota 1 com el liti (0'5), o per damunt del 10 com la Lonsdaleita.


Per altra vanda, existeixen altres propietats de duresa que es poden medir com a la penetració (Brinell), deformació per aplastament (Vickers), microduressa mecànica (Knoop), penetració en indentació (Rockwell), energia perduda en deformacó plàstica (Leeb), ...


Referències:

https://en.wikipedia.org/wiki/Mohs_scale

- La medida de todas las cosas. 2009.

https://en.wikipedia.org/wiki/Friedrich_Mohs

https://es.wikipedia.org/wiki/Lonsdale%C3%ADta

https://en.wikipedia.org/wiki/Hardness_comparison



domingo, 19 de noviembre de 2023

Pixel, voxel, hipervoxel, texel, bpp, dpi

When you buy a laptop, a TV, or a mobile phone, one of the specifications you appreciate is the number of pixels of the screen or the camera.

A pixel (px), in digital imaging is the smallest addressable element in a raster image or a 2D matrix. Whilst in most digital display devices, pixels are the smallest element that can be manipulated.

Each pixel can be a photosensor in a camera, or a group of 3 o 4 phosphor dots coloured in a screen. And their width could be different of their height.

The main color represtations of the dot in a screen are RGB with three components: red, green, and blue, or CMYK with four components: cyan, magenta, yellow and black.

For example a RGB screen of 1024 x 960 px will include 983040 pixels, each one with three coloured dots. And the color of each pixel will be representated with 2N bits. Then, if the color of the pixel is 16 bits (N=4), a raw image will be 1024*960*16 bits = 15728640 bits = 1966080 bytes, that is almost 2 MB .

1 MP = 1 megapixel = 1*106 pixels

The number of bits per pixel (bpp) is a measuse unit of the color depth of the representated pixels. In the previous example, 16 bpp, that are 65536 distinct colors.

bpp can include M bits for opacity. For example using 24 bpp in RGB: 8 bits for red, 8 bits for green, 8 bits for blue/cyan, and 8 bits for the opacity.

In 2D, the resolution is the number of pixels that are represented or maneged. In the previous example is 1024 x 960 px. Supposed 1024 rows of 960 columns.

In printers or scanners, the specifications are in dots per inch, dpi or DPI, that are the number of dots in a line within the span of 1 inch.

There are special cases like logical pixels, when an image is vectorial and its pixels can be accommodate into different screen rate of pixels. or when the density of the sensors or phosphor dots isn't constant along the screen or camera.

Nowadays, mobile phones that include different cameras, can use one or another according distances, light, ... And, probably, they don't have the same reesolution. Additionally, the software can change the resolution, and the pixels you see in the photo you've taken, probably doesn't match with the resolution of the camera used to take that photo.

Equivalently, many displays, include software that can change the resolution of the image received to depict it with more pixels, color filters, ...

In computing graphics, we usually work with 3 dimensional objects. This objects are usually composed by polygons with its coordinates and properties, but, in some cases another concept is used: the voxels.

A voxel is a 3D image in a 3D space witch has its own nodal point coordinates in an accepted coordinate system, its form, parameters, etc. Voxels are used in some cases like visualization and analysis of medical, or GIS data.

Voxels are the terrain objects we can see and manipulate in the Minecraft game as a cubic blocks, although internally uses polygons for rendering them.

There are some 3D displays that have their volumetric resolution in voxels, but normally are displayed in 2D screens using algorithms of rasterisation, ray tracing, ... that obtain a 2D raster.

An extension of the voxels are the hypervoxels, which are a generalization of them for higher-dimensional spaces.

A different generalization of pixels are the texels. A texel is the fundamental unit of a texture map.

A texel is an image or a pattern that is part of a texture that is applied on 2D or 3D surfaces (texture mapping).

When the textures on 3D surfaces are visualized on a display or are exported as an image or video, a combination of algorithms calculates the value of each pixel, in a process named rendering.

This is a brief of some related units used in computing graphics.


References: