MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getCopy

Method getCopy

ij/src/main/java/ij/process/FHT.java:639–651  ·  view source on GitHub ↗

Returns a clone of this FHT.

()

Source from the content-addressed store, hash-verified

637
638 /** Returns a clone of this FHT. */
639 public FHT getCopy() {
640 ImageProcessor ip = super.duplicate();
641 FHT fht = new FHT(ip);
642 fht.isFrequencyDomain = isFrequencyDomain;
643 fht.quadrantSwapNeeded = quadrantSwapNeeded;
644 fht.rgb = rgb;
645 fht.originalWidth = originalWidth;
646 fht.originalHeight = originalHeight;
647 fht.originalBitDepth = originalBitDepth;
648 fht.originalColorModel = originalColorModel;
649 fht.powerSpectrumMean = powerSpectrumMean;
650 return fht;
651 }
652
653 public static boolean isPowerOf2(int n) {
654 int i=2;

Callers 1

doInverseTransformMethod · 0.80

Calls 1

duplicateMethod · 0.45

Tested by

no test coverage detected