% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{get_proportion}
\alias{get_proportion}
\title{Dynamically determine row and column proportions}
\usage{
get_proportion(size, target_min = 200, target_max = 400)
}
\arguments{
\item{size}{Row or column length}

\item{target_min}{Minimum sub-image size; default is 200}

\item{target_max}{Maximum sub-image size; default is 400}
}
\value{
Fraction that image section should take up of dimension; if no suitable fraction is determined, 1/4 is selected by default
}
\description{
Decides how many sections the original image should be split into before processing.
A target sub-image size can be specified, and this function will return how many divisions should be
made in one dimension.
}
