MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Tips_and_Tricks",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "64": {
                "pageid": 64,
                "ns": 0,
                "title": "Support",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "There are different options for getting support and help on MiToBo and its operators.\n\n===== Forum on forum.image.sc =====\n[[File:forum-image-sc.png|84px|border|left|link=https://forum.image.sc/]]\nTo get help on your questions about MiToBo tools, plugins and operators the preferred way is to use the forum at [https://forum.image.sc/ image.sc] tagging your post with [https://forum.image.sc/tags/mitobo #mitobo].<br>\n\n<br>\n===== Email =====\n[[file:Email.png|left|36px|link=]]\nTo get in touch with the MiToBo team you can also send us an email: [mailto:mitobo@informatik.uni-halle.de mitobo@informatik.uni-halle.de]<br>\n\n<br>\n===== Github Issues and Pull Requests =====\n[[file:GitHub-Mark-64px.png|36px|left|link=https://github.com/mitobo-hub]]\n\nMiToBo is located on Github: [https://github.com/mitobo-hub/mitobo https://github.com/mitobo-hub/mitobo]<br>\nYou can file issues and pull requests on Github to get in touch with us.<br>\n\nMore details about how to do this can be found in the Github documentation:\n* [https://help.github.com/articles/creating-an-issue/ Creating issues]\n* [https://help.github.com/articles/creating-a-pull-request/ Creating a pull request]"
                    }
                ]
            },
            "94": {
                "pageid": 94,
                "ns": 0,
                "title": "Tips/Labeling",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "__FORCETOC__\n\n= Manual annotation and labeling of cell contours =\n\nSome MiToBo operators like [[Applications/PaCeQuant|PaCeQuant]], [[Applications/ActinAnalyzer2D| ActinAnalyzer2D]] or [[Applications/CytoskeletonAnalyzer2D|CytoskeletonAnalyzer2D]] analyze individual cells in microscope images.<br> Thus, they require information about the cell regions and cell boundaries, respectively, of individual cells.<br> PaCeQuant includes algorithms for automatic cell segmentation, and operators like the CellBoundaryExtractor2D might be used for extracting cell boundaries.<br> However, if automatic segmentation does not work properly and manual post-processing is not an option, cell segmentation can also be performed completely manually. \n\nOn this page you will find information about manually post-processing segmentation results as well as suggestions how to best perform manual segmentation.\n\n== Formats of cell contour data in MiToBo ==\n\nMost operators in MiToBo accept cell contour information in one of the following formats:\n\n* label image: an image where the background is black and each cell (or more general: foreground object) is marked with a unique gray value\n* [https://imagej.nih.gov/ij/docs/guide/146-10.html#sec:Selections-Intro ImageJ ROIs]: contour/region data in ImageJ ROI format\n\nNote that some operators also accept binary masks. Refer to the documentation of the specific operator for details.\n\nContours can also be represented by line drawings, i.e., images with white (or black) background where the contours are marked as 1-pixel wide lines in black (or white).<br> Such images can easily be converted into a label image using the <i>MiToBo Runner</i> to be found in ImageJ/Fiji via\n\n  Plugins -> MiToBo -> MiToBo Runner\n\nThen select in the package\n\n de - unihalle - informatik - MiToBo - segmentation - regions - labeling\n\nthe operator <i>LabelComponentsSequential</i>. To use the operator make sure that your contours have black color on a white background. <br>\nIf this is not the case, invert the image using the ImageJ/Fiji function \n\n  Edit -> Invert\n\nThe outcome of the operator will be a label image which is accepted as input for most MiToBo operators requiring contour or region information.\n\n== Manual labeling in ImageJ/Fiji ==\n\nTo manually label the cells in an image in ImageJ/Fiji you can proceed as follows:\n\nUse the freehand tool to surround a cell in the image. <br>\nWhen done, press \"t\" to add the contour to the [https://imagej.nih.gov/ij/docs/guide/146-30.html#sub:ROI-Manager... ROI manager].<br>\nRepeat the same for all other cells in the image.\n\nIf ImageJ ROIs are sufficient for your task, simply save the set of contours to file by selecting from the ROI manager \n\n  \"More >>\" -> \"Save...\"\n\nand save the ROIs to a file of your choice.\n\nFor generating a label image, first set the ImageJ foreground color to black via\n\n Edit -> Options -> Color...\n\nThen select the complete image via\n\n Edit -> Selection -> Select All\n\nAfterwards select\n\n Edit -> Fill\n\nThis will fill your complete image in black.\n\nNow change the foreground color to white and select a cell region from\nthe ROI manager. Its contour is shown in the image. Right-click inside\nthe contour and select \"Fill\". This will make the cell region white.\n\nProceed with all cell regions from the ROI manager that way.\n\nYou should now have a black-white mask image for your cell image.\n\nTo transform this mask into a label image navigate in ImageJ/Fiji to\n\n Plugins -> MiToBo -> MiToBo Runner\n\nThen select from the tree of available operators\n\n de - unihalle - informatik - MiToBo - segmentation - regions - labeling\n\nthe operator\n\n LabelComponentsSequential\n\nby double-click. This will bring-up a window where you can select your\nbinary mask image as input image. Then press the \"Run\" button. <br>\nThe result will be a label image which you can save to disk, e.g., in TIF format.\n\n== Generating/editing contour images with Gimp and MiToBo ==\n\nIn a contour image just the surroundings of the cells are marked. The background of such an image is usually white and the cell boundaries are given as 1-pixel wide lines in black, or vice versa. <br> To create such a representation of the contours in your image proceed as described below. For details about the different functions of Gimp and how to use them please refer to the documentation of Gimp at https://www.gimp.org/docs/. All operations can also be performed with Photoshop or another graphics tool of your choice.\n\n<br>\nCreate a contour representation for your cell image:\n\n* run Gimp and open the cell image \n\n* add a new transparent layer to your image \n\n* select the pen tool with a size of one pixel (without any smoothing or blurring options)\n\n* use the freehand selection tool to draw the surroundings of your cells to the new layer; once a contour is finished convert it to a path, use the option to trace the path and mark it, e.g., in black; then proceed with the next cell\n\n* when finished delete the layer with your cell image and add a new layer with white background below the contour layer; save the image to disk \n\n<br>\nFor some MiToBo operators a contour image can directly be used as input, but in most cases label images are required. <br>A label image can be generated from your contour image by using the <i>LabelComponentsSequential</i> operator as described on top of this page.\n\nIf you are already given a contour image and you would like to edit the contours proceed as follows:\n\n* open the corresponding cell image in Gimp\n\n* open the contour image as new layer\n\n* add a transparency layer to your image, select the background of your contour image (e.g., with the color selection tool) and remove it from the image pressing 'Ctrl' + 'x';<br> as result you will get an overlay of your cell image with the segmented contours\n\n* you can now either edit the contours directly or invert your selection to extract the contours and convert them to a path on which changes can be performed\n\n* when done, remove the cell image layer, add a new white background layer to your image, and save it to disk"
                    }
                ]
            }
        }
    }
}