Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6916933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:39:59+00:00 2026-05-27T09:39:59+00:00

I am using python to work on my project in image processing. Suppose I

  • 0

I am using python to work on my project in image processing. Suppose I got a very large image ( 100000 x 100000), and I need to randomly select a 200 x 200 square from this large image. Are there any easy way to do this job? Please share some light with me. Thank you

—————————– EDIT ————————————

Sorry I don’t think it is 100000 x 100000, but the resolution of images are in 1 km and 2km. I am having trouble with selecting the area of 200 x 200.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:39:59+00:00Added an answer on May 27, 2026 at 9:39 am

    If you convert to binary PPM format, then there should be an easy way to seek to the appropriate offsets – it’s not compressed, so there should be simple relationships.

    So pick two random numbers between 0 and 100000-200-1, and go to town.

    (I’m assuming you don’t have a system with 10’s of gigabytes of RAM)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using python 2.4 and the built-in ZipFile library, I cannot read very large zip
I need to make some Python applications for a work project. The target platform
I'd like to parse a simple, small XML file using python however work on
I have been trying to make a case for using Python at my work.
Possible Duplicate: Converting XML to JSON using Python? I'm doing some work on App
I'm working on a project that involves uploading an image to tumblr from Python.
I have a project idea, but unsure if using Python would be a good
There is a Python project created by using Vim and Coda which doesn't include
In a project I work on we use a Python C module compiled from
I am starting a web project in Python, most likely using Django or Pyramid.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.