Hi EveryOne,
Does some one knows a way or tool that knows how to divide image into
regions with c# so if the image is like a table style i will now the
positions of the columns?
i can read the pixlels colors but it will be very slow.
thanks 3 3365
Ruby,
Can you be a little more specific with what you are trying to do? What
do you mean if the image is like a "table style"? Are you trying to place
pieces of an image into a table?
What is the end result of what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Ruby Nadler" <Ru********@dis cussions.micros oft.comwrote in message
news:48******** *************** ***********@mic rosoft.com...
Hi EveryOne,
Does some one knows a way or tool that knows how to divide image into
regions with c# so if the image is like a table style i will now the
positions of the columns?
i can read the pixlels colors but it will be very slow.
thanks
Hi Nicholas,
what i am trying to do is cut b&w image (like newspaper page) into columns
and rows according to its layout.
any idea?
thanks.
"Nicholas Paldino [.NET/C# MVP]" wrote:
Ruby,
Can you be a little more specific with what you are trying to do? What
do you mean if the image is like a "table style"? Are you trying to place
pieces of an image into a table?
What is the end result of what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Ruby Nadler" <Ru********@dis cussions.micros oft.comwrote in message
news:48******** *************** ***********@mic rosoft.com...
Hi EveryOne,
Does some one knows a way or tool that knows how to divide image into
regions with c# so if the image is like a table style i will now the
positions of the columns?
i can read the pixlels colors but it will be very slow.
thanks
On Nov 27, 5:44 am, Ruby Nadler <RubyNad...@dis cussions.micros oft.com>
wrote:
Hi Nicholas,
what i am trying to do is cut b&w image (like newspaper page) into columns
and rows according to its layout.
any idea?
thanks.
AFAIK, you can manipulate images efficiently by using unsafe code
regions and pointer arithmetics. There is a simple example in C# 3.0
in a Nutshell which I remember:
unsafe void RedFilter(int[,] bitmap)
{
int length = bitmap.Length;
fixed (int* b= bitmap)
{
int* p = b;
for(int i = 0; i < length; i++)
*p++ &= 0xFF;
}
}
This kind of iteration over a bitmap avoids runtime index checking and
runtime type checking as you would have by accessing the bitmap via
[x,y]
hth,
-- Henon
my site: http://www.eqqon.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: delong |
last post by:
Hi
I am trying to display a large image on the form and make the form
scrollable.
My image is about 4200 x 7000 pixel.
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs
e)
{
Graphics g=e.Graphics;
|
by: Dan |
last post by:
I must develop a (C-sharp) winforms application which should display some
relatively large (e.g. 2~5 MB JPEG each) photographic images together with a
rich set of related information: the application should allow the user to
view each image with the 'standard' set of view features such as zooming
in/out, panning, scrolling, etc. (of course...
|
by: yxq |
last post by:
Hello
The icons with the alpha channel are supported in WindowsXP. If use the
System.Drawing.Bitmap.ToBitmap on the icon handle(ico.ToBitmap), the alpha
channel won't be preserved, resulting in an ugly black border where the
alpha area. But if the icons with the alpha channel must be show in a
picuturebox, how to do?
Picturebox1.Image=???
...
|
by: M West |
last post by:
continuation of my previous post, thanks to all those that contributed with
answers
I am creating a control that will take an image and make parts of it
transparent, this is done by creating and then applying a region to the
control. The control inherits from picturebox and works fine when loading
the image into the control, the problem...
|
by: SStory |
last post by:
I am trying very hard to take an image and fill a shape with part of it.
The way I do it is get a rectangle for the basic shape,
add to a region, make some other shapes and exclude form region.
make a texture brush, then fill region with the brush.
It works on three parts of what I am doing but on the third time it seems to
be tiling the...
| |
by: Mark Denardo |
last post by:
Hi, I need some expert GDI+ person to help me with my RoundOffImage
Function:
What I'm trying to do is take in an image, crop off the edges around an
ellipse region I set up, and then return the cropped image from the
function. I sort of have this working, but not thoroughly.
If I take the output image of this function and draw it on my...
|
by: JenavaS |
last post by:
Hi all,
I have a query:
SELECT Data.Region, Data.Dept, Data.Year, Data.Month, Data.Week, Data.Elapsed, Data. AS WpComp, Data. AS CpComp, IIf(=53 And ="JAN,WK4",/2,) AS AdjLyComp, round((-IIf(=53 And ="JAN,WK4",/2,))/IIf(=53 And ="JAN,WK4",/2,),6) AS WpVarLy, round((-IIf(=53 And ="JAN,WK4",/2,))/IIf(=53 And ="JAN,WK4",/2,),6) AS CpVarLy
FROM...
|
by: _kOws |
last post by:
Hi,
I'm writing a program that loads an image and then apply JPEG
algorithm on it.
I need to apply such algorithm only to a quarter of the image, possibly
selecting which quarter.
I don't really know how to divide in quarter an image in Java: I think
that if I can divide the image in 4 images then I can use each image
as a quarter, and...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |