Ejemplo n.º 1
0
 def build(step):
     return BlockBitHider(
         TransformHider(
             SingleBitHider(ScanMapping(),
                            BinaryQuantizationIndexModulation(step)),
             ImageTransform(
                 SeparableTransform(transform.TCHEBICHEF,
                                    transform.TCHEBICHEF))))
Ejemplo n.º 2
0
    def build(step, alpha, dimension=8):
        CHARLIER = matrix.CharlierMatrix(dimension, alpha=alpha).get_values()

        return BlockBitHider(
            TransformHider(
                SingleBitHider(ScanMapping(),
                               BinaryQuantizationIndexModulation(step)),
                ImageTransform(SeparableTransform(CHARLIER, CHARLIER))))
Ejemplo n.º 3
0
 def build(step, a, q, dimension=8):
     qc = QCharlierMatrix(dimension, a=a, q=q)
     th = TchebichefMatrix(dimension, N=dimension)
     transform = SeparableTransform(qc.get_values(), th.get_values())
     return BlockBitHider(
         TransformHider(
             SingleBitHider(ScanMapping(),
                            BinaryQuantizationIndexModulation(step)),
             ImageTransform(transform)))
Ejemplo n.º 4
0
 def build(step, alpha, beta, gamma, dimension=8):
     return BlockBitHider(
         TransformHider(
             SingleBitHider(ScanMapping(),
                            BinaryQuantizationIndexModulation(step)),
             ImageTransform(
                 matrix.CharlierSobolevMatrix(dimension,
                                              alpha=alpha,
                                              beta=beta,
                                              gamma=gamma))))
Ejemplo n.º 5
0
 def build(step):
     return BlockBitHider(
         TransformHider(
             SingleBitHider(ScanMapping(),
                            BinaryQuantizationIndexModulation(step)),
             ImageTransform(DCT())))
Ejemplo n.º 6
0
 def build(step, p, q, dimensions=8):
     return BlockBitHider(
         TransformHider(
             SingleBitHider(ScanMapping(),
                            BinaryQuantizationIndexModulation(step)),
             ImageTransform(QKrawtchoukMatrix(dimensions, p=p, q=q))))