CADI.Server.LogicalTarget.JPEG2000.RateDistortion
Class DeliveryProgressionOrder

java.lang.Object
  extended by CADI.Server.LogicalTarget.JPEG2000.RateDistortion.DeliveryProgressionOrder

public class DeliveryProgressionOrder
extends java.lang.Object

This class is used to obtain which precincts belong to a WOI and what is the progression order to be delivered.

Version:
1.0.1 2008/12/08
Author:
Group on Interactive Coding of Images (GICI)

Field Summary
private static int X
           
private static int Y
           
 
Constructor Summary
DeliveryProgressionOrder()
           
 
Method Summary
static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsCPR(int[] fsiz, int[] roff, int[] rsiz, int[][] comps, int maxComponents, int ySize, int xSize, int XOsize, int YOsize, int[] WTLevels, int[][] precinctWidths, int[][] precinctHeights)
          Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz).
static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsPCR(int[] fsiz, int[] roff, int[] rsiz, int[][] comps, int maxComponents, int ySize, int xSize, int XOsize, int YOsize, int[] WTLevels, int[][] precinctWidths, int[][] precinctHeights)
          Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz).
static java.util.ArrayList<java.lang.Long>[][] findRelevantPrecinctsR_CP(int[] fsiz, int[] roff, int[] rsiz, int[][] comps, int maxComponents, int ySize, int xSize, int XOsize, int YOsize, int[] WTLevels, int[][] precinctWidths, int[][] precinctHeights)
          Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz).
static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsRCP(int[] fsiz, int[] roff, int[] rsiz, int[][] comps, int maxComponents, int ySize, int xSize, int XOsize, int YOsize, int[] WTLevels, int[][] precinctWidths, int[][] precinctHeights)
          Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz).
static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsRPC(int[] fsiz, int[] roff, int[] rsiz, int[][] comps, int maxComponents, int ySize, int xSize, int XOsize, int YOsize, int[] WTLevels, int[][] precinctWidths, int[][] precinctHeights)
          Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X

private static final int X
See Also:
Constant Field Values

Y

private static final int Y
See Also:
Constant Field Values
Constructor Detail

DeliveryProgressionOrder

public DeliveryProgressionOrder()
Method Detail

findRelevantPrecinctsRCP

public static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsRCP(int[] fsiz,
                                                                           int[] roff,
                                                                           int[] rsiz,
                                                                           int[][] comps,
                                                                           int maxComponents,
                                                                           int ySize,
                                                                           int xSize,
                                                                           int XOsize,
                                                                           int YOsize,
                                                                           int[] WTLevels,
                                                                           int[][] precinctWidths,
                                                                           int[][] precinctHeights)
Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz). Further information, see ISO/IEC 15444-9 section K.4.1

Parameters:
fsiz - definition in ViewWindowField.fsiz.
roff - definition in ViewWindowField.roff.
rsiz - definition in ViewWindowField.rsiz.
ySize - definition in SIZParameters.ySize.
xSize - definition in SIZParameters.xSize.
XOsize - definition in SIZParameters.XOsize.
YOsize - definition in SIZParameters.YOsize.
precinctWidths - definition in CODParameters.precinctWidths.
precinctHeights - definition in CODParameters.precinctHeights.
Returns:
a array list with the unique precinct number which belongs to the WOI.

findRelevantPrecinctsR_CP

public static java.util.ArrayList<java.lang.Long>[][] findRelevantPrecinctsR_CP(int[] fsiz,
                                                                                int[] roff,
                                                                                int[] rsiz,
                                                                                int[][] comps,
                                                                                int maxComponents,
                                                                                int ySize,
                                                                                int xSize,
                                                                                int XOsize,
                                                                                int YOsize,
                                                                                int[] WTLevels,
                                                                                int[][] precinctWidths,
                                                                                int[][] precinctHeights)
Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz). Further information, see ISO/IEC 15444-9 section K.4.1

