CoNNECT 0.1 documentation

Table of Contents

This Page

flirt_pngappend.py

flirt_pngappend(IN_FILE, REF_FILE, OUT_FILE)

Creates a registration overlay image (PNG). This tool is utilized by flirt.py.

Top row contains a background image of IN_FILE in REF_FILE space overlaid with the edges of REF_FILE (in red). Bottom row contains a background image of REF_FILE overlaid with the edges of IN_FILE in REF_FILE space (in red).

flirt_pngappend(IN_FILE, IN_FILE, OUT_FILE)

Parameters:
  • IN_FILE (str or None or Pathlike object) – REQUIRED String or pathlike object to an input NIfTI file transformed to the space of REF_FILE.

  • REF_FILE (str or None or Pathlike object) – REQUIRED String or pathlike object to a reference NIfTI file.

  • OUT_FILE (str or None or Pathlike object) – REQUIRED String or pathlike object to the output PNG file that will be created

Raises:

Error – If any error occurs.

Returns:

None

Return type:

None