AI Crop & Straighten
Straightening and Padding
3 min
straightening straightening in ai crop can be set based on a variety of material attributes best fit the smallest rectangle that will fit the entire object is used this is the default mode because it is most robust to unusually shaped material gutter angle \[only available in 1 up and 2+ up modes] for material with facing pages the gutter is defined by the average of the two inside edges (e g the right side of the left page and the left side of the right page) when this method fails – for example, if only one page is found – then best fit is used text lines the inside 80% of each page is analyzed (10% from each edge is ignored), and the average angle of any text found is used for straightening note that this only snaps it to the closest 90º angle, not to horizontal, so as it remain at the same orientation for pages that have vertical text such as japanese kanji also note that this is not performing ocr or character level recognition so is safe for personally identifying information purposes and is not language dependent, but does require at least three lines of clear text that have similar angles when this method fails best fit is used top/left/right/bottom a single side of the material is used as the reference the "prevailing edge" of that side is used (defined by the median angle of the center 80% of the side) all edges an average of top/left/right/bottom prevailing edges none straightening is not adjusted at all this may be appropriate for situations where you are very confident in the angle at which the material was placed, and are concerned automatic straightening will degrade the precision of that angle padding positive or negative padding can be added to the image on a per side basis positive padding adds a buffer around the edges of the object negative padding helps to eliminate the edges of the object; for example, if you want to crop into the page content of a book for ocr rather than showing the page edges when two or more facing pages are detected and cropped separately, the gutter padding can be handled separately from than the other edges if you check the gutter padding box the values below will override the relevant edge, but only on page split material "gutter" is defined by the edge closest to the facing page, whether left right (e g a standard book with a left and right page) or top bottom (e g a calendar with a horizontal gutter and top and bottom page) padding linked/unliked the link icon can be enabled or disabled when enabled a single padding value is used for all sides, including gutter when applicable there is no difference to using the link icon, or disabling it but manually entering the same value for all fields; it is simply for convenience padding units padding can be set as pixels (px) this is always defined by absolute pixels at the original image level it is not affected by process recipe % side (c1 guides) the padding is set such that the padding ends up as % of the final crop this mirrors the behavior of the guides system in capture one enterprise and capture one studio and capture one ch % diagonal this is similar to % side (c1 guides) but ensures the padding is the same on all four sides because it is based on the diagonal and not per side it will not match the guides tool in c1 note about c1 crop readouts capture one's crop tool reads out in units based on the setting of crop and the selected process recipe; for example if you have a process recipe set to export images with 2000px on the long side then in c1 the crop will always be labeled with 2000px on the long side