The error messages are not very clear, but I am afraid that there is currently no support for image volume transformation with the Saalfeld h5reg format.
n=flycircuit::fc_read_neurons("VGlut-F-300133")
library(nat.jrcbrains)
n.jrc2018u=xform_brain(n, sample = "FCWB", reference = JRC2018U)
# even steps along the neuron
n.jrc2018u.rs=resample(n.jrc2018u, stepsize = .5)
# MIPs are not in the stanard JRC2018U
JRC2018Umip = templatebrain("JRC2018Umip", dims = c(1210,566,174), voxdims = c(0.519,0.519,1), units = "microns")
im = as.im3d(xyzmatrix(n.jrc2018u.rs), JRC2018Umip)
# set everything over 0 to 255
im[im>0]=255
write.im3d(im, "VGlut-F-300133.nrrd", dtype='byte')
now in Fiji you need to fatten this up a bit
e.g. convolve e.g. with 2-3µm Gaussian
or Dilate 3D 2-4x
To make the MIP, Istvan Taisz in my group advises:
It's a bit of a hack, but if you want a quick solution you can use another method in Fiji: Image/Hyperstacks/Temporal-Color code and then pick the MIP's PsychedelicRainBow2 LUT to encode z. In my experience this produces the right result for EM neurons (I haven't tried with LM), and you can use it as a mask for MIP search
All the best,
Greg.