The diagnosis of myelofibrosis through histology typically involves a bone marrow biopsy. The biopsy sample is examined under a microscope to look for the characteristic fibrotic changes, megakaryocyte abnormalities, and osteosclerosis. Special histological stains, such as reticulin and trichrome, are employed to highlight the fibrous tissue in the bone marrow.