# C order or F order？

**URL:** <https://discourse.itk.org/t/c-order-or-f-order/5287>\
**Category:** Beginner Questions\
**Tags:** dicom\
**Created:** [August 23, 2022, 2:35am UTC](https://discourse.itk.org/t/c-order-or-f-order/5287 "2022-08-23T02:35:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [August 23, 2022, 1:58pm UTC](https://discourse.itk.org/t/c-order-or-f-order/5287/2 "2022-08-23T13:58:01Z")

</div>

You should take a look at [Data Representation](https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch4.html) chapter, especially section _4.1.7 Importing Image Data from a Buffer_.

In ITK, shapes mean IJK, which usually (identity orientation) means WHD. And ordering is C-style, not Fortran-style.

---

_[View the full topic](https://discourse.itk.org/t/c-order-or-f-order/5287)._
