[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15729] Warp on 3D cubes (at first 2D warp over third dimension)

From: Mohammad Akhlaghi
Subject: [task #15729] Warp on 3D cubes (at first 2D warp over third dimension)
Date: Thu, 16 Jul 2020 20:40:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #1, task #15729 (project gnuastro):

As a demonstration of treating each slice as an independent 2D dataset, see

In this Makefile we first pull out each slice as a 2D image, do the operation
(Crop with options like '--polygon', that aren't yet supported in 3D), then
put them back into a cube with Arithmetic. As a Makefile (putting hell scripts
in blobs, or Make 'rules'), the job can be done on multiple threads and thus
much faster and cleaner than a simple shell script.

Something like this can easily go into the source of Warp for the first step
described below.

But until then, if you need any other special Warp operation, it can easily be
added to this Makefile, so it supports both Crop and/or Warp. Alternatively,
it can easily be modified/duplicated for Warp-only (For example rotating
without cropping). So please get in touch if you need such a feature.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]