public ArrayList<ConnectedComponent> findTrajectory()
    {
        ArrayList<ConnectedComponent> traj = new ArrayList<ConnectedComponent>();
        
        boolean searched[][] = new boolean[_height][_width];
        for (int x = 50; x < _width - 50; x++)
        for (int y = _groundLevel - 1; y > _height * 0.1; y--)
        {
            int cls = _class[y][x];
            if (!searched[y][x] && cls == TRAJECTORY)
            {
                ConnectedComponent cc;
                cc = new ConnectedComponent(_class, x, y, searched, false);
                    
                if (cc.getArea() >= MIN_SIZE[TRAJECTORY] && cc.getArea() <= MAX_SIZE[TRAJECTORY])
                    traj.add(cc);
            }  
        }
        return traj;
    }