Xmipp  v3.23.11-Nereus
xmipp_image_macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CENTRAL_SLICE   -1
 
#define ALL_SLICES   0
 
#define SLICE_INDEX(select_slice)   ((select_slice == ALL_SLICES) ? 0 : select_slice - 1)
 
#define ALL_IMAGES   0
 
#define FIRST_IMAGE   1
 
#define IMG_INDEX(select_img)   ((select_img == ALL_IMAGES) ? 0 : select_img - 1)
 
#define APPEND_IMAGE   0
 

Macro Definition Documentation

◆ ALL_IMAGES

#define ALL_IMAGES   0

Macro for represent ALL IMAGES on stack index

Definition at line 37 of file xmipp_image_macros.h.

◆ ALL_SLICES

#define ALL_SLICES   0

Definition at line 34 of file xmipp_image_macros.h.

◆ APPEND_IMAGE

#define APPEND_IMAGE   0

Macro for appending an image when doing mapFile2Write

Definition at line 41 of file xmipp_image_macros.h.

◆ CENTRAL_SLICE

#define CENTRAL_SLICE   -1

Definition at line 33 of file xmipp_image_macros.h.

◆ FIRST_IMAGE

#define FIRST_IMAGE   1

Definition at line 38 of file xmipp_image_macros.h.

◆ IMG_INDEX

#define IMG_INDEX (   select_img)    ((select_img == ALL_IMAGES) ? 0 : select_img - 1)

Definition at line 39 of file xmipp_image_macros.h.

◆ SLICE_INDEX

#define SLICE_INDEX (   select_slice)    ((select_slice == ALL_SLICES) ? 0 : select_slice - 1)

Definition at line 35 of file xmipp_image_macros.h.