Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux command that does excact same as Gmic Fourier Transform
#1
Hi.

OS: Fedora 41 KDE

I'm looking for a way to execute a command in Linux that are capable to produce two new files and also the reverse transform.

I have tried and also read up on the topic, but I'm stuck and get nowhere by this point.


This is what I have done so far, I'm stuck on both methods

1. Install the G'MIC 2.9.6 - Flathub

This make the command 'gmic' available in the Terminal. I've tried to read online, and also ran '$ man gmic | grep -i -b2 -a1 fourier' to see if I could extract key info on how to, but the man page doesn't give an actual real life example on how to actually run the command. So I'm still stuck, unsure if this is even possible.


2. using the -fft flag on the magick command

The magick tool seemingly have a command to do fourier analysis on an image file. The actual command I used was this one for a sample photo 'magick Nokia3210_cover-grå.jpg -fft Nokia3210_cover-grå_fft.png'.

This seemingly works- it output two files (automatically adding -0 and -1 at the end of the specified file name). However at opening the resulting image "Nokia3210_cover-grå_fft-0.png" - it consist of almost all black pixels, and does not resemble the result from when I run the Gmic Fourier Transform filter from within Gimp.

This together with the issue of not being able (don't know) how to do the reverse transform using command line makes it so that I do not know how to progress from here, if possible.
Reply


Messages In This Thread
Linux command that does excact same as Gmic Fourier Transform - by Grobe - Yesterday, 09:34 PM

Forum Jump: