/// <summary> /// Getting a quantum circuit representation of each color channel of an image directly without using python. /// Is faster than python versions but does not support logarithmic encoding yet and may still contain some errors. /// </summary> /// <param name="inputTexture">The image which should be converted into quantum circuits representing the channels</param> /// <param name="redChannel">Returns the quantum circuit for the red channel of the image.</param> /// <param name="greenChannel">Returns the quantum circuit for the green channel of the image.</param> /// <param name="blueChannel">Returns the quantum circuit for the blue channel of the image.</param> /// <param name="useLog">If logarithmic encoding is chosen DOES NOTHING (at the moment)</param> public static void GetCircuitDirectPerChannel(Texture2D inputTexture, out QuantumCircuitFloat redChannel, out QuantumCircuitFloat greenChannel, out QuantumCircuitFloat blueChannel, bool useLog = false) { QuantumImageHelper.TextureToColorCircuit(inputTexture, out redChannel, out greenChannel, out blueChannel, useLog); }