Render High Resolution Images
In the previous step, we produced a MIP7 alignment of the cutout. In this step, we will apply the MIP7 field from that step to MIP6 non-normalized images:
corgie render \
--src_layer_spec '{
"name": "img",
"path": "'${CORGIE_WALKTHROUGH_PATH}'/img/unaligned"
}' \
--src_layer_spec '{
"name": "fold_mask",
"type": "mask",
"path": "'${CORGIE_WALKTHROUGH_PATH}'/mask/fold_mask"
}' \
--src_layer_spec '{
"type": "field",
"path": "'${CORGIE_WALKTHROUGH_PATH}'/aligned_seamless/field/field_aligned",
"args": {"data_mip": 7}
}' \
--dst_folder $CORGIE_WALKTHROUGH_PATH/aligned_seamless \
--mip 6 \
--start_coord "150000, 150000, 17000" \
--end_coord "200000, 200000, 17010" \
--chunk_xy 1024 \
--chunk_z 1 \
--suffix warped
Note
The "data_mip": 7 in the field layer specification is necessary to use the field at the correct resolution.
Without the data MIP being explicitly specified, the default behavior is to use identical field and image MIPs.
An alternative to providing the data MIP would be to use corgie upsample to upsample the aligned field
from MIP7 to MIP6.