MINCBLUR(1)

πŸ“¦ version 0.99.70-unstable-2024-10, in nixos 26.05, nixpkgs unstable

πŸ’… MINCBLUR β€” the blur blender bestie πŸ’…

okay so this is mincblur(1) from the General Commands Manual and honestly? it's giving "I just want to smooth my brain scan" energy and I am obsessed. Let's get into it, bestie. 🧚✨


🌸 NAME 🌸

mincblur β€” convolve an input volume with a Gaussian blurring kernel. literally that's it. it blurs stuff. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

mincblur [<options>] <source> <output_basename>

πŸ’– DESCRIPTION πŸ’–

Mincblur convolves an input volume with a Gaussian blurring kernel of user-defined width. no cap. Convolution is accomplished by multiplication in the Fourier domain where the blurring kernel is calculated explicitly over the whole field. fancy? yes. does it work? also yes. Mincblur can also calculate the first partial derivatives and the gradient magnitude volume. it's multitasking. main character energy fr fr. πŸ‘‘

The first command line argument is the name of the 3D input MINC file. The second argument is the basename for the output file. The string _blur.mnc is added automatically to the basename to generate the blurred intensity volume; if a gradient volume is calculated (using the -gradient option), then _dxyz.mnc is added to the basename; and if partial derivative volumes are calculated (using the -partial option), then _dx.mnc, _dy.mnc, and _dz.mnc are added to name them. The output volume(s) will have the same size and be of the same type as the input volume. iykyk. 🌈

Before blurring, the edges of the data volume are apodized (intensity reduced) to minimize edge effects. This process can be skipped with the -no_apodize flag. it's like putting a little blanket on the edges so they don't act up. 🫢

✨ Specification of blurring kernel ✨

One of the following options must be used to specify the size of the blurring kernel: -fwhm, -standarddev, -3Dfwhm, where

  • -fwhm <val> β€” Specifies the full-width-half-maximum of the iso-tropic 3D Gaussian blurring kernel. πŸŽ€
  • -standarddev <val> β€” Specifies the sigma iso-tropic 3D Gaussian blurring kernel. πŸ“
  • -3Dfwhm <valx> <valy> <valz> β€” Specifies the full-width-half-maximum in the x, y and z directions of the non-isotropic 3D Gaussian blurring kernel. it's different in every direction and honestly? versatile icon. πŸ’…

πŸ’œ Other options πŸ’œ

  • -dimensions <1|2|3> β€” Number of dimensions to blur. -dim 1 blurs only in the z direction, useful for simulating thick slices. -dim 2 blurs only in the xy plane. -dim 3 blur all 3 dimensions and is the default. pick your fighter. 🌸
  • -gaussian β€” Use a gaussian smoothing kernel (default). the classic. the blueprint. ✨
  • -rect β€” Use a rect (box) smoothing kernel. angular. minimalist. also valid. πŸŽ€
  • -no_apodize β€” Do not apodize the data before blurring. you're on your own for edges, bestie. πŸ’€
  • -no_clobber β€” Do not overwrite output file (default). protective queen behavior. 🫢
  • -clobber β€” Overwrite output file. reckless. love that for you. πŸ”₯
  • -gradient β€” Create the gradient magnitude (_dxyz.mnc) volume as well. bonus content!! πŸ’–
  • -partial β€” Create the partial derivative (_dx.mnc, _dy.mnc & _dz.mnc) volumes as well. more bonus content!! 🌈

In order to create any gradient data, it is necessary to temporarily store the blurred data in floating point representation. By default, the temporary files are written in the current directory. If that directory is not available, /tmp is used. Both of these possiblities can be overridden by providing an environment variable TMPDIR in the user's environment, whose value is the name of the desired temporary-file directory. Of course, the temporary files are removed by mincblur after processing. girlboss housekeeping. 🧹✨

🌟 Options for logging progress 🌟

  • -verbose <val> β€” Write verbose messages indicating progress (default = 1). she's chatty and we love her. πŸ’¬
  • -quiet β€” Do not write log messages. stealth mode activated. πŸ™ˆ
  • -debug β€” Print out debug info. for when you need to know. πŸ”

⭐ Generic options ⭐

  • -help β€” Print summary of command-line options and abort. when in doubt, ask for help. no shame. πŸ’β€β™€οΈ

πŸŽ€ EXAMPLES πŸŽ€

  1. Blur an input volume with a 6mm fwhm isotropic Gaussian blurring kernel:
mincblur -fwhm 6 input.mnc out_6

mincblur will create out_6_blur.mnc. you did that. πŸ’…

  1. Calculate the blurred and gradient magnitude data:
mincblur -fwhm 6 -gradient input.mnc out_6

mincblur will create out_6_blur.mnc and out_6_dxyz.mnc. two for one!! πŸ“

  1. Calculate the blurred data, the partial derivative volumes and the gradient magnitude for the same data:
mincblur -fwhm 6 -partial input.mnc out_6

mincblur will create out_6_blur.mnc, out_6_dx.mnc, out_6_dy.mnc, out_6_dz.mnc and out_6_dxyz.mnc. five whole files. she ate. πŸ‘‘


😭 KNOWN BUGS 😭

The temporary files may not be removed properly if mincblur fails during processing. not the cleanest exit, honestly. πŸ’€ but we move.


πŸ‘‘ AUTHOR πŸ‘‘

Louis Collins. the legend himself. 🫢


Copyright (c) 1993-95 by Louis Collins. iconic since the 90s. πŸŽ€


that's the whole page, bestie β€” sourced from the General Commands Manual and if this page had a version, it would be slaying, and if it had a date it would be whenever your blur needs saving. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from