Parameters:
fsiz - definition in ViewWindowField.fsiz.
roff - definition in ViewWindowField.roff.
rsiz - definition in ViewWindowField.rsiz.
ySize - definition in SIZParameters.ySize.
xSize - definition in SIZParameters.xSize.
XOsize - definition in SIZParameters.XOsize.
YOsize - definition in SIZParameters.YOsize.
precinctWidths - definition in CODParameters.precinctWidths.
precinctHeights - definition in CODParameters.precinctHeights.
Returns:
a array list with the unique precinct number which belongs to the WOI.

findRelevantPrecinctsRPC

public static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsRPC(int[] fsiz,
                                                                           int[] roff,
                                                                           int[] rsiz,
                                                                           int[][] comps,
                                                                           int maxComponents,
                                                                           int ySize,
                                                                           int xSize,
                                                                           int XOsize,
                                                                           int YOsize,
                                                                           int[] WTLevels,
                                                                           int[][] precinctWidths,
                                                                           int[][] precinctHeights)
Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz). Further information, see ISO/IEC 15444-9 section K.4.1

Parameters:
fsiz - definition in ViewWindowField.fsiz.
roff - definition in ViewWindowField.roff.
rsiz - definition in ViewWindowField.rsiz.
comps - definition in ViewWindowField.comps.
ySize - definition in SIZParameters.ySize.
xSize - definition in SIZParameters.xSize.
XOsize - definition in SIZParameters.XOsize.
YOsize - definition in SIZParameters.YOsize.
precinctWidths - definition in CODParameters.precinctWidths.
precinctHeights - definition in CODParameters.precinctHeights.
Returns:
a array list with the unique precinct number which belongs to the WOI.

findRelevantPrecinctsPCR

public static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsPCR(int[] fsiz,
                                                                           int[] roff,
                                                                           int[] rsiz,
                                                                           int[][] comps,
                                                                           int maxComponents,
                                                                           int ySize,
                                                                           int xSize,
                                                                           int XOsize,
                                                                           int YOsize,
                                                                           int[] WTLevels,
                                                                           int[][] precinctWidths,
                                                                           int[][] precinctHeights)
Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz). Further information, see ISO/IEC 15444-9 section K.4.1

Parameters:
fsiz - definition in ViewWindowField.fsiz.
roff - definition in ViewWindowField.roff.
rsiz - definition in ViewWindowField.rsiz.
comps - definition in ViewWindowField.comps.
ySize - definition in SIZParameters.ySize.
xSize - definition in SIZParameters.xSize.
XOsize - definition in SIZParameters.XOsize.
YOsize - definition in SIZParameters.YOsize.
precinctWidths - definition in CODParameters.precinctWidths.
precinctHeights - definition in CODParameters.precinctHeights.
Returns:
a array list with the unique precinct number which belongs to the WOI.

findRelevantPrecinctsCPR

public static java.util.ArrayList<java.lang.Long> findRelevantPrecinctsCPR(int[] fsiz,
                                                                           int[] roff,
                                                                           int[] rsiz,
                                                                           int[][] comps,
                                                                           int maxComponents,
                                                                           int ySize,
                                                                           int xSize,
                                                                           int XOsize,
                                                                           int YOsize,
                                                                           int[] WTLevels,
                                                                           int[][] precinctWidths,
                                                                           int[][] precinctHeights)
Calculates which are the relevants precincts which belong to the WOI (fsiz, roff, rsiz). Further information, see ISO/IEC 15444-9 section K.4.1

Parameters:
fsiz - definition in ViewWindowField.fsiz.
roff - definition in ViewWindowField.roff.
rsiz - definition in ViewWindowField.rsiz.
comps - definition in ViewWindowField.comps.
ySize - definition in SIZParameters.ySize.
xSize - definition in SIZParameters.xSize.
XOsize - definition in SIZParameters.XOsize.
YOsize - definition in SIZParameters.YOsize.
precinctWidths - definition in CODParameters.precinctWidths.
precinctHeights - definition in CODParameters.precinctHeights.
Returns:
a array list with the unique precinct number which belongs to the WOI.


CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Group on Interactive Coding of Images (GICI) (contact)