Skip to content

Commit

Permalink
package for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Fafa87 committed Apr 2, 2017
1 parent d943585 commit 374b90a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion utils/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
from cellstar.core.image_repo import ImageRepo
from cellstar.parameter_fitting.pf_snake import *
from cellstar.segmentation import Segmentation
from cellstar.tests.experiments import *
from cellstar.utils.debug_util import draw_snakes_on_axes, draw_seeds_on_axes
from cellstar.utils.image_util import load_image

from experiments import *


class Explorer:
cell_star_smoothing = Snake.smooth_contour
Expand Down
4 changes: 2 additions & 2 deletions utils/test_param_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import cellstar.utils.debug_util as debug_util
from cellstar.segmentation import Segmentation

import cellstar.tests.test_contour_pf as test_pf
from cellstar.tests.test_rank_pf import test_rank_pf
import test_contour_pf as test_pf
from test_rank_pf import test_rank_pf

logger = logging.getLogger(__name__)

Expand Down
5 changes: 3 additions & 2 deletions utils/test_rank_pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
import numpy as np

import cellstar.parameter_fitting.pf_rank_process as pf_rank
import cellstar.tests.test_contour_pf as test_pf
import cellstar.utils.debug_util as debug_util
from cellstar.segmentation import Segmentation
from cellstar.tests.test_contour_pf import try_load_image, image_to_label, gt_label_to_snakes

import test_contour_pf as test_pf
from test_contour_pf import try_load_image, image_to_label, gt_label_to_snakes


def test_rank_pf(image_path, mask_path, precision, avg_cell_diameter, method, initial_params=None, options=None, callback_progress=None):
Expand Down

0 comments on commit 374b90a

Please sign in to comment.